Linux服务器之间的挂载【mount】步骤
//linux之间挂载服务端:1、service rpcbind status2、service nfs status3、vim /etc/exports: 服务端共享目录/home/data 192.168.242.*(rw,sync,no_root_squash)4、关闭防火墙5、service rpcbind start6、service nfs start客...
·
//linux之间挂载
服务端:
1、service rpcbind status
2、service nfs status
3、vim /etc/exports: 服务端共享目录/home/data 192.168.242.*(rw,sync,no_root_squash)
4、关闭防火墙
5、service rpcbind start
6、service nfs start
客户端:
1、service rpcbind start
2、service nfs start
3、mount -t nfs 192.168.242.21[服务端IP]:/srv/www/app/wtcms/webroot/main[服务端挂载路径] /root/testnfs[客户端路径]
4、df -h //查看挂载情况
更多推荐
已为社区贡献1条内容
所有评论(0)