0
NFS commands
Posted by cemetery on Apr 22, 2010 in Others
1. For server:
rpm -qx nfs*
chkconfig nfs on
mkdir /username
vi /etc/exports
/username * (rw,sync)
server 192.168.1.1 -> * = 192.168.1.0/255.255.255.0
service nfs restart
/etc/init.d/nfs restart
showmount – e ip address
(need stop iptables if it blocks traffic)
2. For client
mkdir /shared
mount -t nfs server ip:/username /shared
cd /shared
ls (to check)
———-
My Status: Planning for the Future...