Changes

Jump to: navigation, search

OPS335: File Servers

129 bytes added, 12:13, 21 February 2016
no edit summary
#Switch to your '''VM2''' machine.
#Although nsf is already on your VM when you installed it, we will install additional utilities for nsf. Issue the following command:<br>'''yum install nfs-utils'''
*edit The '''/etc/exports so that it contains ONLY ''' file allows you to restrict the following line (where 192access to servers to access files for security purposes.168.x.4 is Edit '''/etc/exports''' file, and replace all contents of the file with the IP address of your guest VM)following: <br>'''/home 192.168.x.4(rw,root_squash,insecure)'''<br><br> *#Start enable your nfs service (now known as nfs-server.service).*#Build the server's list of exports : <br>'''exportfs -r'''<br><br>*Run and record the output of the following commands: <br>exportfs <br>showmount -e <br><br>NOTE: You'll have to adjust your firewall on VM2 to get NFS to work. Run netstat to determine the ports needed.<br><br> #Read about NFS security [http://tldp.org/HOWTO/NFS-HOWTO/security.html here].
===Setting up the NFS Client===
13,420
edits

Navigation menu