Open main menu

CDOT Wiki β

Changes

OPS535-lab-nfs

72 bytes added, 15:50, 21 July 2023
m
Protected "OPS535-lab-nfs": OER transfer ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
==Pre-Requisites==
:*The pre-lab must be complete so that your virtual machines share access to a private network.:*Create a new user on each of your virtual machines using your own Seneca login.:*If you don't have the nfs-utils package installed, install it now.
==Investigation 1: NFS Server Setup==
Make sure to double check that the file permissions have been set correctly.</li>
<li>To set the sticky bit on the directory "/nfs-pub" , use the command
<soursesource>chmod +t /nfs-pub</source></li>
<li>Edit your /etc/exports file and insert the following lines:
<source>/nfs-pub ip-of-vm1(rw,root_squash)
/nfs-pub ip-of-vm3(rw,root_squash)</source>
"ip-of-vm1" should be replaced by the actual IP address of vm1 (VM1),and "ip-of-vm3" should be replaced by the actual IP address of vm3 (VM3).</li>
<li>Enter the command