apt-get install nfs-kernel-server 1.mkdir /nfsboot && chmod +x /nfsboot 2. vim /etc/exports 內(nèi)容為:/nfsboot *(rw,no_root_squash,sync) 3.啟動nfs服務(wù) service nfs restart 注:Ubuntu應(yīng)該為:service nfs-kernel-server restart service portmap restart 4.掛載 mount -t nfs -o nolock ip:/nfsboot /mnt ip可以先掛載本機。 ls /mnt 查看mnt下文件是否和nfsboot里的一樣 5.在開發(fā)板運行步驟4 |
|