---restore content starts---
1.rpcbind steps
Linux Package: Portmap installation package libgssglue-0.1-8.1.el6.i686.rpm
libtirpc-0.2.1-1.el6.i686.rpm
rpcbind-0.2.0-8.el6.i686.rpm
Including the above three, if Linux does not have Portmap or Rpcbind service, install these three files sequentially.
installation command:
RPM-IVH *.rpm--force--nodeps installation package download link: Http://pan.baidu.com/s/1c1y9biC Password: uld5
2.nfs Installation Steps
RPM-IVH nfs-utils-1.2.3-26.el6.x86_64--force--nodeps
Start Rpcbind Services: Service Rpcbind start
View Rpcbind Service Status: Rpcbind status
Start NFS Services: Service NFS Start
View NFS Services: Service NFS Status
3. Turn off the firewall
Iptables-f
4. Modify the/etc/exports file
/opt/nfs * (Rw,sync,no_root_squash,no_all_squash)
/home 192.168.1.* (Rw,sync,no_root_squash)
The above line is interpreted as follows:
①. Home: A directory that allows other computers to access
②. 192.168.1.*: The client IP address that is allowed to access the directory, this example indicates that the directory is accessible to all addresses of 192.168.1 for the first three segments of IP.
③. RW: Readable and writable
④. Sync: Synchronous Write Disk (async: Data is first staged in memory, not directly to the hard disk)
⑤. No_root_squash: Indicates that the client root user has write access to the directory.
(4). Make the Exports directory effective and view the Active Directory. Use commands for:
Exportfs-a
(5). Restart the NFS server. Use a command for one of the following:
/etc/init.d/nfs restart
Service NFS Restart
Also, use the command to start the NFS server:/ETC/INIT.D/NFS start
Redhat Configuring the Seed DVS6446 Development environment 2