If you want to use NFS, you can set the 'shares' up in the /etc/exports file. Here's an example share in /etc/exports....
/home/chris some.host.com(rw)
Here's how you would mount the above share from the other Linux computer...
mount –t nfs linux01:/home/chris /mnt/nfs
linux01 is the NFS Servers hostname. Make sure to restart the NFS server whenever you make changes to the /etc/exports file...
/sbin/service nfs restart
If you want to always mount this share when your server boots, add it to the /etc/fstab file...
linux01:/home/chris /mnt/nfs nfs hard,intr 0 0
ChrisP If someone resolves an issue for you, or was helpful, please click the link on the bottom left hand corner of their post to give them a "star" letting them know they helped you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.