ArangoDB is a free, open-source NoSQL database with a flexible data model for documents, graphs, and key-values. It is a multi-purpose and multi-model database developed by triAGENS GmbH. ArangoDB comes with a simple and easy-to-use web interface and CLI for managing and monitoring databases. It is used in small and large organizations that process large amounts of data. ArangoDB is designed for high-performance and scalable applications that use SQL-like query language.
In this tutorial, we will explain how to install the ArangoDB database on Ubuntu 20.04.
A fresh Ubuntu 20.04 VPS on the Atlantic.net Cloud Platform
A root password configured on your server
Step 1 – Create an Atlantic.Net Cloud Server
First, log in to your Atlantic.Net Cloud Server. Create a new server, choosing Ubuntu 20.04 as the operating system, with at least 2GB RAM. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.
Once you are logged in to your Ubuntu 20.04 server, run the following command to update your base system with the latest available packages.
apt-get update -y
Step 2 – Install ArangoDB
By default, ArangoDB is not available in the Ubuntu 20.04 default repository, so you will need to add the ArangoDB repository to your system.
First, install some required dependencies using the following command-
apt-get install gnupg2 apt-transport-https -y
Once all the dependencies are installed, import the ArangoDB GPG key and add the repository with the following command:
ArangoDB comes with a web-based interface for managing and monitoring ArangoDB. By default, it is configured to access only from the localhost. So you will need to configure ArangoDB for external access. You can configure it by editing the file /etc/arangodb3/arangod.conf:
Find the following line:
endpoint = tcp://127.0.0.1:8529
And replace it with the following line:
endpoint = tcp://your-server-ip:8529
Save and close the file, then restart the ArangoDB service to apply the changes.
systemctl restart arangodb3
Now, open your web browser and type the URL http://your-server-ip:8529. You should see the ArangoDB login page:
Provide your ArangoDB root username and password and click on the Login button. You should see the ArangoDB dashboard in the following page:
In this tutorial, you learned how to install ArangoDB on Ubuntu 20.04. You also learned how to user ArangoDB shell to create a database and user. ArangoDB is a very good alternative to MongoDB and can be used in a mission-critical environment. Get started with ArangoDB on VPS Hosting from Atlantic.Net!