1.安裝NFS 套件
% yum -y install nfs-utils
2.設定指定檔案掛載
% vi /etc/exports
# write like below *note
/home 172.16.0.0/16 (rw,nohide,insecure,no_subtree_check,async,no_root_squash)
3. mount folder
% mount -t nfs 172.16.24.187:/tmp ./nfs/
4. unmount folder
% umount nfs
5. 顯示目前掛載
% showmount --exports 127.0.0.1
Install in detail:
-
http://www.server-world.info/en/note?os=Fedora_17&p=nfs
-
http://linux.vbird.org/linux_server/0330nfs.php
沒有留言:
張貼留言