NFS Configuration Instruction

来源:互联网 发布:zookeeper acl java 编辑:程序博客网 时间:2024/05/18 21:39

NFS Configuration Document:

prerequisites:

RPM package required on NFS server:nfs-utils,nfs-utils-lib,portmap[[BR]]

Configuration

1, Config on NFS server by root
1)vim etc/exports

pattern:<export directory>  [client1-ipaddress (option1,option2...)] [client2-ipaddress (option1,option2...)] ...

example:

/nfs/51cto 192.168.1.*(rw) 

2)restart nfs service

service nfs restart

2, Config on client host by root
1.cd to the directory that you want to get access in

2.mount nfs directory

mount -t nfs  nfsserver-ip:/nfs/51cto ''current-route''

Done[[BR]]

To unmount nfs directory,use

unmount ''the-certain-route''
原创粉丝点击