Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. sudo yum install -y nfs-utils libnfsidmap
  4.  
  5. # Enable the nfs client service
  6. systemctl enable rpcbind
  7. systemctl start rpcbind
  8.  
  9. mkdir /data
  10.  
  11. #nfs server mount
  12. echo "10.1.10.110:/data /data nfs rw,sync,hard,intr 0 0" >> /etc/fstab
  13.  
  14. reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement