Note
23/4/2026: ssl configured.
9/4/2026: Created.
Intro
ArangoDB is a multi-model data foundation supporting graph, document, key-value, vector, and search models.
See its Features and Capabilities at https://docs.arango.ai/arangodb/stable/features/.
Install ArangoDB
Install its Community Edition from https://arango.ai/downloads/.
Choose Ubuntu / Debian Distribution.
Install via Package Manager by copying the commands to Ubuntu's terminal screen.
Enter a password for "root" during installation.
After installation, normally, ArangoDB login page can be accessed from a browser on the server by entering the address "localhost:8529" or "http://kctang.com.hk:8529".
ArangoDB stores its data here:
- Data directory: /var/lib/arangodb3 - where the actual collections, indexes, and graph data live.
- Log files: /var/log/arangodb3/arangod.log - which logs the startup messages, errors, or query issues.
- Configuration files: /etc/arangodb3/arangod.conf - which defines where the data directory is located, along with ports, authentication, and other server settings.
However, since our web site uses "https://", the address for local or remote browser should be "https://kctang.com.hk:8529".
To enable the use of "https://", execute the following commands:
> sudo -i (switch to root)
> cd /etc/letsencrypt/live/kctang.com.hk (we are using letsencrypt)
> cat fullchain.pem privkey.pem > server.pem (merge the two files to one)
> exit
> micro /etc/arangodb3/arangod.conf (edit conf file, as shown below)
> systemctl restart arangodb3 (restart after editing)
> systemctl status arangodb3 (see status)
> exit (exit root)Edit arangod.conf as follows:
[server]
endpoint = https://0.0.0.0:8529 (replace: endpoint = tcp://127.0.01:8529)
[ssl]
keyfile = /etc/letsencrypt/live/kctang.com.hk/server.pem(ssl configured, 23/4/2026)
Install Python-Arango
Install Python-Arango which is the official ArangoDB driver for use with Python.
Open a Windows Command Prompt terminal or a Windows Powershell terminal.
Execute the following command:
> python3 -m pip install python-arango --upgradeGo to: https://docs.arango.ai/ecosystem/drivers/python/ .
Follow the rest of the page to use Python-Arango.