码迷,mamicode.com
首页 > 其他好文 > 详细

GlusterFS 3.7.1安装手记

时间:2017-07-12 23:06:54      阅读:422      评论:0      收藏:0      [点我收藏+]

标签:glusterfs 3.7.1安装手记


1、最小化安装centos 6.6  完成后执行yum update

2、执行yum list glusterfs*

     发现centos官方包中缺少glusterfs-server包。解决办法:使用glusterfs官方yun源。

wget -P /etc/yum.repos.d http://download.gluster.org/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-epel.repo


3、再次执行 yum list glusterfs*发现server包已存在,执行yum install glusterfs glusterfs-server时再次报错。

YumBaseError: [u‘glusterfs-server-3.7.1-1.el6.x86_64 requires liburcu-bp.so.1()(64bit)‘, u‘glusterfs-server-3.7.1-1.el6.x86_64 requires liburcu-cds.so.1()(64bit)‘, u‘glusterfs-server-3.7.1-1.el6.x86_64 requires pyxattr‘]

     原因是epel包太旧,使用最新的epel源即可解决。

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
注:epel包的选择需要跟系统版本匹配,6.6版本使用centos7的epel源会报错。如下:
Error: xz compression not available 
下载后执行:
rpm -ivh epel-release-6-8.noarch.rpm 


4、执行yum clean all

           yum makecache

     清除yum缓存。

5、yum -y install glusterfs glusterfs-server




  


本文出自 “亮公子” 博客,请务必保留此出处http://iyull.blog.51cto.com/4664834/1946588

GlusterFS 3.7.1安装手记

标签:glusterfs 3.7.1安装手记

原文地址:http://iyull.blog.51cto.com/4664834/1946588

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!