Setup of NFS Network file servers

Source: Internet
Author: User

NFS Network File Server

NFS is the abbreviation of a network file system, mainly used for sharing between Linux and Linux.

NFS is installed by default in the CentOS system, which relies on the Portmap and nfs-utils two packages, where Portmap is started and NFS needs to be started manually.

Configuration for NFS Services

Its configuration file is the/etc/exports file structure as follows:

/home/nfs * (Sync,ro)

The first field is used to define the shared directory; the second field is used to define whether the connection host can be a domain name or a ip,* representative of any host; the third field defines the permission, the sync represents the synchronization disk, and the RO represents read-only, and the RW remote connection user representative can read and write.

Configuration instance

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.