CNETOS7 64-bit System NFS Service installation and configuration

Source: Internet
Author: User

Cetnos7 the next part of the command has changed, for example ifconfig changed to IP addr


Installing NFS with Yum

Yum-y Install Nfs-unitls Rpcbind

Modify the configuration document/etc/exports

At the beginning of the document there is no content, you can add it yourself:

/OPT/TEST/192.168.1.0/24 (Rw,no_root_squash,no_all_squash,sync)

Make configuration effective

Exportfs-r

See if NFS is installed

Rpm-qa | grep NFS Rpcbind

Start NFS

Service Rpcbind start or use/bin/systemctl start Rpcbind.service

Service NFS Start or use/bin/systemctl start Nfs.service

Chkconfig rpcbind on or use systemctl enable Rpcbind.service

Chkconfig NFS on or use SYSTEMCTL enable Nfs.service


View Mounts

Showmount-e

Client Mount

Mount-t NFS 192.168.1.*:/opt/test/mnt



CNETOS7 64-bit System NFS Service installation and configuration

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.