Wednesday, April 21, 2010

Linux Stuff

Pasting some common things that I need when setting up my Linux environment (Ubuntu 9.04/10.04).

a. Setting up fstab to auto-mount at startup

   1: # mount partitions 
   2: /dev/sda1 /media/windows        ntfs-3g    defaults 0 0 
   3: /dev/sdb1 /media/common-ntfs    ntfs-3g    defaults 0 0 
   4: /dev/sdb2 /media/common-ext     ext3       defaults 0 0 
   5: /dev/sdc1 /media/multimedia     ntfs-3g    defaults 0 0 

b. Setting up samba shares

   1: sudo apt-get install system-config-samba 

This is by far the easiest way to setup a samba share.

c. Setting up the nfs share

   1: sudo apt-get install nfs-kernel-server 

... and on the client

   1: sudo apt-get install nfs-common

No comments: