Mount-t nfs usage

Source: Internet
Author: User

 

Service installation:
1. Install the NFS service in VMware Ubuntu:
Sudo apt-Get install nfs-kernel-Server
2. If the installation is successful, the configuration file/etc/exports will appear.
Ls/etc/exports
3. Configure Vim exports

Specify the directory to be shared (absolute path) * (RW, sync, no_root_squash)
Example:

Add:
/Home/xubu/share/* (RW, sync, no_root_squash, no_subtree_check) // any client can be connected
/Home/xubu/share/192.168.1.1 (RW, sync, no_root_squash, no_subtree_check) // The specified client can be connected

4. Restart the NFS service:
Sudo service nfs-kernel-server restart

 

 

Client Access:
1. Ensure that the network connection with the server is normal
2. Mount the shared directory of the server to the local directory.
Sudo Mount-t nfs 192.168.1.200 (server address):/home/xubu/share/mnt (share to this directory)

 

Mount-t nfs usage

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.