Linux NFS File Server installation configuration

Source: Internet
Author: User

[Related information]
Os:linux version 3.14-kali1-686-pae

Why use NFS
When doing sama5d3 xplained development, each debug program must do two things, the first step: put the compiled program into the TFTP directory, the second step: in the Development Board
Side via Tftp-g-L program name 192.168.1.25来 download
And after the use of NFS, the Development Board side as long as the host's NFS directory mounted under the local/mnt, each compiled program directly dropped in the host's NFS directory, and the corresponding Development Board side can be/mnt under the latest program, efficiency has improved.

[Installation configuration for NFS Server]
Installation

sudo Install  sudoinstall nfs-kernel-server Nfs-common


Configuration

sudo nano/etc/exports

Add in Exports

/var/nfs        192.168.  1. * (rw,sync, No_subtree_check)

192.168.1.x means all IP 192.168.1.2 to 192.168.1.254 can be accessed
RW indicates read and Write permissions
Sync indicates that the content in memory is synchronized with the contents of the hard drive when writing
No_subtree_check improve efficiency without detecting subdirectories

Related services Restart

sudo /etc/init.d/sudo /etc/init.d/nfs-kernel-server restart


[Test NFS Configuration]

$sudomount192.168. 1.25:/var/nfs/mnt/touch  /var/nfs/ls /mnt/


Tt.c
The above verification indicates that the NFS server has been built.

Linux NFS File Server installation configuration

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.