Thursday, December 15, 2011

NFS setup in Fedora16

To Setup nfs Network File System (NFS) follow the following steps.

Need to edit file like below

#vi /etc/exports

/home/ramank *(rw,sync)


Save the file.

Or you can perform above step by system-config-nfs (gui)

[root@raman ~]# yum install system-config-nfs.noarch

Running Transaction
Installing : system-config-nfs-1.3.51-2.fc15.noarch 1/1

Installed:
system-config-nfs.noarch 0:1.3.51-2.fc15



Now here is catch in fedora 16.

Service name changed in fedora 16.

1st enable the service and then start like below.


[root@raman systemd]# systemctl enable nfs-server.service
ln -s '/lib/systemd/system/nfs-server.service' '/etc/systemd/system/multi-user.target.wants/nfs-server.service'


[root@raman systemd]# systemctl start nfs-server.service



[root@raman ~]# showmount -e 10.131.11.199
Export list for 10.131.11.199:
/home/ramank *



enjoy with your NFS.


Raman

0 comments: