NFS Server
时间:2009-08-09 来源:creatory
NFS service
1.install nfs server and client component
apt-get install nfs-kernel-server nfs-common
2.modify the configure file
vi /etc/exports
add the following line:
/home/creatory/work *(rw,sync)
3.restart the server
/etc/init.d/nfs-kernel-server restart
4.mount
mount -t nfs 192.168.10.142:/home/creatory/Test work
ls work
5.umount
umount work
6.restrict specified ip to visit:
modify /etc/hosts.deny
portmap:ALL
modify /etc/hosts.allow
portmap:192.168.10.134
~
1.install nfs server and client component
apt-get install nfs-kernel-server nfs-common
2.modify the configure file
vi /etc/exports
add the following line:
/home/creatory/work *(rw,sync)
3.restart the server
/etc/init.d/nfs-kernel-server restart
4.mount
mount -t nfs 192.168.10.142:/home/creatory/Test work
ls work
5.umount
umount work
6.restrict specified ip to visit:
modify /etc/hosts.deny
portmap:ALL
modify /etc/hosts.allow
portmap:192.168.10.134
~
相关阅读 更多 +