Ubuntu sets up the NFS service and provides it to the SC2440 or SC6410 Development Board. [Key Points] directly install the NFS package online Step 1: check whether the Software Update Server set by the system is configured as the master server. After Ubuntu is installed in some cases, the Update Server will be specified as the "China" Update Server. You must select step 2 of "master server: first Update the cache of the system's internal software package (error prevention) # sudodpkg -- clear-avail & am
Set up the NFS service in Ubuntu and provide it to the SC2440 or SC6410 Development Board. [key points]
Directly install the NFS package online
Step 2: Check whether the Software Update Server set by the system is the master server]
After Ubuntu is installed, the Update Server is specified as "China"
To update the server, select master server]
Step 1: first update the cache of the system's internal software package (to prevent errors)
# Sudo dpkg -- clear-avail & sudo apt-get update
Step 2: Install NFS online
# Sudo apt-get install nfs-common nfs-kernel-server portmap
Step 2: Start the NFS service
# Sudo/etc/init. d/nfs-kernel-server start
Step 2: modify the configuration file
# Gedit/etc/exports or use vi to edit
Map the entire/home directly (save some time)
As NFS software packages are updated frequently, the configuration method also changes. It is best to look at the above instance [Example], and then draw a picture from the gourd!
Step 2: restart the NFS service
# Sudo/etc/init. d/nfs-kernel-server restart
After the configuration is complete, log on to the Development Board remotely.
Use Serial Port or telnet
Then execute:
# Mkdir/mnt/disk/nfs
# Mount-t nfs-o nolock 192.168.0.176:/home/mnt/disk/nfs
You can!