centos7 glusterfs的安装
2015-11-05 17:43
856 查看
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
[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
相关文章推荐
- centos 安装rabbitmq
- 在CentOS下安装WebBench进行web 性能测试
- Banking Rounding for Decimal rounding off on Linux
- 在CentOS/RHEL 6.5上使用YUM安装PHP5.4或PHP5.5
- linux 下 git 初尝试
- 关于Linux或者Solaris下,屏蔽nohup的日志输出
- Linux系统sar命令解析
- Linux 之归档与压缩
- Linux 之归档与压缩
- linux中删除一个目录下的所有文件,但保留一个指定文件
- linux命令ll -d
- centos 7 samba相关命令
- [转]深入理解linux内核list_head
- Linux下 部署一个webserver
- UltraEdit-15.1-0.0在centos6.5上破解方法
- linux:通配符和正则
- 每天学一点linux(四)
- Linux常用命令
- Linux基本命令
- linux 驱动 insmod和probe函数