- 論壇徽章:
- 0
|
最近在參加一個(gè)嵌入式比賽,做了很多工作,記錄下來(lái),以防忘了。
1.安裝NFS服務(wù)
$sudo apt-get install nfs-kernel-server
2.配置export
$sudo vim /etc/exports
然后加入 /home/craftor/nfs *(rw,sync,sub_tree_check,no_root_squash)
$sudo exportfs -r
3.重啟服務(wù)
$sudo /etc/init.d/nfs-kernel-server restart
$sudo /etc/init.d/portmap restarts
4.設(shè)置開發(fā)板啟動(dòng)參數(shù)
set bootargs root=/dev/nfs rw nfsroot=172.19.24.67:/home/craftor/nfs ip=172.19.24.100:172.19.24.67:172.19.24.1:255.255.255.0:sep4020:eth0:off console=ttyS0,115200 mem=32mb
本文來(lái)自ChinaUnix博客,如果查看原文請(qǐng)點(diǎn):http://blog.chinaunix.net/u2/67073/showart_1924727.html |
|