Fedora NFS的設(shè)置
Fedora NFS,在網(wǎng)絡(luò)存儲(chǔ)中有著廣泛的應(yīng)用。隨著網(wǎng)絡(luò)的不斷發(fā)展,這方面的需求也在不斷的增大。那么,Linux系統(tǒng)知識(shí),又有網(wǎng)絡(luò)和硬件相關(guān)概念內(nèi)容全面,涵蓋初學(xué)者和專業(yè)人士所需.現(xiàn)在我們就來(lái)講解一下Fedora NFS的安裝問(wèn)題。這個(gè)簡(jiǎn)單多了,setup里service configuration里選中Fedora NFS服務(wù),去掉iptables,和ipchains.
可是fedora10里沒(méi)有ipchains的,更好辦了其實(shí) 這些也可以用命令來(lái)實(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,但要注意再根目錄下操作!!!