|
|
我的步骤如下:
# service iptables stop
#vi /etc/exports
在该文件中添加:
/home/work 192.168.0.*(rw,sync,no_root_squash)
#vi /etc/hosts.deny
在该文件中添加:
portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL
#vi /etc/hosts.allow
portmap:192.168.0.189 //我的ip
lockd:192.168.0.189
mountd:192.168.0.189
rquotad:192.168.0.189
statd:192.168.0.189
#/etc/init.d/portmap start
#/etc/init.d/nfs start
#mount -t nfs <your-server-ip>:/home/lqm /mnt
回环检测就不行了,显示 mount:RPC: Renote system error -Connection refused |
|