NFS Client

NFS Client

文章super » 2010年 2月 7日, 21:03

基本安裝

yum -y install nfs-utils

vi /etc/idmapd.conf # line 5: uncomment and change to your domain name

Domain = localhost.domain.kh.edu.tw

/etc/rc.d/init.d/rpcbind start

/etc/rc.d/init.d/rpcidmapd start

/etc/rc.d/init.d/nfslock start

/etc/rc.d/init.d/netfs start

預設開機使用

chkconfig rpcbind on

chkconfig rpcidmapd on

chkconfig nfslock on

chkconfig netfs on

/etc/fstab

代碼: 選擇全部
192.168.1.2:/mnt/DISKs/NFS/home/   /home  nfs  defaults  0  0
192.168.1.2:/mnt/DISKs/TFTP/  /mnt/nas1  nfs  defaults  0  0


vi /etc/rc.local

代碼: 選擇全部
mount -a
super
系統管理員
 
文章: 2226
註冊時間: 2008年 8月 15日, 07:39

回到 Linux 筆記



cron