The configuration of nfscentos6.2 in centos6.2 changes the portmap service to rpcbind. this is different from centos5 when nfs is used. The following is an nfs system that allows all users in the Lan to access this directory, you can configure the directory as a yum source for the intranet machine to install software. Www...
In centos 6.2, nfs centos6.2 is configured to change the portmap service to rpcbind. this is different from centos5 when nfs is used. The following is an nfs system that allows all users in the Lan to access this directory, you can configure the directory as a yum source for the intranet machine to install software. Run the following command to install the NFS suite at www.2cto.com: yum install nfs-utils.x86_64 (64-bit system) yum install nfs-utils (32-bit system) and then install the portmap service, in centos6, portmap is renamed rpcbindyum install rpcbind (centos6) yum install portmap (centos5, copy the file to the directory where you want to mount mkdir/opt/centos6mount/dev/cdrom/media-o loopcp-r/media/*/opt/centos6/configure nfs server vi/etc /exports add/opt/centos6 192.168.0.0/24 (ro, no_root_squash) indicates that the local/opt/centos6 directory is the nfs shared directory, and the accessible IP address range is 192.168.0.0-192.168.0.254: The permission is read-only. when the visitor is a root user, the root permission is assigned to this directory to www.2cto.com and restart nfs service/etc/init. d/rpcbind start/etc/init. d/nfs start add nfs to the boot startup item chkconfig nfs on client configuration to check whether the nfs service showmount-e 192.168.0.10 can be accessed. the display is as follows: Export list for 192.168.0.10: /opt/centos6 192.168.0.11 indicates that access is allowed. if access is unavailable, check whether the nfs service on the nfs server is enabled and whether the firewall is allowed to pass. Mount nfs directory mkdir/opt/centos6mount-t nfs 192.168.0.10:/opt/centos6 // opt/centos6/www.2cto.com configure to automatically mount vi/etc/fstab at startup and add 192.168.0.10: /opt/centos6/opt/centos6 nfs nodev, ro, rsize = 32768, wsize = 32768 0 0
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service