Fedora NFS,在网络存储中有着广泛的应用。随着网络的不断发展,这方面的需求也在不断的增大。那么,Linux系统知识,又有网络和硬件相关概念内容全面,涵盖初学者和专业人士所需.现在我们就来讲解一下Fedora NFS的安装问题。这个简单多了,setup里service configuration里选中Fedora NFS服务,去掉iptables,和ipchains.
可是fedora10里没有ipchains的,更好办了其实 这些也可以用命令来实现的查看防火墙状态:
/etc/init.d/iptables status
暂时关闭防火墙:
/etc/init.d/iptables stop
禁止防火墙在系统启动时启动
/sbin/chkconfig --level 2345 iptables off
重启iptables:
/etc/init.d/iptables restart
Fedora NFS服务主要是服务器端portmap,Nfs-utils Fedora NFS客户端portmap,Nfs-utils
1.yum install portmap Nfs-utils
2.vi /etc/exports加上 / *(rw)
3.再启动
[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,但要注意再根目录下操作!!!