Skip to content

Instantly share code, notes, and snippets.

@improve100
Created August 1, 2018 09:57
Show Gist options
  • Save improve100/2ffe5aef892d72b1eff2f9c14d9a996a to your computer and use it in GitHub Desktop.
Save improve100/2ffe5aef892d72b1eff2f9c14d9a996a to your computer and use it in GitHub Desktop.
nfs
1.sudo apt-get install nfs-common(mount 执行者)
2.sudo apt-get install nfs-kernel-server (被mount)
3.(被mount) sudo vim /etc/exports /home/vk *(rw,sync,no_root_squash,no_subtree_check)
4.sudo /etc/init.d/rpcbind restart sudo /etc/init.d/nfs-kernel-server restart
5.showmount -e
6.mount -t nfs 192.168.1.203:/root/nfs /mnt/nfs -o nolock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment