首页 > 其他 > 详细

NFS安装1.0版本

时间:2018-05-30 18:07:32      阅读:195      评论:0      收藏:0      [点我收藏+]
服务端
yum install nfs-utils rpcbind -y
#####rpm -qa nfs-utils rpcbind
#####id nfsnobody
/etc/init.d/rpcbind start
#####/etc/init.d/rpcbind status
netstat -tnulp|grep rpc
#####rpcinfo -p localhost
/etc/init.d/nfs start
#####/etc/init.d/nfs status
#####rpcinfo -p localhost
#####ps -ef |grep nfs
#####ps -ef |grep rpc
chkconfig nfs on
#####chkconfig --list nfs
chkconfig rpcbind on
#####chkconfig --list rpcbind
vim /etc/exports
/www 192.168.182.0/24(rw,sync)
cd /
mkdir www
touch /www/1.txt
chown -R nfsnobody.nfsnobody /www/
exportfs -rv
mount -t nfs 192.168.182.129:/www /mnt
df -h

客户端
yum install nfs-utils rpcbind -y
/etc/init.d/rpcbind start
chkconfig rpcbind on
service iptables stop
mount -t nfs 192.168.182.129:/www /mnt
df -h

NFS安装1.0版本

原文:http://blog.51cto.com/zuoshou/2122137

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!