NFS Services on Ubuntu

Written By smart| 15 June 2009| No Comment

Sharing the folders in NFS

first step

admin@smartproteam$ sudo apt-get install nfs-kernel-server

after installation the nfs server check the status

admin@smartproteam$ sudo /etc/init.d/nfs-kernel-server status

if the nfs service is not running,use below command

admin@smartproteam$ sudo /etc/init.d/nfs-kernel-server start

once the nfs server running now you need to edit the /etc/exports file

admin@smartproteam$  sudo vi /etc/exports

if you want to share folder smart,you need add below lines

/home/smart 192.168.1.2 (rw,sync,no_subtree_check)

rw,sync,no_subtree_check this are permission to folder

once you done with above step,you need check this

admin@smartproteam$ sudo exportfs
/home/smart 192.168.1.2 
Related Posts with Thumbnails

Share With Others

Leave your response!




Comment moderation is enabled. Your comment may take some time to appear.