搭建NFS服务器


搭建NFS服务器

一、安装

yum install -y nfs-utils rpcbind

二、启动

service rpcbind start
service nfs start

三、配置文件

echo '/www/temp 192.168.1.*(rw,sync)' > /etc/exports
exportfs -rv

四、客户端挂载

yum -y install nfs-utils
mount -t nfs 192.168.1.10:/www /www