我正在尝试在我的centos 7服务器上安装glusterfs,我已经安装了centos-release-gluster
[root@core11 media]# yum install centos-release-gluster
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.labkom.id
* centos-gluster9: vpsmurah.jagoanhosting.com
* epel: ftp.jaist.ac.jp
* extras: vpsmurah.jagoanhosting.com
* updates: vpsmurah.jagoanhosting.com
211 packages excluded due to repository priority protections
Package centos-release-gluster9-1.0-1.el7.noarch already installed and latest version
Nothing to do
但是当我继续安装glusterfs-server时,出现错误
[root@core11 media]# yum install glusterfs-server
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.labkom.id
* centos-gluster9: vpsmurah.jagoanhosting.com
* epel: ftp.jaist.ac.jp
* extras: vpsmurah.jagoanhosting.com
* updates: vpsmurah.jagoanhosting.com
211 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package glusterfs-server.x86_64 0:9.3-1.el7 will be installed
--> Processing Dependency: glusterfs = 9.3-1.el7 for package: glusterfs-server-9.3-1.el7.x86_64
--> Processing Dependency: glusterfs-cli = 9.3-1.el7 for package: glusterfs-server-9.3-1.el7.x86_6
--> Processing Dependency: liburcu-bp.so.6()(64bit) for package: glusterfs-server-9.3-1.el7.x86_64
--> Processing Dependency: liburcu-cds.so.6()(64bit) for package: glusterfs-server-9.3-1.el7.x86_64
...
Error: Package: libgfrpc0-9.3-1.el7.x86_64 (centos-gluster9)
Requires: liburcu-bp.so.6()(64bit)
Error: Package: glusterfs-9.3-1.el7.x86_64 (centos-gluster9)
Requires: liburcu-cds.so.6()(64bit)
...
我是不是漏掉了一个步骤?
需要安装userpace-rcu,正如上面Knud提到的,因为我使用的是x86_64架构的Centos 7,所以我只需要在安装glusterfs-server之前安装这个包
在
CentOS Linux release 7.9.2009 (Core)
我安装(glusterfs-server
),如图:
yum install dnf -y
dnf -y install centos-release-gluster8
yum install -y glusterfs-server
注意:如果出现
Connection refused
错误,您必须再次尝试输入命令。因为您的互联网连接丢失了。