{"id":17699,"date":"2016-03-18T16:50:41","date_gmt":"2016-03-18T21:50:41","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=17699"},"modified":"2023-03-08T04:38:16","modified_gmt":"2023-03-08T10:38:16","slug":"install-rethinkdb-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-rethinkdb-on-ubuntu-14-04\/","title":{"rendered":"Install RethinkDB on Ubuntu"},"content":{"rendered":"
<\/p>\n
We’ll show you, how to install Install RethinkDB on Ubuntu. RethinkDB is an open-source non-SQL database for realtime web applications. It pushes JSON to the web application in realtime and makes the JSON querying much simplified. Therefore, the web application becomes much more stable and responds much faster. It is very easy to install and run RethinkDB on a Linux VPS<\/a>. Today we will show you how to do that on Ubuntu 14.04. First thing you need to do is to login to your Ubuntu VPS<\/a> and update all your system software to the latest version. If you do not know how to connect to your Linux VPS via SSH<\/a>, you can check our guide. Upgrading your system software will make your system much secure, so go ahead and run the following commands:<\/p>\n The upgrade should take few moments and once\u00a0it is completed, you are ready to go with the next step. To install RethinkDB you need to add new repository to your system. This is because RethinkDB is not included in the default Ubuntu repositories. Therefore, run the following commands to do that:<\/p>\n After that, you can immediately update your package index by running the following command:<\/p>\n Once the package index is up to date you are ready to install RethinkDB on your system. This can be achieved by running the last command:<\/p>\n Congratulations, you have successfully installed RethinkDB on an Ubuntu VPS<\/a>.<\/p>\n What’s next?<\/p>\n To start using RethinkDB you need to start the service. For that purpose you can use the following command:<\/p>\n RethinkDB will be started in the background so you can access the database web interface by entering your server IP address followed by port number 8080 in your favorite web browser. For example, if your server IP address is 12.34.56.78 you can open your favorite web browser and access the database web interface at:<\/p>\n Although the RethinkDB is installed on your server, you need to install a client driver. RethinkDB allows querying JSON documents in your web application by using languages like Python, Ruby, JavaScript and many others, so make sure that the proper client driver is installed on your Ubuntu system.<\/p>\n See the full list of official client drivers<\/a> and community-supported drivers as well as the client driver installation instructions.<\/p>\n Additionally, to learn about how to get started with RethinkDB and develop your first web application you should check the official RethinkDB documentation<\/a>.<\/p>\n Of course you don\u2019t have to\u00a0install RethinkDB on Ubuntu, if you use one of our Managed Ubuntu VPS hosting<\/a> services, in which case you can simply ask our expert Linux admins to install RethinkDB for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS. If you liked this post, on how to install RethinkDB on Ubuntu, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" We’ll show you, how to install Install RethinkDB on Ubuntu. RethinkDB is an open-source non-SQL database for realtime web applications. … <\/p>\n
\n<\/p>\nsudo apt-get update\r\nsudo apt-get upgrade<\/pre>\n
source \/etc\/lsb-release && echo \"deb http:\/\/download.rethinkdb.com\/apt $DISTRIB_CODENAME main\" | sudo tee \/etc\/apt\/sources.list.d\/rethinkdb.list\r\nwget -qO- http:\/\/download.rethinkdb.com\/apt\/pubkey.gpg | sudo apt-key add -\r\n<\/pre>\n
sudo apt-get update<\/pre>\n
sudo apt-get install rethinkdb<\/pre>\n
rethinkdb --bind all &<\/pre>\n
http:\/\/12.34.56.78:8080<\/pre>\n