Chinaunix首页 | 论坛 | 博客
  • 博客访问: 67846
  • 博文数量: 9
  • 博客积分: 206
  • 博客等级: 入伍新兵
  • 技术积分: 135
  • 用 户 组: 普通用户
  • 注册时间: 2012-10-09 23:00
文章分类

全部博文(9)

文章存档

2012年(9)

分类: LINUX

2012-10-17 18:30:21

Ubuntu上默认没安装nfs
sudo apt-get install nfs-kernel-server

查看nfs挂载目录
geidt /etc/exports

添加挂载目录
/opt *(rw, sync, no_root_squash)

*     表示所有的客户机都可以挂载在此目录
rw    表示挂载在此目录的客户机对该目录有读写的权力
sync  资料同步写入内存和硬盘
no_root_squash 表示挂载在此目录的客户机享有该主机的root身份


nfs 重启服务
sudo /etc/init.d/portmap restart
sudo /etc/init.d/nfs-kerner-server restart


测试nfs是否可以使用
showmount -e


在超级终端上挂载
mount -t nfs -o nolock 172.19.72.67:/opt/ffmpeg1.0 /mnt
//将虚拟机系统的/opt/ffmpeg1.0目录挂载到板子的mnt目录下
//172.19.72.67是Ubuntu的ip

阅读(2158) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~