我正在遵循https://www.aerospike.com/docs/operations/install/vagrant/mac/中的步骤 中的步骤下载 Aerospike。但是,默认情况下,我获得了 Aerospike (4.5.3) 的最新版本,并且我想要 3.7.5 版本。
任何有关如何做到这一点的线索都会有所帮助。
谢谢!
我正在遵循https://www.aerospike.com/docs/operations/install/vagrant/mac/中的步骤 中的步骤下载 Aerospike。但是,默认情况下,我获得了 Aerospike (4.5.3) 的最新版本,并且我想要 3.7.5 版本。
任何有关如何做到这一点的线索都会有所帮助。
谢谢!
使用的 vagrant 镜像是 centos6 机器。您可以轻松下载任何可用版本并安装在您的 vagrant vm 上。
以下是删除旧安装并安装版本的步骤:
1) 为 RHEL/Centos6/el6 选择您的版本:
https://www.aerospike.com/artifacts/aerospike-server-community/
例如 4.7.0.2
验证发行说明: 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