NFS - UNIX系システムで利用されるファイル共有システムのインストール †・サーバ(公開)側 # /etc/exports を編集 /home/share 192.168.0.0/255.255.255.0(no_root_squash,rw) # /etc/hosts.allow を編集 portmap : 192.168.0.0/255.255.255.0 # portmapを 起動(NFSはportmapを使用してファイル共有するらしい) /etc/init.d/portmap start # nfsを 起動 /etc/init.d/nfs start # exportされている内容を確認 showmount -e ・クライアント側 # exportされている内容の確認 showmount -e 192.168.0.xx # portmapを 起動 /etc/init.d/portmap start # nfslock を 起動 /etc/init.d/nfslock start # マウント用ディレクトリを作成 mkdir /mnt/system # マウント mount -t nfs 192.168.0.xx:/tmp /mnt/pc1 mount -t nfs 192.168.0.xx:/home/foo /mnt/pc1 mount -t nfs 192.168.100.xx:/usr/local/src /mnt/pc2 |