Centos7下 GlusterFS 环境搭建
准备工作
- glusterfs-3.6.9.tar.gz
- userspace-rcu-master.zip
- 三台服务器:
192.168.133.53、192.168.133.54、192.168.133.55- 如果您的环境没有网络,请先阅读centos7 配置本地yum源
| 以下出现的简写 | 含义 |
|---|---|
| 53 | 192.168.133.53:主节点 |
| 54 | 192.168.133.54:从节点 |
| 55 | 192.168.133.55:客户端 |
| (53) | 仅在53节点操作 |
| (53&54) | 53和54两个节点均需操作 |
| (55) | 仅在55节点操作 |
一、安装依赖(53&54)
yum install -y flex bison openssl openssl-devel acl libacl libacl-devel sqlite-devel libxml2-devel python-devel make cmake gcc gcc-c++ autoconf automake libtool unzip zip
注:以上是一条命令
二、安装userspace-rcu-master(53&54)
1)创建software目录并将glusterfs-3.6.9.tar.gz和userspace-rcu-master.zip上传,如下图所示:
2)解压并编译安装,命令如下:
- unzip /usr/local/software/userspace-rcu-master.zip -d /usr/local/
- cd /usr/local/userspace-rcu-master/
- ./bootstrap
- ./configure
- make && make install
- ldconfig
三、安装userspace-rcu-master(53&54)
1)解压并编译安装,命令

最低0.47元/天 解锁文章
7134

被折叠的 条评论
为什么被折叠?



