We have already talked about Debian on several occasions on this site, it is well known that is a stable, robust and almost infallible system. For this reason, it has become a safe bet for Database administrators and Developers. Today, I will talk about a database manager that has been gaining a good reputation among database administrators worldwide for being powerful and versatile, today I will talk about, How to install ArangoDB on Debian 9?
What is ArangoDB?
On the other hand, to offer graph functionalities, they make use of _from and _to attributes that allow connecting the information. This, in conjunction with edge indexes, allows the processing of graph queries with a great performance.
Let’s install it on Debian 9
In its website download section ArangoDb has two versions: an Enterprise version dedicated to companies and large projects; and another community version that is ideal for small projects or to learn. In this tutorial, I will use the last one.
I’ll use the command line interface and a user with sudo privileges, so let’s get started. Open a terminal and run:
:~$ sudo -i
After entering your password, you will be the root user.
Now you must add the repository so that ArangoDB packages can be installed via APT. Run:
:~# curl -OL https://download.arangodb.com/arangodb33/Debian_9.0/Release.key
Note: If you don’t have curl installed, you’ll need to do it with
apt install curl.
After that, you must run:
:~# apt-key add - < Release.key
:~# echo 'deb https://download.arangodb.com/arangodb33/Debian_9.0/ /' | sudo tee /etc/apt/sources.list.d/arangodb.list
Now, you must install a necessary package and then refresh the repositories.
:~# apt install apt-transport-https :~# apt update
And finally, proceed to install ArangoDB:
:~# apt install arangodb3=3.3.14
At the end of the installation, you must define the administrator password of the ArangoDB instance.
After entering the password, you will have to repeat it and then you will be asked if you want the program to update automatically.
On the next screen, you will be asked about the storage engine. Choose the auto option.
Finally, it will ask you if you want to make a backup of your database every time the package is updated.
And finally, the installation will continue automatically.
Verifying the installation
At this point in the tutorial, the installation went smoothly, however, to make sure everything is working, run:
:~# systemctl status arangodb3.service
You should get a message similar to the one shown in the image. The service is running and active.
The ArangoDB package comes with the following programs:
- arangod: The ArangoDB database daemon.
- arangosh: The ArangoDB shell.
- arangoimp: A bulk importer for the ArangoDB server.
- arangodump: A tool to create backups of an ArangoDB database in JSON format.
- arangorestore: A tool to load data of a backup back into an ArangoDB database.
- arango-dfdb: A datafile debugger for ArangoDB
- arangobench: A benchmark and test tool.
In addition, there is also a beautiful web interface to manage our data in a friendly way. You can access from the browser, with the IP address of the server and port 8529.
Log in. The user is root and the password is the one you defined during the installation.
Next, you will select which database to access.
Once you have logged in, you will see the main panel, with a lot of information about your instance.
And that’s it. Finally, I recommend you consult their official documentation, where you can expand this and other knowledge.
ArangoDB is a program that is having a lot of recent success due to its easy handling and robustness, in addition to its flexibility which makes it ideal for complex tasks.
Tell us your experience in the comments.
Please share this article through social networks.