Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1070871
  • 博文数量: 121
  • 博客积分: 2021
  • 博客等级: 上尉
  • 技术积分: 1467
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-29 21:47
个人简介

简约而不简单。

文章分类

全部博文(121)

文章存档

2017年(1)

2016年(4)

2015年(2)

2014年(24)

2013年(33)

2012年(13)

2011年(25)

2010年(13)

2009年(6)

NFS

分类: LINUX

2013-01-26 12:19:26

nfs 安装(1)
apt-get install nfs-kernel-server
apt-get install portmap nfs-common
(2)
编辑/etc/exports
/home/jgyang/nfsroot  *(rw,sync,no_root_squash)
(3)
修改挂载点的属性
chmod 777 /home/jgyang/rootfs
(4)
重启nfs
sudo /etc/init.d/nfs-kernel-server restart
sudo /etc/init.d/portmap restart
(5)
在本机上测试
showmount -e
mount 172.20.149.190:/home/jgyang/nfsroot /mnt

ls -l /mnt


mount nfs目录的方法:

mount -t nfs hostname(orIP):/directory /mount/point



阅读(768) | 评论(0) | 转发(0) |
0

上一篇:vps 拷贝文件

下一篇:双网卡 linux

给主人留下些什么吧!~~