【问题标题】:How to install a specific version of Aerospike using Vagrant如何使用 Vagrant 安装特定版本的 Aerospike
【发布时间】:2019-10-14 16:33:36
【问题描述】:

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

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

谢谢!

【问题讨论】:

  • 为什么要运行 3.7.5,那个版本已经快 4 年了。

标签: aerospike aerospike-ce


【解决方案1】:

使用的 vagrant 镜像是 centos6 机器。您可以轻松下载任何可用版本并安装在您的 vagrant vm 上。

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

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:

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

【讨论】:

    猜你喜欢
    • 2014-07-19
    • 1970-01-01
    • 1970-01-01
    • 2020-01-16
    • 2021-12-03
    • 2017-11-21
    • 2017-04-16
    • 2018-11-17
    • 1970-01-01
    相关资源
    最近更新 更多