Chinaunix首页 | 论坛 | 博客
  • 博客访问: 336183
  • 博文数量: 72
  • 博客积分: 2130
  • 博客等级: 大尉
  • 技术积分: 857
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-05 16:10
文章分类

全部博文(72)

文章存档

2010年(5)

2009年(14)

2008年(53)

分类: LINUX

2008-10-15 14:42:21

server端
1. 安装软件
   sudo apt-get install nfs-kernel-server
2. 配置
   sudo vim /etc/exports
   add the following:
   /tftpboot/ltib/ 192.168.1.102 (rw,no_root_squash,async)
3. 重新进行同步共享
   sudo exportfs -rv
4. 重启
   sudo /etc/init.d/nfs-kernel-server restart
注:ip为client ip

client端
1. 安装软件
   sudo apt-get install nfs-common
2. 映射服务端的目录
   sudo mount -t nfs 192.168.1.101:/tftpboot/ltib /tftpboot/ltib
注:ip为server ip
阅读(719) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~