nfs配置linux
(以VM下的Ubuntu16.04 的 64Bit 系統爲例子)服務器
sudo apt-get install nfs-kernel_serverrest
sudo mkdir /home/linux/arm/rootserver
sudo vi /etc/exportsrpc
添加的配置以下:get
/home/linux/arm/root *(rw,sync,no_root_squash,no_subtree_check) it
sudo /etc/init.d/rpcbind restart配置
subo .etc.init.d/nfs-kernel-server restartexports
sudo mount -t nfs -o nolock 192.168.1.102:/home/linux/arm/root /armdi
192.168.1.102 ----> 主機的IP地址
/home/linux/arm/root ---->主機經過nfs共享的目錄
/arm ----> arm板子的nfs共享目錄