Created
January 11, 2019 13:31
-
-
Save LarsFronius/4f480b8410098d14f40d098cbdc80c6d to your computer and use it in GitHub Desktop.
Revisions
-
LarsFronius created this gist
Jan 11, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ #!/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