cnetos7 64位系统 nfs服务安装与配置
2015-11-12 14:14
501 查看
cetnos7下部分命令已变,例如ifconfig变更为ip addr
使用yum安装nfs
yum -y install nfs-unitls rpcbind
修改配置文档/etc/exports
初开始文档里没有任何内容,可以自行添加:
/opt/test/ 192.168.1.0/24(rw,no_root_squash,no_all_squash,sync)
使配置生效
exportfs -r
查看是否安装了nfsrpm -qa | grep nfs rpcbind启动nfsservice rpcbind start或者使用/bin/systemctl start rpcbind.serviceservice nfs start或者使用/bin/systemctl start nfs.servicechkconfig rpcbind on或者使用systemctl enable rpcbind.servicechkconfig nfs on或者使用systemctl enable nfs.service
查看挂载
showmount -e客户端挂载mount -t nfs 192.168.1.*:/opt/test /mnt
使用yum安装nfs
yum -y install nfs-unitls rpcbind
修改配置文档/etc/exports
初开始文档里没有任何内容,可以自行添加:
/opt/test/ 192.168.1.0/24(rw,no_root_squash,no_all_squash,sync)
使配置生效
exportfs -r
查看是否安装了nfsrpm -qa | grep nfs rpcbind启动nfsservice rpcbind start或者使用/bin/systemctl start rpcbind.serviceservice nfs start或者使用/bin/systemctl start nfs.servicechkconfig rpcbind on或者使用systemctl enable rpcbind.servicechkconfig nfs on或者使用systemctl enable nfs.service
查看挂载
showmount -e客户端挂载mount -t nfs 192.168.1.*:/opt/test /mnt
相关文章推荐
- 拿到OK2440开发板之后——连接nfs服务器
- [游戏资讯]《极品飞车16:亡命狂飙》配置需求公布
- linux NFS 学习笔记
- linux系统之间通过nfs网络文件系统挂载设置方法
- Linux NFS服务器的安装与配置方法(图文详解)
- RHEL5下NFS服务器配置与应用
- starting NFS daemon failed
- drbd安装搭建可以解决双机NFS
- Linux NFS服务器的安装与配置
- 实现Kickstart + NFS + DHCP + PXE的全自动远程无人职守安装
- centos6下配置nfs
- 什么是NFS
- NFS在Centos 6.3下的安装
- NFS
- NFS安装
- NFS文件系统详解以及安全设置
- NFS服务器的安装和配置
- Xenserver 5.0双机共享NFS存储实践-----转自网络
- Linux NFS服务器的安装与配置
- NFS配置步骤和优化(转载)