1. nfs server的安裝與設置
(1) 安裝nfs server
- sudo apt-get install nfs-kernel-server nfs-common
- sudo service nfs-kernel-server restart
- sudo gedit /etc/exports
/home/deng/socket *(rw,no_root_squash,sync)
2. nfs client安裝與配置
(1) 安裝nfs client
(2) 查看nfs server上共享的目錄
- sudo apt-get install nfs-common
- showmount -e 192.168.xx.xx
- mkdir socket
- mount -t nfs 192.168.xx.xx:/home/deng/socket /home/deng/socket
192.168.xx.xx:/home/deng/socket nfs defaults 0 0
沒有留言:
張貼留言