这个简单多了,setup里service configuration里选中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
***********************************************
nfs服务主要是服务器端portmap,nfs-utils
客户端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
nfs工作ok,但要注意再根目录下操作!!!