2023拉

Linux文件共享NFS

上一篇 / 下一篇  2014-08-02 23:10:16 / 个人分类:Linux杂谈

1、主服务器vi /etc/export
  vi /etc/exports
   /opt/mf *(rw,no_root_squash)
service nfs restart
查看共享showmount -e 127.0.0.1
 
2、客户端
 mount -t nfs -o nolock **.**.**.**:/opt/mf /opt/mf
**是主服务器的ip
service nfs restart
 
3主服务器与客户端开机自动启动
sudo chkconfig --list | grep nfs
sudo chkconfig --add nfs
sudo chkconfig nfs on

TAG:

 

评分:0

我来说两句

Open Toolbar