ubuntu 9.04 nfs搭建
2010-03-06 12:47
288 查看
1.安装nfs服务器端和客户端
服务器端:sudo apt-get install portmap nfs-kernel-server
客户机端:sudo apt-get install portmap nfs-common
2.配置共享文件
编辑/etc/exports,在其中增加要共享的目录
sudo gedit /etc/exports
配置
/home/eric/nfs *(rw,sync,no_root_squash)
/home/eric/nfs是要共享的目录,*网段内的NFS客户端能够共享NFS服务器/nfs_share目录内容.且有读,写权限, 并且该用户进入/nfs_share目录后的身份为root
3.重启服务
sudo /etc/init.d/portmap restart
sudo /etc/init.d/nfs-kernel-server restart
4.服务器安装完之后可以这样测试。
$showmount -e
如果看到这样的信息就说明成功了。
root@xjl-desktop:~# showmount -e
服务器端:sudo apt-get install portmap nfs-kernel-server
客户机端:sudo apt-get install portmap nfs-common
2.配置共享文件
编辑/etc/exports,在其中增加要共享的目录
sudo gedit /etc/exports
配置
/home/eric/nfs *(rw,sync,no_root_squash)
/home/eric/nfs是要共享的目录,*网段内的NFS客户端能够共享NFS服务器/nfs_share目录内容.且有读,写权限, 并且该用户进入/nfs_share目录后的身份为root
3.重启服务
sudo /etc/init.d/portmap restart
sudo /etc/init.d/nfs-kernel-server restart
4.服务器安装完之后可以这样测试。
$showmount -e
如果看到这样的信息就说明成功了。
root@xjl-desktop:~# showmount -e
相关文章推荐
- Ubuntu 下NFS网络文件系统搭建
- Ubuntu下搭建NFS,并在开发板挂载
- ubuntu下搭建nfs服务器
- Ubuntu搭建NFS调试环境
- Ubuntu环境下NFS服务器搭建
- ubuntu10.04 nfs搭建
- 搭建Ubuntu tftp 服务器和NFS
- Ubuntu9.04 QtEmbedded-4.5.2的搭建
- Ubuntu搭建NFS并挂载到6410开发板
- ubuntu 9.10搭建NFS
- NFS文件共享服务搭建(ubuntu-centos)
- ubuntu14.04 nfs服务器搭建
- [3]_嵌入式开发环境搭建1_在ubuntu16.04.3 安装配置nfs 和 tftp服务器
- 在ubuntu10.04下搭建tftp服务器和nfs服务器
- ubuntu NFS环境的搭建
- Ubuntu 9.04下nfs安装配置
- 基于ubuntu 9.04(32位机)的Android2.2 开发环境的搭建
- 在ubuntu9.04用netbeans+jdk搭建 C++平台,
- ubuntu下开发环境配置:nfs服务器的搭建
- ubuntu 14.04 NFS环境搭建