Changes

Jump to: navigation, search

NAD710 Lab 6

100 bytes added, 17:22, 3 November 2008
NFS Server Setup
* Create a directory called "/nfs-pub" and set the read/write/list premission for all (chmod 777).
* Set the sticky bit on the directory "/nfs-pub" (chmod +t /nfs-pub).
* Modify the /etc/exports file and add the following line to it, but replace the place holder "ip-of-host" with your HOST's actual IP address.(IP of the Host Computer to which you want to allow access your directory .i.e NFS share directory).
/nfs-pub ip-of-host(rw,root_squash)
* Run the command "exportfs -a" to tell your NFS server to re-read the configuration file (/etc/exports) and take appropriate actions, i.e. share the directory "/nfs-pub" to the machine specified.
1
edit

Navigation menu