如何使用Vagrant安装特定版本的Aerospike

问题描述 投票:1回答:1

我正在执行https://www.aerospike.com/docs/operations/install/vagrant/mac/中的步骤下载Aerospike。但是,默认情况下,我获得了Aerospike的最新版本(4.5.3),并且我想拥有3.7.5版本。

任何有关如何做到这一点的线索都会有所帮助。

谢谢!

aerospike aerospike-ce
1个回答
0
投票

使用的流浪图像是centos6机器。您可以轻松下载任何可用版本,然后将其安装在无业游民的虚拟机上。

以下是删除旧安装并安装版本的步骤:

1)选择RHEL / Centos6 / el6的版本:

https://www.aerospike.com/artifacts/aerospike-server-community/

例如4.7.0.2

https://www.aerospike.com/artifacts/aerospike-server-community/4.7.0.2/aerospike-server-community-4.7.0.2-el6.tgz

验证发行说明:https://www.aerospike.com/download/server/notes.html

2)登录到正在运行的无业游民:

vagrant ssh

3)修改您的resolv.conf以使用公共DNS服务器:

sudo bash -c 'echo "nameserver 8.8.8.8" >> /etc/resolv.conf'

4)获取新图像:

wget https://www.aerospike.com/artifacts/aerospike-server-community/4.7.0.2/aerospike-server-community-4.7.0.2-el6.tgz

5)解压缩并解压缩:

tar xvf aerospike-server-community-4.7.0.2-el6.tgz
aerospike-server-community-4.7.0.2-el6/
aerospike-server-community-4.7.0.2-el6/SHA256SUMS
aerospike-server-community-4.7.0.2-el6/aerospike-tools-3.21.1-1.el6.x86_64.rpm
aerospike-server-community-4.7.0.2-el6/LICENSE
aerospike-server-community-4.7.0.2-el6/asinstall
aerospike-server-community-4.7.0.2-el6/aerospike-server-community-4.7.0.2-1.el6.x86_64.rpm
aerospike-server-community-4.7.0.2-el6/dep-check

6)删除旧的已安装二进制文件:

sudo rpm -e aerospike-server-community

7)安装新的二进制文件:

cd aerospike-server-community-4.7.0.2-el6/

sudo rpm -ivh aerospike-server-community-4.7.0.2-1.el6.x86_64.rpm
© www.soinside.com 2019 - 2024. All rights reserved.