How to share folders using NFS in UBUNTU

Source: Internet
Author: User
We recently developed ARMLinux to use NFS to upgrade the target board's file system. Therefore, it is necessary to start NFS on a computer. In fact, this method has never been used. In the past, the kernel and file system were downloaded through a serial port, so the speed was slow. I am too lazy to study the NFS update method. I have read some documents and posts related to the NFS service before I start. My memory is not very good. record it for search. Install: # sudoapt-getinstallnfs-common # sudoa recently developed ARM Linux to use NFS to upgrade the file system of the target board. Therefore, it is necessary to start NFS on a computer. In fact, this method has never been used. In the past, the kernel and file system were downloaded through a serial port, so the speed was slow. I am too lazy to study the NFS update method. I have read some documents and posts related to the NFS service before I start. My memory is not very good. record it for search.

Installation:

# Sudo apt-get install nfs-common
# Sudo apt-get install nfs-kernel-server

Modify the/etc/exports file and add the following lines:

Format: [shared directory] [host name or IP address] (parameter, parameter)/home/armnfs 192.168.1.6 (rw)

This explains: armnfs is a directory created under my home, used to store the target file system, that is, the shared directory. To whom to share? The IP address next to it. The permission is readable and writable.

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.