Simple NFS configuration

Source: Internet
Author: User
Simple configuration of NFS-Linux Enterprise Application-Linux server application information. The following is a detailed description. Today, I configured a simple NFS. I have a preliminary understanding of NFS. I have heard of it before in class, but I just gave a simple demonstration. I have not configured it yet, I think it is hard to do it before I do it. It is much easier to do it when I do it. It is much simpler than configuring a DNS. I searched for related instructions on the Internet, some of which are very detailed, but it is not good for beginners to learn more details. It is suitable for those who enter the door to see, there is no entry, let's take a look at the simplest example and first learn how to implement a simple NFS. Although it is very simple and insecure, it will be done slowly in the future. I think it will be much faster to learn it, easy. If you want to eat a fat man, you will only block yourself out of the door.

I only configured a very simple/etc/export, as shown below:

/Var/ftp/install * (rw, sync) # Add the sync parameter. Otherwise, an error is prompted.

Then, use the exportfs-a command on the command line to output the content of the/etc/export file:

# Exportfs-
# Exportfs-rv # (Re-export all once)

The command to start the nfs service is:

# Service nfs start

View nfs file system output shares:

# Showmount-e 192.168.1.120

Mount the nfs file system on the client:

# Mount-t nfs 192.168.1.120:/var/ftp/install/mnt
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.