Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1183987
  • 博文数量: 181
  • 博客积分: 6155
  • 博客等级: 准将
  • 技术积分: 1805
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-05 09:24
文章分类

全部博文(181)

文章存档

2015年(2)

2014年(3)

2013年(9)

2012年(29)

2011年(30)

2010年(36)

2009年(40)

2008年(32)

分类: LINUX

2009-12-04 19:54:50

 这个简单多了,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,但要注意再根目录下操作!!!
阅读(80398) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~