|
1、允许客户端映射配置 /etc/export 修改: /usr/local/pdf_file 192.168.4.41(ro,sync) /usr/local/pdf_file 192.168.4.150(ro,sync)
2、允许映射服务 /etc/init.d/nfs start
3、查看映射服务 showmount -e 192.168.4.21
4、允许映射服务,加入自启动 vi /etc/rc.local 加入 /etc/init.d/nfs start 命令
5、linux映射目录 mount -t nfs 192.168.4.21:/usr/local/pdf_file /usr/local/pdf_file
6、mount命令加入自启动 vi /etc/rc.local 加入 mount -t nfs 192.168.4.21:/usr/local/pdf_file /usr/local/pdf_file
7、查看mount是否成功 showmount -e nfs server IP
|
一共有 0 条评论