1) install server and client :
apt-get install nfs-kernel-server nfs-common
2) setup access : на сервере
2) setup access : на сервере
vim /etc/exports
/var/storage/prox 192.168.0.2 (rw,root_squash,all_squash,sync,no_subtree_check)
/var/storage/prox2 192.168.0.3 (rw,root_squash,all_squash,sync,no_subtree_check)
/var/storage/prox 192.168.0.2 (rw,root_squash,all_squash,sync,no_subtree_check)
/var/storage/prox2 192.168.0.3 (rw,root_squash,all_squash,sync,no_subtree_check)
3) restart service : на сервере
/etc/init.d/nfs-kernel-server restart
4) на клиенте
mount 192.168.0.1:/var/storage/prox /var/sounds
/etc/init.d/nfs-kernel-server restart
4) на клиенте
mount 192.168.0.1:/var/storage/prox /var/sounds
Комментариев нет:
Отправить комментарий