简体   繁体   English

如果更改操作系统,如何更新arangodb

[英]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: 手段:

  • Follow the ArangoDB Blog where we anounce releases including the changes and bugfixes. 关注我们发布版本(包括更改和错误修正)的ArangoDB博客
  • keep up with the latest released ArangoDB for your Ubuntu release 跟上您Ubuntu版本的最新发布的ArangoDB
  • Once a new Ubuntu is released, update the OS, and install the ArangoDB package for your new OS which should in term be the same release as you had before. 一旦发布了新的Ubuntu,请更新操作系统,并为您的新操作系统安装ArangoDB软件包,该软件包应与以前的版本相同。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM