How To Install OrientDB on Ubuntu 16.04

r00t August 1, 2017

Install OrientDB on Ubuntu 16.04

In this tutorial we will show you how to install OrientDB on your Ubuntu 16.04. For those of you who didn’t know, OrientDB has a multi-model NoSQL database which supports document database with a graph which is a java based application and can be run on any operating system which supports multi-master replication and easy horizontal scaling.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation OrientDB on a Ubuntu 16.04 (xenial xerus) server.

Install OrientDB on Ubuntu 16.04 LTS

Step 1. First, make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

Step 2. Installing Dependencies.

First of all, let’s install dependencies for OrientDB:

Step 3. Installing OrientDB.

Download the latest version of OrientDB by executing the following command, At the moment of writing this article it is version 2.2.22:

Once the package is downloaded we will untar and move the extracted folder to the /opt/orientdb:

Step 4. Starting the OrientDB Server.

Change to the /opt/orientdb folder and start the OrientDB database server:

OrientDB should now prompt for the root password with a message like the one below:

Step 5. Configure OrientDB Daemon.

Create a system user which we want to run OrientDB here we assume orientdb user:

Find the below line in the configuration and change them to:

Once the configuration is done, change the configuration server file’s permission:

Step 6. Install the Systemd service OrientDB.

First, we needed to copy the file to /etc/system/services folder:

Edit the OrientDB service file:

Reload systemd daemon service:

Start OrientDB and enable for starting at boot time:

Congratulation’s! You have successfully installed OrientDB. Thanks for using this tutorial for installing OrientDB on Ubuntu 16.04 (xenial xerus) server. For additional help or useful information, we recommend you to check the official OrientDB web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

Share on Google+0Share on Facebook0Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon1Share on Reddit1Pin on Pinterest2
The Tags:

Leave a Comment