Changes

Jump to: navigation, search

OPS335 NFS Lab

344 bytes added, 10:21, 23 February 2016
no edit summary
#Make certain that all of your VMs are running.
#Switch to your '''VM2''' machine.
#Although nsf is the NFS application was already installed on your VM when you installed it, we will install additional utilities for nsf. Issue NFS by issuing the following command:<br>'''yum install nfs-utils'''#The '''/etc/exports''' file allows you to restrict the access to servers to access files for security purposes. Edit the '''/etc/exports''' file, and replace all contents of add the following line to the file with the following:<br>'''/home 192.168.x.4(rw,root_squash,insecure)'''#Start enable What does the IPADDR 192.168.x.4 represent? Record your answer in your lab logbook.#Issue the following command (in order of appearance) in order to start your NFS server:<br>systemctl start rpcbind<br>systemctl start nfs service (now known as <br><br>#Use the '''nfs-server.servicesystemctl''')command to enable both the rpcbind and nfs services upon VM startup.#Build Issue the following command in order to add (or "build") the server's list of permitted exports: <br>'''exportfs -r'''#Run and record the output of the following commandsin your lab logbook:<br>'''exportfs'''<br>'''showmount -e'''#You will have to adjust your firewall settings on your VM2 machine to allow NFS to work.<br>Run (Tip: run the '''netstat''' command in order to determine the ports needed and issue the appropriate ''iptables'' command(sor commands).
===Setting up &amp; Testing the NFS Client (VM3)===
13,420
edits

Navigation menu