Installing ArangoDB on Linux
To install ArangoDB on Linux:
- Visit the official Download page of theArangoDB 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.
- Follow the installation instructions on the Download page to use yourfavorite package manager for the major distributions. After setting up the ArangoDBrepository you can easily install ArangoDB using yum, aptitude, urpmi or zypper.
In addition to installation packages (distribution dependent) a tar.gz
archiveis available starting from version 3.4.0.
After installation, you may start ArangoDB in several ways. The exact start-up commanddepends on your Linux distribution, as well as on the type of ArangoDB deployment youare 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 thedebconf 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 generatedrandom 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 removeall current database users but root.