Debian NFS server settings

Source: Internet
Author: User
The configuration of the NFS server In debian-the Linux Release Technology-Debian information. The following is a detailed description. NFS Server Guest settings:

1. Installation Package: nfs-common portmap nfs-kernel-server
2. Configuration: add the Directory and permissions to be output to/etc/exports, as shown in figure
/Home 172.16.0.1 (rw, no_root_squash) www. -.com (ro)
In this way, the 172.16.0.1 client is allowed to access read and write operations, while the www. -.com client is only allowed to read operations.
3. Make the exports file take effect: exportfs-
4. the NFS version and optimization parameters are skipped here

Client settings:
1. Installation Package: nfs-common, portmap
2. Mount the nfs directory:
Method 1 ):
Mount nfs.icp.com:/home/mnt/nfs
The format is the same as that of a Common mount file.

Method 2 ):
Modify the/etc/fstab file. The fstab modification method is omitted.
Related Article

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.