How To Install ArangoDB on Ubuntu 16.04 LTS

r00t April 10, 2018

Install ArangoDB on Ubuntu 16.04 LTS

In this tutorial we will show you how to install ArangoDB on Ubuntu 16.04 LTS. For those of you who didn’t know, Arango database (ArangoDB) is a multi-model database program, meaning one which uses a combination of Key-Value pairs, files and graphs to store info. It has a flexible information model for files and graphs. It is a general purpose database and gives all attributes which are necessary for a contemporary web application.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation ArangoDB on an Ubuntu 16.04 Xenial Xerus server.

Install ArangoDB on Ubuntu 16.04 LTS

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

Step 2. Installing ArangoDB.

By default, ArangoDB is not available in Ubuntu repository, so you will need to add the ArangoDB repository to your system:

Now add the key with the following command:

Next add the ArangoDB repository to sources.list and update the system again:

Next, install ArangoDB by running the following command:

Once the installation is complete, start the arangodb3 service with the following command:

Step 3. Access ArangoDB CLI.

ArangoDB comes with arangosh that provides a command line shell to access the database. You can create new databases, users, collections, documents, and perform all administrative tasks using this client:

When asked for a password, enter the root password. You should see the following output:

Step 4. Accessing ArangoDB Web Interface.

ArangoDB comes with built-in, user friendly web interface for performing administrative tasks. First, open the arangod.conf file located in the /etc/arangodb3/ directory:

Add your server’s IP address as follows:

Next, open the arangosh.conf file located at /etc/arangodb3/ directory:

Again, add your server’s IP address:

Save the file and restart the ArangoDB service:

Finally steps, Open your favorite web browser and type the URL http://192.168.0.227:8529. This will open up the login screen for the _system db. After entering your login credentials, you will see the ArangoDB splash screen. This concludes my tutorial.

Congratulation’s! You have successfully installed ArangoDB. Thanks for using this tutorial for installing ArangoDB on your Ubuntu 16.04 LTS. For additional help or useful information, we recommend you to check the official ArangoDB web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!
The Tags: