ArangoDB v3.12 is under development and not released yet. This documentation is not final and potentially incomplete.
create data directory
You’ve already built a custom version of ArangoDB and want to run it
Once you built a custom version of ArangoDB (see Compiling), you may want to run it using existing data or possibly in isolation from an existing installation.
We assumes that you are in the root directory of the ArangoDB distribution and compiling has successfully finished.
Note that this guide is for Linux only.
This part shows how to run your custom build with an empty database directory
This part shows how to run your custom build with the config and data from a pre-existing stable installation.
When running like this, you must run the db as the arangod user (the default installed by the package) in order to have write access to the log, database directory etc. Running as root will likely mess up the file permissions - good luck fixing that!
# become root first
# now switch to arangod and run
su - arangod
bin/arangod --configuration /etc/arangodb/arangod.conf