ubuntu - 在 Ubuntu Server 16.04 上安装 CouchDB 2.1

标签 ubuntu couchdb-2.x

有人知道如何在 Ubuntu Server 16.04 上安装 CouchDB 吗?

手册在CouchDB docs似乎已损坏,一个简单的 apt-get install couchdb 导致版本 1.6.1。

最佳答案

这将安装 CouchDB 2.1:

  1. 使用您喜欢的编辑器将“deb https://apache.bintray.com/couchdb-deb xenial main”添加到/etc/apt/sources.list
  2. 将公钥添加到apt:

    curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -

  3. 根据您的设置,您可能需要为 apt 安装 https

    sudo apt-get install apt-transport-https

  4. 更新 apt 并安装!

    sudo apt-get update && sudo apt-get install couchdb

关于ubuntu - 在 Ubuntu Server 16.04 上安装 CouchDB 2.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46004317/

相关文章:

java - 双击可执行 jar 时 Runtime.getRuntime().exec() 不起作用

ubuntu - 如何在 http 而不是 https 上部署 Predictionio

linux - 在 .deb 包的 Postinst 脚本中动态获取用户名

node.js - 如何在Azure(Ubuntu VM)上管理私有(private)公共(public)端口?

java - 如何将 Oracle 的 Java 设置为 Ubuntu 中的默认 Java?