nfs挂载的客户端操作

客户端:

nfs client端安装和配置

(1)安装nfsclient

sudo apt-get install nfs-common

(2)查看nfs server上共享的目录

#sudomount -t nfs 192.168.0.149: /home/daysmark/nfsdir /mnt

192.168.0.149为服务器端IP地址,这样就把服务器的共享目录挂到了/mnt目录

取消挂载用这个指令:
#sudo umount /mnt

猜你喜欢

转载自blog.csdn.net/weixin_39608351/article/details/81458226
今日推荐