2Ubuntu NFS Server Setup, Linux multiple computers shared directory

Source: Internet
Author: User



1 installation NFS (Network File system) server

Principle of sharing:

installation command:

sudo apt-get install Nfs-kernel-server

2 Set /etc/exports configuration file

Add the following line configuration

which :

* represents all IP, If you want to specify IP , you can put * for your own. IP address.

RW: represents read-only permissions, and if you want to become read-only, modify the configuration to ro

Sync: represents the way synchronization is. Anyone who modifies this directory can be seen by everyone else.

3. Create an NFS directory in the user directory

4. Restart the server and discover that there are 4 OK, this time the configuration is successful.

5. Disk mount (simulate below, mount the directory to a different location on a computer)

6. The directory on the other computer on the disk network. Require other computers on the network to start sharing. Only if the computer on the network is shared, can the machine be able to mount the shared directory on the network to its own computer

2Ubuntu NFS Server Setup, Linux multiple computers shared directory

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.