Open main menu

CDOT Wiki β

Changes

OPS335: File Servers

24 bytes removed, 12:31, 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'''
#The '''/etc/exports''' file allows you to restrict the access to servers to access files for security purposes. Edit '''/etc/exports''' file, and replace all contents of the file with the 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>
#You will have to adjust your firewall settings on your VM2 machine to allow NFS to work.<br>Run the '''netstat''' command in order to determine the ports needed and issue the appropriate ''iptables'' command(s).
13,420
edits