ArangoDB v3.4 reached End of Life (EOL) and is no longer supported.

This documentation is outdated. Please see the most recent version here: Latest Docs

Installing ArangoDB on Linux

To install ArangoDB on Linux:

  1. Visit the official Download page of the ArangoDB web site and download the correct package for your Linux distribution. You can find binary packages for the most common distributions there. Linux Mint: please use the corresponding Ubuntu or Debian packages.
  2. Follow the installation instructions on the Download page to use your favorite package manager for the major distributions. After setting up the ArangoDB repository you can easily install ArangoDB using yum, aptitude, urpmi or zypper.

In addition to installation packages (distribution dependent) a tar.gz archive is available starting from version 3.4.0.

After installation, you may start ArangoDB in several ways. The exact start-up command depends on your Linux distribution, as well as on the type of ArangoDB deployment you are interested in (Single Server, Master-Slave, Active Failover, Cluster, DC2DC).

Please refer to the Deployment chapter for details.

Securing your Installation

Debian / Ubuntu

Debian based packages will ask for a password during installation.

Securing Unattended Installations on Debian

For unattended installations, you can set the password using the debconf helpers:

echo arangodb3 arangodb3/password password NEWPASSWORD | debconf-set-selections
echo arangodb3 arangodb3/password_again password NEWPASSWORD | debconf-set-selections

The commands above should be executed prior to the installation.

Red-Hat / CentOS

Red-Hat based packages will set a random password during installation. The generated random password is printed during the installation. Please write it down somewhere, or change it to a password of your choice by executing:

ARANGODB_DEFAULT_ROOT_PASSWORD=NEWPASSWORD arango-secure-installation

The command should be executed after the installation.

Other Distributions

For other distributions run arango-secure-installation to set a root password.

Please be aware that running arango-secure-installation on your ArangoDB Server will remove all current database users but root.