centos7 glusterfs的安装

1、安装的linux环境

[root@localhost ~]# cat /etc/centos-release
CentOS Linux release 7.1.1503 (Core) 

[root@localhost ~]# uname -a
Linux localhost.localdomain 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


2、repo安装

repo方式安装glusterfs,
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
rpm -ivh epel-release-7-5.noarch.rpm
wget -P /etc/yum.repos.d http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs-epel.repo
yum install glusterfs-server glusterfs glusterfs-fuse glusterfs-cli ...


3、二进制安装

rpm包方式安装glusterfs,包有这么多:
glusterfs-3.6.6-1.el7.x86_64.rpm            glusterfs-debuginfo-3.6.6-1.el7.x86_64.rpm      glusterfs-geo-replication-3.6.6-1.el7.x86_64.rpm
glusterfs-api-3.6.6-1.el7.x86_64.rpm        glusterfs-devel-3.6.6-1.el7.x86_64.rpm          glusterfs-libs-3.6.6-1.el7.x86_64.rpm
glusterfs-api-devel-3.6.6-1.el7.x86_64.rpm  glusterfs-extra-xlators-3.6.6-1.el7.x86_64.rpm  glusterfs-rdma-3.6.6-1.el7.x86_64.rpm
glusterfs-cli-3.6.6-1.el7.x86_64.rpm        glusterfs-fuse-3.6.6-1.el7.x86_64.rpm           glusterfs-server-3.6.6-1.el7.x86_64.rpm
步骤:
yum -y install libibverbs libibverbs-devel librdmacm librdmacm-devel nfs-utils rsyslog-mmjsonparse psmisc attr
rpm -ivh *

比较坑爹的是,不同版本,依赖的库也会有点差别,实在不知道要安装那个,注意,如果单个rpm包安装,要同时安装glusterfs-3.6.6-1.el7.x86_64.rpm 和glusterfs-api-3.6.6-1.el7.x86_64.rpm

你可能感兴趣的:(centos7 glusterfs的安装)