Linux
- Visit the official ArangoDB download pageand download the correct package for your Linux distribution. You can findbinary packages for the most common distributions there.
- Debian based packages will ask for a password during installation. For anunattended installation for Debian, see .Red-Hat based packages will set a random password during installation.For other distributions or to change the password, run to set a root password.
- Alternatively, see Compiling if you want to build ArangoDByourself.
- Start up the database server.Normally, this is done by executing the following command:
To stop the server you can use the following command:
unix> /etc/init.d/arangod stop
The exact commands depend on your Linux distribution.You may require root privileges to execute these commands.
Please use the corresponding Ubuntu or Debian packages.
The commands should be executed prior to the installation.
Red-Hat based packages will set a random password during installation.If you want to force a password, execute
The command should be executed after the installation.
To stop the database server gracefully, you caneither press CTRL-C or by send the SIGINT signal to the server process. On many systems this can be achieved with the following command:
unix> kill -2 `pidof arangod`
Once you started the server, there should be a running instance of arangod -the ArangoDB database server.
If there is no such process, check the log file/var/log/arangodb/arangod.log for errors. If you see a log message like
2012-12-03T11:35:29Z [12882] ERROR It seems like you have upgraded the ArangoDB binary. If this is what you wanted to do, please restart with the --database.auto-upgrade option to upgrade the data in the database directory.
Note that you may have to enable logging first. If you start the serverin a shell, you should see errors logged there as well.