Skip to content

Instantly share code, notes, and snippets.

@LarsFronius
Created January 11, 2019 13:31
Show Gist options
  • Select an option

  • Save LarsFronius/4f480b8410098d14f40d098cbdc80c6d to your computer and use it in GitHub Desktop.

Select an option

Save LarsFronius/4f480b8410098d14f40d098cbdc80c6d to your computer and use it in GitHub Desktop.

Revisions

  1. LarsFronius created this gist Jan 11, 2019.
    7 changes: 7 additions & 0 deletions rethink.sh
    Original 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