Chinaunix

标题: NFS服务器配置 [打印本页]

作者: jiajie8301    时间: 2009-03-18 00:12
标题: NFS服务器配置
大哥大姐,大家好,我装的系统是redhat 9,但是系统->服务器设置中没有显示NFS,怎样设置才能用图形化方式显示出来;当我用文本方式启动服务器时候,说有守护进程启动失败,我的防火墙,iptable都关了。谢谢大家
作者: pilgrim_kevin    时间: 2009-03-18 14:08
建议你别使用redhat9这么古老的系统了。
去下载个fedora10用用。
作者: marsaber    时间: 2009-03-18 14:13
古老的系统啊!
04年第一次装的就是9

RHEL都出5.3了。
http://www.verycd.com/topics/2729382/
还有就是,既然选择了Linux,就要习惯她的文本模式。
作者: myforever    时间: 2009-03-18 15:47
其实配置方法大同小异,给你一个Debian下配置NFS SERVER的方法参考:

How to configure NFS server for debian

Summary:

         We usually use nfs service provided by the linux, but different linux edition has its own configuration method, this article describe how to set up the nfs server on debian.

1. on the server machine, we should install these packages belowing:

portmap, nfs-user-server, nfs-kernel-server
  1. host-name:/# apt-get install portmap

  2. host-name:/# apt-get install nfs-user-server

  3. host-name:/# apt-get install nfs-kernel-server
复制代码
2. on the client machine, we should install the package belowing:

nfs-common
  1. host-name:/# apt-get install nfs-common
复制代码
3. modify the configuration file


  1. host-name:/# vi /etc/exports

  2. /nfs *(rw,no_root_squash,no_all_squash,sync)
复制代码
4. start the nfs service

host-name:/#/etc/init.d/portmap start
host-name:/#/etc/init.d/nfs-user-server start
host-name:/#/etc/init.d/nfs-kernel-server start
5. test the service
host-name:/#mount -t nfs 192.168.x.x:/nfs /mnt




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2