Newbie's simple Linuxnfs Process

Source: Internet
Author: User
A newbie is engaged in a simple NFS process-Linux Enterprise Application-Linux server application information. The following is a detailed description. There are many deficiencies in the initial linux writing process. Please forgive me!

The simplest one is:
1. Two computers with rh9 installed, 192.168.10.1 and 192.168.10.2, with 10.1 As the nfs server and 10.2 as the client. The two machines can ping each other.

2. Start the service on two computers respectively (of course, install the nfs Software Package)

# Service nfs start
And
# Service portmap start

3. Create a directory named 10.1 under/root on machine 999, create a 999.txt file under/root/999, and change the directory permissions of/999, I set # chmod 777 999

Run the # exportfs-rv command to view the directory that has been exports.

4. operations on the machine 10.2:
First # showmount-e 192.168.10.1 check whether the directory shared by the machine 10.1 can be found. Then, create a directory named 10.2 under the/root directory 888.

5. Mount the 10.2 directory on the machine 10.1:
# Mount-t nfs 192.168.10.1:/root/999/root/888

6. If you can mount the file correctly, you can see the 999.txt file under/root/10.2 of the machine 888.

Note: It is normal when I operate on a VM to step 3, but it will not work until step 3.
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.