First, Introduction
NFS Network File system, most used in the intranet file sharing, for example, to share the cluster upload files, often used in the picture part, of course, the amount of data is large or to do the separation, as a specialized interface is better, introduce the basic installation environment:
1) Cnetos6.6
2) nfs-utils-1.2.3
3) rpcbind-0.2.0
Second, installation
Yum install-y rpcbind Nfs-utils
Third, the configuration
" /data 192.168.19.145 (rw) " >/etc/exports #指定目录 Run the Mount host and what permissions it has
Four, start
$/etc/init.d//etc/init.d//etc/init.d/-t filter-a input-s 192.168.19.145-m State--state New-j ACCEPT
#记得允许防火墙
V. Inspection
$ ps aux| grep nfs$ ps aux| -NTLP
#这个东东端口到是开了一堆
VI. Client Testing
$ yum install-y nfs-utils # Install $ showmount-e 192.168.19.128 # View shared directory $ mount -T NFS 192.168.19.128:/data/mnt # Mount
Centos6.6 Installing the NFS Network File system