Open main menu

CDOT Wiki β

Changes

OPS335 NFS Lab

40 bytes removed, 17:33, 10 March 2012
Part B: Setting up the NFS Server on the Host
===Part B: Setting up the NFS Server on the Host===
*On your Fedora host machine edit /etc/exports so that it contains ONLY the following line (where 192.168.122.yyy is the IP address of your guest VM):
/home 192.168.x.4(rw,root_squash,insecure)#Start your nfs server with the command 'systemctl start nfs'. NOTE: You'll have to adjust your firewall on the host to get NFS to work, so do this before you go on . Run netstat to determine the next stepports needed.#Start up vm01 vm03 and login as joker and run and record the output of the 'df -Th' commandusing your learnid.
#Back on your host PC run and record the output of the 'exportfs' and 'showmount -e' commands.
#As joker on vm01On vm03, create an empty file using the touch command:
touch empty_file
Now shutdown vm01vm03.
*Back on your host PC, as joker, run and record the output of the 'ls -l' command. *Shutdown the nfs server with the command "systemctl stop nfs-server.service nfs stop".
===Part C: Setting up Automount on the VM===
1
edit