Skip to content

Instantly share code, notes, and snippets.

@LarsFronius
Created January 11, 2019 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LarsFronius/4f480b8410098d14f40d098cbdc80c6d to your computer and use it in GitHub Desktop.
Save LarsFronius/4f480b8410098d14f40d098cbdc80c6d to your computer and use it in GitHub Desktop.
rethinkdb installation post removal
#!/bin/bash
source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
apt update && apt install -y rethinkdb
cp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/instance1.conf
echo 'http-port=50836' >> /etc/rethinkdb/instances.d/instance1.conf
service rethinkdb start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment