我对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来覆盖基础网址,但我无法安装工作包。
我正在使用新的Amazon 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
答案 0 :(得分:0)
答案 1 :(得分:0)
如果你在Centos上,你也可以这样做:
yum install centos-release-gluster37
或者是新版本。
答案 2 :(得分:-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.
//我有源代码版本而不是软件包。