It was really a nice experience going to MES College Of Engineering, Kuttippuram last week to attend Debian Mini Conf 2011. Met friends, made new friendships and learned many new things from there. Thanks to Jishnu ettan, for giving me a 50GB Debian repo that contains all the packages of squeeze of both i686 and amd64 architectures. Today, I will explain how to set up a Debian repo (squeeze) so that it be can shared over LAN.
First, run terminal and switch to root user.
If you have the repo as an ISO image file, we need to mount it to a directory. The following command does that:
#mount <path-to-iso> <path-to-mount> -o loop
Edit /etc/apt/source.lst and add the repo we mounted. Append the following line to the file:
deb file:///<mounted-path> squeeze main
Update the package list:
We are going to share the files using http, hence we need a webserver. To install apache:
#apt-get install apache2
Make a symbolic link of <mounted-path> in /var/www
#ln -s /var/www/repo <mounted-path>
Done! Now add this machine as a repository in other Debian systems in LAN, edit /etc/apt/source.lst to:
deb http://<ip-of-server>/repo squeeze main
The same can be done using a FTP server. All you have to do is to make the symbolic link in FTP’s configured path and use ftp:// instead of http:// in /etc/apt/source.lst. Thank you
Some of my friends always complain that they are not able download packages due to Internet availability issues or usage limit. Most of them are using different Ubuntu versions, hence I cannot use APTonCD to download the packages for them. Here’s a small solution for this, Thanks to ilug-tvm and Rajeesh ettan.
Step 1: Get the download URLs in a file :
Execute the following command replacing
package-names with required ones, separating by a space.
$apt-get -y install --print-uris package-name | cut -d\' -f2 | grep http:// > apturls
Step 2: Copy this file (apturls) to a machine which has high-speed Internet access, and execute the following command to download the packages:
$wget -i path-to-apturls-file
Step 3: Now get those downloaded packages to your machine, and install them using :
$sudo dpkg -i *.deb
Thank you, Good Luck
Though the Sabayon 4 DVD release comes with SCIM , it’s not possible read Malayalam or write using swanalekha by the usual methods. Let’s see how to do it.
Type in terminal:
#cp AnjaliOldLipi.ttf /user/share/fonts/
Now you can read Malayalam , To type using swanalekha, do the following :
#tar -xvf install-swanalekha.tar.gz
It’s done, Right click the text box, select “SCIM input method” and start typing !!
Unfortunately this is not working in firefox. Please inform me if there is any mistake or bug. Thanks to SMC