0

我在 linux 包管理方面的经验有限,我正在努力研究应该是一个简单的 glusterfs 包安装。

首先我启用回购

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

然后我安装:

yum -y install glusterfs-server

但是我认为最新的软件包参考存在一些问题:

yum install glusterfs
Loaded plugins: priorities, update-motd, upgrade-helper
http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/EPEL.repo/epel-latest/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/EPEL.repo/epel-latest/noarch/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
No package glusterfs available.
Error: Nothing to do

我已经尝试编辑 glusterfs-epel.repo 以覆盖基于的 url,但我无法安装工作包。

我在一个新的亚马逊 AMI 上:

cat /etc/*elease
NAME="Amazon Linux AMI"
VERSION="2015.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2015.09"
PRETTY_NAME="Amazon Linux AMI 2015.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2015.09:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
Amazon Linux AMI release 2015.09
4

3 回答 3

0

该问题已通过正确启用 EPEL 得到解决

http://website-humblec.rhcloud.com/gluster-3-7-upgrade-in-el-systems/

于 2016-02-22T15:19:56.587 回答
0

如果你在 Centos 上,你还可以这样做:

yum install centos-release-gluster37 

或者更新的版本。

于 2016-04-09T17:52:07.437 回答
-1

截至 2020/10/14 的 GlusterFS 最新版本:-

vatsa@vatsa-VirtualBox:~$ glusterfs --version
glusterfs 2020.10.14
Repository revision: git://git.gluster.org/glusterfs.git
Copyright (c) 2006-2016 Red Hat, Inc. <https://www.gluster.org/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.

// 我有源代码版本而不是包。

于 2020-10-15T04:58:39.447 回答