设定:
192.168.1.2为client;
192.168.1.3为server;
Server侧:
1. vim /etc/exports
/data/doc 192.168.1.2(ro,secure,anonuid=65534,anongid=65534)
2. service portmap start;
service nfslock start;
service nfs start;
Client侧:
1. service portmap start;
2. mkdir /data/remote_doc
3. mount -t nfs -o soft,intr,bg,timeo=50 192.168.1.3:/data/doc /data/remote_doc
4. vim /etc/fstabs
192.168.1.3:/data/doc /data/remote_doc nfs soft,intr,bg,timeo=50 0 0