Ubuntu12.04安装NFS server
来源:互联网 发布:阿里大数据竞赛2016 编辑:程序博客网 时间:2024/06/07 22:50
首先安装nfs-kernel-server
apt-get install nfs-kernel-server
然后创建一个目录:
mkdir -p /opt/share
并赋予权限777:
chmod -R 777 /opt/share
/opt/share 10.112.18.0/255.255.255.0(rw,no_root_squash)
portmap:10.112.18.0/255.255.255.0
在/etc/hosts.deny中添加配置:
portmap:ALL
重新启动两个服务:
service portmap restartservice nfs-kernel-server restart
在另一台Ubuntu上安装nfs-common
apt-get install nfs-common
然后创建目录test
mkdir ~/test然后运行测试命令看一下:
# showmount -e 10.112.18.158Export list for 10.112.18.158:/opt/share 10.112.18.0/255.255.255.0
找到nfs server的挂载目录了。现在手工挂载:
mount -t nfs4 10.112.18.158:/opt/share ~/test/
现在可以测试了,应该成功。
- Ubuntu12.04安装NFS server
- Ubuntu12.04上NFS Server安装使用过程
- Ubuntu12.04上NFS Server安装使用过程
- ubuntu12.04下NFS安装
- Ubuntu12.04 NFS服务器安装
- ubuntu12.04下nfs安装、配置、测试
- Ubuntu12.04下配置安装NFS图解
- ubuntu12.04下nfs安装、配置、测试
- ubuntu12.04下nfs安装、配置、测试 .
- ubuntu12.04上nfs安装、配置、测试
- Ubuntu12.04 nfs服务器安装与测试
- ubuntu12.04下nfs安装、配置、测试
- ubuntu12.04下nfs安装、配置、测试
- Ubuntu12.04 server安装Gerrit
- Ubuntu12.04安装vnc Server
- ubuntu16.04 安装nfs server
- ubuntu12.04 nfs挂载
- arm-linux安装Ubuntu12.4开发环境(三)安装nfs server
- 编译Android出错:Unable to execute dex: Java heap space
- AdView iOS SDK在线文档
- Mysql中随机挑选指定数量的数据
- java中replace和replaceAll的学习笔记
- 菜单与工具条的同步 APP_STANDARD.SYNCHRONIZE
- Ubuntu12.04安装NFS server
- Vi编辑器详细使用教程
- 查漏补缺(C++笔试)(更新中)
- 正则表达式处理字符串
- vs2012远程调试功能的改进
- 原地矩阵旋转
- 黑马程序员-----java基础十四(java之API)
- C++中函数调用中的内存分配
- 在路上