在向大家详细介绍Fedora Nfs之前,首先让大家了解下Linux系统,然后全面介绍Fedora Nfs,希望对大家有用。Linux系统知识,又有网络和硬件相关概念内容全面,涵盖初学者和专业人士所需。Fedora Nfs服务器的安装与配置2009-10-20 22:33 这个简单多了,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,但要注意再根目录下操作!!!
【编辑推荐】