linux nfs安装、配置
来源:互联网 发布:淘宝店铺直播怎么看 编辑:程序博客网 时间:2024/06/06 12:52
参考资料:http://blog.chinaunix.net/uid-26284318-id-3111651.html
环境:centos 6.4
nfs服务端:ip=server_ip
1、centos nfs安装
yum -y install nfs-utils rpcbind
2、创建同步文件夹
mkdir /usr/local/nfs_syn_dir
3、配置/etc/exports,添加如下内容:
/usr/local/nfs_syn_dir *(rw,insecure,no_root_squash,sync)
4、配置开机启动
chkconfig nfs on
5、启动
rpcbind start
nfs start
客户端:
1、安装软件
yum -y install nfs-utils rpcbind
2、查看是否能访问nfs服务
showmount -e $service_ip
3、创建挂着目录
mkdir /usr/local/nfs_mnt_dir
4、挂载
mount -t nfs $server_ip:/usr/local/nfs_syn_dir /opt/centos6/
5、配置开机自动挂载,修改/etc/fstab
$server_ip:/usr/local/nfs_syn_dir /usr/local/nfs_mnt_dir nfs nodev,ro,rsize=32768,wsize=32768 0 0
0 0
- linux nfs安装、配置
- linux nfs安装配置
- Linux安装配置NFS
- linux nfs安装配置
- Linux下配置安装NFS
- Linux下配置安装NFS
- Linux NFS安装与配置
- Linux NFS安装与配置
- Linux NFS安装与配置
- Linux下配置安装NFS
- Linux NFS安装与配置
- Linux NFS安装与配置
- Linux下配置安装NFS
- Linux下配置安装NFS
- Linux下配置安装NFS
- linux NFS安装与配置
- Linux NFS安装与配置
- Linux NFS安装与配置
- 本地yum源搭建
- hadoop 2.2完全分布式搭建 --准备
- JavaScript中你可能不知道的九件事
- Shell 程序 输出重新定向
- linux jdk安装
- linux nfs安装、配置
- linux /etc/fstab介绍,配置
- Zookeeper 集群搭建
- 《java核心技术--卷一》equals方法
- hadoop2.2.0编译--错误解决办法
- hadoop2.2.0编译--centos6.4-64位
- hadoop2.2.0本地库替换--centos6.4-64位
- mapreduce任务出错最大尝试次数
- umlの状态图