1.关闭防火墙和SELinux (对于这个安全模块,有兴趣可以看看)
systemctl stop firewalld systemctl disable firewalld vi/etc/selinux/config 将SELINUX=enforcing改为SELINUX=disabled
2. 安装软件
全部的软件包有这些,但是大部分是依赖,我们只需要安装下面这几个包,其他包就会自动安装好
yum install centos-release-gluster312.noarch
yum install glusterfs-rdma-3.12.9-1.el7.x86_64.rpm
yum install glusterfs-server-3.12.9-1.el7.x86_64.rpm
centos-release-gluster312-1.0-1.el7.centos.noarch.rpm glusterfs-3.12.9-1.el7.x86_64.rpm glusterfs-api-3.12.9-1.el7.x86_64.rpm glusterfs-cli-3.12.9-1.el7.x86_64.rpm glusterfs-client-xlators-3.12.9-1.el7.x86_64.rpm glusterfs-fuse-3.12.9-1.el7.x86_64.rpm glusterfs-libs-3.12.9-1.el7.x86_64.rpm glusterfs-rdma-3.12.9-1.el7.x86_64.rpm glusterfs-server-3.12.9-1.el7.x86_64.rpm userspace-rcu-0.10.0-3.el7.x86_64.rpm
systemctl start glusterd systemctl enable glusterd