Does anyone know how to install CouchDB on Ubuntu Server 16.04?
The manual in the CouchDB docs seems to be broken and a simple apt-get install couchdb
results in Version 1.6.1.
Does anyone know how to install CouchDB on Ubuntu Server 16.04?
The manual in the CouchDB docs seems to be broken and a simple apt-get install couchdb
results in Version 1.6.1.
This will install CouchDB 2.1:
Add the public key to apt:
curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -
Depending on your setup you may need to install https for apt
sudo apt-get install apt-transport-https
Update apt and install!
sudo apt-get update && sudo apt-get install couchdb
Try the snap for CouchDB, there isn't an apt package for CouchDB 2.1 yet. http://docs.couchdb.org/en/latest/install/snap.html. (If this is what you already tried from the manual and it didn't work, share any error messages you received)
I setup CouchDB 2.1.1 on a Digital Ocean droplet, running on Ubuntu 16 (xenial), with HTTPS (using a Let's encrypt free certificate).
Rough steps where as follows,
I later saw the following which was close to what I did and one of the better guides available, https://www.joshmorony.com/creating-a-couchdb-database-on-an-ubuntu-server-digital-ocean/
You can use this script to install coushDB 2.x on Ubuntu 16.04 : https://github.com/afiskon/install-couchdb :
mkdir temp
cd temp
wget https://raw.githubusercontent.com/afiskon/install-couchdb/master/install-couchdb.sh
sh install-couchdb.sh
# then see http://localhost:5984/_utils/