nfs server:
vi /etc/exports
/nfs 192.168.1.1 (rw,no_root_squash) -- no_root_squash具root权限,非必须
exportfs -r
service nfs start
nfs client:
service rpcbind start
service nfslock start-- 非必须
mount -t nfs 192.168.1.1:/nfs /mybak/
vi /etc/exports
/nfs 192.168.1.1 (rw,no_root_squash) -- no_root_squash具root权限,非必须
exportfs -r
service nfs start
nfs client:
service rpcbind start
service nfslock start-- 非必须
mount -t nfs 192.168.1.1:/nfs /mybak/