NFS service open

 

When to drive the development of Linux NFS services are required, and therefore must first install Ubuntu and open the NFS server
service, use the following command to install the NFS service:

sudo apt-get install nfs-kernel-server rpcbind

Wait for the installation to complete, after the installation is complete, create a file called "nfs" folder in the user's home directory, create a folder for nfs nfs server to use, since we can through a network file system on a development board
to access the system folder nfs , first configure nfs, nfs use the following command to open the configuration file / etc / exports:

sudo vi /etc/exports

Open / etc / exports later add content later as follows:

/home/topeet/nfs *(rw,sync,no_root_squash)

After the addition was complete the / etc / exports as shown:

Restart NFS service, use the following command:

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

 

Guess you like

Origin www.cnblogs.com/-tbd-/p/12598686.html