hsy75的个人空间 https://blog.eetop.cn/vivilife [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

[o]nfs build practic in ARM target board

已有 1169 次阅读| 2012-9-14 14:55 |个人分类:linux

a simple example to build nfs from the bare linux between debain and arm target board.


1 get the nfs server

#aptitude install nfs-common or #apt-get install nfs-common nfs-kernel-server portmap

#aptitude install nfs-kernel-server portmap or #apt-get install nfs-kernel-server portmap


2 nfs start

#su

#cd /etc/init.d/

#./ nfs-kernel-server start


3 configure the nfs settings

easy to setting just modify the export and do not care /etc/host

#vim /etc/exports

you need to add your nfs folder in this files:

/YouHost/nfs_serverfolder *(rw,no_all_squash,no_root_squash,sync,nohide)  -> [hsy75] this settings give the folder the most easy access but less safty

for more safty you need modify the /etc/host


4 modify your nfs folder's propeties to make it can be access and read/write

maybe you can use

#chmod o + rwx /your_nfs_folder

in debain your folder will change to green color sometime after your settings finished.


5 to test your nfs setup

you can nfs mount your host files for test nfs start is ok or not

#mount -t nfs yourhostip:/nfstestfoler  /mnt

and then you can check your mounted nfs folder in /mnt

after test use unmount to cut the nfs share


this chapter is written by huang.makin@gmail.com 2012-09



点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 2

    粉丝
  • 1

    好友
  • 2

    获赞
  • 14

    评论
  • 3241

    访问数
关闭

站长推荐 上一条 /1 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-26 16:43 , Processed in 0.018005 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部