Skip to content

Instantly share code, notes, and snippets.

@allexiusw
Last active November 15, 2019 16:08
Show Gist options
  • Save allexiusw/c41f00b1c756ca45e1416bfdd9071ae8 to your computer and use it in GitHub Desktop.
Save allexiusw/c41f00b1c756ca45e1416bfdd9071ae8 to your computer and use it in GitHub Desktop.
couchdb installation
#!/bin/bash
sudo su
#add repo as root
echo "deb https://apache.bintray.com/couchdb-deb stretch main" | sudo tee -a /etc/apt/sources.list
#add key
curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -
#install htpps package
apt install apt-transport-https
#get packages available
apt update
#install couchdb
apt install couchdb
#check couchdb status
systemctl status couchdb.service
#only if you don't have netstat installed
apt install net-tools
#check ports listening
netstat -tlp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment