-
-
Save improve100/2ffe5aef892d72b1eff2f9c14d9a996a to your computer and use it in GitHub Desktop.
nfs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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