Deploying RethinkDB on a standalone server

If you want to deploy RethinkDB other than on PaaS services then you need to perform a custom installation, which is going to be different per operating system.

To give an example, let's consider the server is running Ubuntu 15.04 and we want to install RethinkDB on it.

To do that, we need to execute the following commands:

  1. First, update Ubuntu:
    sudo apt-get update
    
  2. Install the RethinkDB repository in the repository list of Ubuntu using the following command:
    echo "deb http://download.rethinkdb.com/apt `lsb_release -cs`
          main" >/etc/apt/sources.list.d/rethinkdb.list
    
  3. Install WGET to download the executable files of RethinkDB using the following command:
    sudo apt-get install --y wget
    

  4. Download the RethinkDB repository to the system using the following command:
    wget -O- http://download.rethinkdb.com/apt/pubkey.gpg | apt-key
          add -
    
  5. Update the repository to effect the changes:
    sudo apt-get update
    
  6. Install RethinkDB using the following command:
    apt-get install -y rethinkdb
    

It will take some time to install RethinkDB on your system and, once completed, you can run RethinkDB using the command line.

These steps are going to be similar for any other flavor of Linux distribution, with little change in the commands.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.59.198