深度講述剖析Fedora Nfs系統(tǒng)啟動(dòng)
在向大家詳細(xì)介紹Fedora Nfs之前,首先讓大家了解下Linux系統(tǒng),然后全面介紹Fedora Nfs,希望對(duì)大家有用。Linux系統(tǒng)知識(shí),又有網(wǎng)絡(luò)和硬件相關(guān)概念內(nèi)容全面,涵蓋初學(xué)者和專業(yè)人士所需。Fedora Nfs服務(wù)器的安裝與配置2009-10-20 22:33 這個(gè)簡單多了,setup里service configuration里選中Fedora Nfs服務(wù),去掉iptables,和ipchains.
可是fedora10里沒有ipchains的,更好辦了其實(shí) 這些也可以用命令來實(shí)現(xiàn)的查看防火墻狀態(tài):
/etc/init.d/iptables status
暫時(shí)關(guān)閉防火墻:
/etc/init.d/iptables stop
禁止防火墻在系統(tǒng)啟動(dòng)時(shí)啟動(dòng)
/sbin/chkconfig --level 2345 iptables off
重啟iptables:
/etc/init.d/iptables restart
Fedora Nfs服務(wù)主要是服務(wù)器端portmap,Nfs-utils Fedora Nfs客戶端portmap,Nfs-utils
1.yum install portmap Nfs-utils
2.vi /etc/exports加上 / *(rw)
3.再啟動(dòng)
[root@localhost etc]# /etc/rc.d/init.d/Nfs restart
Shutting down Nfs mountd: [FAILED]
Shutting down Nfs daemon: [FAILED]
Shutting down Nfs services: [FAILED]
Starting Nfs services: [ OK ]
Starting Nfs quotas: [ OK ]
Starting Nfs daemon: [ OK ]
Starting Nfs mountd: [ OK ]
[root@localhost etc]# /etc/rc.d/init.d/Nfs restart
Shutting down Nfs mountd: [ OK ]
Shutting down Nfs daemon: [ OK ]
Shutting down Nfs services: [ OK ]
Starting Nfs services: [ OK ]
Starting Nfs quotas: [ OK ]
Starting Nfs daemon: [ OK ]
Starting Nfs mountd: [ OK ]
[root@localhost /]# mount 172.18.1.90:/ /mnt
[root@localhost /]# cd /mnt
[root@localhost mnt]# ls
aaa boot etc inittab lost+found mnt proc sbin srv tftpboot usr
bin dev home lib media opt root selinux sys tmp var
Fedora Nfs工作ok,但要注意再根目錄下操作?。?!
【編輯推薦】