NFS搭建

服务器端:

yum -y install nfs* rpcbind

vi /etc/exports

/home/willserver 192.168.1.100(rw,sync,no_root_squash)

service rpcbind restart

service nfs restart

setenforce 0

 

客户端:

mkdir /mnt/testclient

yum -y install nfs*

mount -t nfs 192.168.1.100:/home/testserver /mnt/testclient/

posted @ 2015-06-03 19:52  梁小无拆  阅读(135)  评论(0编辑  收藏  举报