Page tree
Skip to end of metadata
Go to start of metadata

Installing ArangoDB

ArangoDB 3.2.1 or greater (64-bit) has been tested against the following platforms:

  • Debian 8, 
  • Debian 9, 
  • Ubuntu 16.04, 
  • Ubuntu 17.04,
  • CentOS 7.

Download ArangoDB 3.2.x from Each 

For Windows installation, see Centro Windows Database Installation.

Setting Up EndPoint

After installation, you need to bind the ArangoDB service to listen on all inbound endpoints. You can do this by editing the config file as follows:

cat /etc/arangodb3/arangod.conf | sed 's/endpoint = tcp:\/\/ = tcp:\/\/' > /etc/arangodb3/ ; cp /etc/arangodb3/ /etc/arangodb3/arangod.conf 
service arangodb3 restart


Deploying the Centro Database

Alongside the installation files for Centro, you should find a folder named “Deploy” which contains the necessary scripts to install your Centro database.

After copying the “Deploy” folder to your Linux machine, run the following shell script to deploy the database:

./ -u MyUser -p MyPassword
You can view the list of available arguments by running:
./ -h  

You will see some output indicating the deployment steps being carried out.

Congratulations, your Centro database is now deployed! When updates become available, you will be able to use the same setup script to install any updates to your database.

You can view the database from http://<Server-IP>:8529/_db/<Database –Name>/

Where Server-IP is the IP address of the server machine you installed ArangoDB on, and Database-Name is the name you used when deploying the database (ActifyDB by default).

If you do not know the IP address of the machine, you can check it by running:


The IP address will be under inet addr: in the output of the command. This will be the one which corresponds to the eth0 adapter and not local loopback (i.e. the address should not be


Creating a Database User

It is strongly recommended from a security perspective to use a database user other than the root when installing the web application and services. The following can be used to create the user from Linux.

The ArangoDB web GUI can also be used. It is important to set read/write privileges for the user on the ActifyDB database.

require("@arangodb/users").grantCollection("username", "ActifyDB", "*", "rw")
  • No labels