Using the nfs service, you can easily and quickly transfer files between Linux (Ubuntu12.10 in this article). The download, installation, and configuration of nfs are described as follows: 1. install nfs service in a virtual machine: 1. execute the command sudoapt-getinstallnfs-kernel-serverportmap2. its configuration file is/etc/exports. Add the following content to it:/home/nfs_file * (rw, s
Using the nfs service, you can easily and quickly transfer files between Linux (Ubuntu 12.10 in this article). The download, installation, and configuration of nfs are described as follows:
I. Installing nfs in a virtual machine:
1. Run the sudo apt-get install nfs-kernel-server portmap command.
2. Its configuration file is/etc/exports. Add the following content to it:
/Home/nfs_file * (rw, sync, no_root_squash)
Access/home/nfs_file through the Network File System in the future.
3. Restart the NFS service.
Sudo/etc/init. d/nfs-kernel-server restart
2. mount the Virtual Machine directory on the Development Board by running the mount command.
(1) mount-t nfs-o nolock 192.168.1.11:/home/nfs_file/mnt (mount the/home/nfs_file directory in the virtual machine to the/mnt directory on the Development Board)
(2) Run umount/mnt to unmount the/home/nfs_file directory.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2