How To Install OrientDB on CentOS 7

Install OrientDB on CentOS 7

In this tutorial we will show you how to install OrientDB on your CentOS 7 server. 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 open source NoSQL database management system on a CentOS 7 server.

Install OrientDB on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Installing OrientDB.

First of all, create a new user to run OrientDB:

Now you can download the OrientDB binary archive by running the following command:

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

Make the orientdb user the owner of the extracted files:

Step 3. Starting the OrientDB Server.

OrientDB provides an installer script for you to start the server. Switch to the OrientDB user:

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

Step 4. Configure OrientDB Daemon.

Create a new ststemd service to easily manage OrientDB start and stop:

Paste the following content:

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 open source NoSQL database management on your CentOS 7 system. 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!