[英]How to update arangodb if I change the OS
I installed arangodb on Ubuntu 14.04 LTS, after that, I upgrade my ubuntu to 15.10 and soon will upgrade it to 16.04 LTS, what should I do to my arangodb? 我在Ubuntu 14.04 LTS上安装了arangodb,此后,我将ubuntu升级到15.10,很快将其升级到16.04 LTS,对我的arangodb应该怎么办? Should I re-install based on my Ubuntu version, or there is some workaround to do?
是否应该基于Ubuntu版本重新安装,或者有一些解决方法?
Thank you, Elmer 谢谢埃尔默
Since ArangoDB offers all releases across recent Ubuntu versions, (we need gcc 4.9 at least to build the releases) you should be able to update/upgrade ArangoDB at a different pace than your OS. 由于ArangoDB提供了最新Ubuntu版本的所有发行版(至少需要gcc 4.9才能构建发行版),因此您应该能够以与操作系统不同的速度来更新/升级ArangoDB。 Means:
手段:
You should be able to achieve this by simply properly configuring your apt sources.list; 您应该可以通过简单地正确配置apt sources.list来实现这一目标。 You first download and add the Signature key to your packaging system:
您首先下载并将签名密钥添加到打包系统中:
wget https://www.arangodb.com/repositories/arangodb2/xUbuntu_14.10/Release.key
apt-key add - < Release.key
Use apt-get to install arangodb: 使用apt-get安装arangodb:
echo 'deb https://www.arangodb.com/repositories/arangodb2/xUbuntu_14.10/ /' |\
sudo tee /etc/apt/sources.list.d/arangodb.list
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install arangodb=2.8.7
Once you do the upgrade to 15.10, you edit /etc/apt/sources.list.d/arangodb.list
and change the ubuntu release to 15.10, and run 升级到15.10后,您可以编辑
/etc/apt/sources.list.d/arangodb.list
并将ubuntu版本更改为15.10,然后运行
sudo apt-get update
sudo apt-get install arangodb=2.8.7
to get the package for the new OS release. 获取新OS版本的软件包。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.