Centos搭建NFS实现文件共享
一、服务端配置1.安装NFSyum -y install nfs-utils portmap2.创建共享目录mkdir /usr/local/share3.修改配置文件/etc/exportsvi /etc/exports增加一行:/usr/local/share 192.168.186.*(insecure,rw,async,no_root_squash)ro:设置输出的共享目录只读,与rw不能
一、服务端配置1.安装NFSyum -y install nfs-utils portmap2.创建共享目录mkdir /usr/local/share3.修改配置文件/etc/exportsvi /etc/exports增加一行:/usr/local/share 192.168.186.*(insecure,rw,async,no_root_squash)ro:设置输出的共享目录只读,与rw不能