configuring nfs server and mounting it

NFS is one of the secure sharing system in linux. NFS is Network File System. It quite easy to setup, and more simple than samba.

Or just type ALL:localhost

portmap: ALL
lockd: ALL
rquotad: ALL
mountd: ALL
statd: ALL

chmod a+x /etc/rc.d/rc.nfsd
/etc/rc.d/rc.nfsd start

nano /etc/exports

$exportfs -r

$/etc/init.d/nfs-kernel-server start

to check

$exportfs -u

that’s in server

Then in client

Check the dependencies

$apt-get install nfs-common rpcbind
mount /home/me/computer1 -o nolock

That’s it.

Remember type the sudo command for ubuntu and derivative. It means all the command above must do in root privileged.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.