Skip to content

Instantly share code, notes, and snippets.

@punkdata
Last active March 29, 2017 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save punkdata/9ad8d5acf804943f4e873ef110dc8b84 to your computer and use it in GitHub Desktop.
Save punkdata/9ad8d5acf804943f4e873ef110dc8b84 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo yum install -y nfs-utils libnfsidmap
# Enable the nfs client service
systemctl enable rpcbind
systemctl start rpcbind
mkdir /data
#nfs server mount
echo "10.1.10.110:/data /data nfs rw,sync,hard,intr 0 0" >> /etc/fstab
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment