Happy FOSS

Opensource, Technology, Programming & Computer Science

Meaningful mount point names

I renamed mount points from the usual conventions of hda1 hda2 etc.
If one has to make changes about the mount point changes in /etc/fstab file.
To edit this file, one has to be root.

Before, my mount points used to be
/mnt/hda5 for /dev/hda5
/mnt/hda4 for /dev/hda4

Now they are more meaningful like
/mnt/dev for /dev/hda5
/mnt/backup for /dev/hda4

The fstab file looks like below
# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
/dev/hda6 / ext3 errors=remount-ro 0 1
/dev/hda7 /home ext3 defaults 0 2
/dev/hda3 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hda1 /mnt/hda1 ext3 rw 0 0
/dev/hda5 /mnt/dev ext3 rw 0 0
/dev/hda4 /mnt/backup ext3 rw 0 0

Once the editing the file is done. Just execute the following commands to umount and mount the partitions. make sure to save and close all applications before executing the below commands.
sudo /etc/init.d/umountfs stop
sudo /etc/init.d/mountall.sh

December 6, 2009 Posted by | FOSS, Linux | , , , | Leave a comment

Testimonial – ubuntu gave a new life to my friend !

Today evening was a cool ubuntu evening.my friend srini was suffering a lot with windows.The remedy was “ubuntu” lol.He complained to me lot about viruses, spyware etc.His internet explorer itself has been corrupted by …i am not able to say what has happened because the system is black box.

Taught him and another friend on installation procedure.And i did the install because srini was too much pissed off with the operating system going mad and unmanageable ! It was he who urged me to install linux as soon as possible.He was amazed to see so many free softwares !

I wish he acknowledges this by writing a comment lol

March 4, 2008 Posted by | FOSS, Linux | , , , | 1 Comment

How To Setup local repository for linux

Repository server is a best solution when you have a LAN of linux machines and when you dont want to carry your CD/DVD to each machine to install new packages.

So you can assign a repository server containing all the packages to a folder and use FTP to download the packages to your lcoal machine

the following steps are done on the repository server

You need to install FTP server like ProFTP

Create a FTP user account say a user ftpuser

Extract the contents of the CD/DVD to a directory, for Debian Etch they are dists(directory), debian(link pointing to .), pool(directory)

Add the following line to the /etc/apt/sources.list on other machines

deb ftp://ftpuser:password@domain/home/ftpuser/debian etch main  and then

sudo apt-get update

The package will be downloaded on demand from the repo server and installed 🙂

February 8, 2008 Posted by | Linux | , , | Leave a comment