<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>orientdb Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/orientdb/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 28 Nov 2019 00:13:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install OrientDB in Windows 10</title>
		<link>https://www.osradar.com/how-to-install-orientdb-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-orientdb-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Thu, 28 Nov 2019 12:12:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Javascritpt]]></category>
		<category><![CDATA[orientdb]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16014</guid>

					<description><![CDATA[<p>Hey, what&#8217;s up? This time we&#8217;re going to talk about databases. Specifically about OrientDB. This is a NoSQL database manager made in java focused on combining the model of documents and graphs to make robust applications without the need to have more than one data manager. OrientDB handles 2 APIs, graphics and documents, as far [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-orientdb-in-windows-10/">How to install OrientDB in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hey, what&#8217;s up? This time we&#8217;re going to talk about databases. Specifically about OrientDB. This is a NoSQL database manager made in java focused on combining the model of documents and graphs to make robust applications without the need to have more than one data manager. OrientDB handles 2 APIs, graphics and documents, as far as graphics are concerned, it uses documents to create its nodes. On the other hand, for documents, it uses keys and objects to store data. It also includes interesting features to the document model, such as the ability to create links to other documents and lists. It is also possible to define the rigidity of the model, giving the option to choose mandatory fields. This database manager is a good option for developers. For that reason, let&#8217;s see how to install OrientDB on Windows 10.</p>



<h2>Prerequisite.</h2>



<p>OrientDB is written in Java. For this reason, it is essential to have Java Run Environment installed. If you don&#8217;t have it yet, you can download it from the following <a rel="noreferrer noopener" aria-label="link (opens in a new tab)" href="https://www.java.com/en/download/windows-64bit.jsp" target="_blank">link</a>. Once you download the file, you only have to install it like any other program for Windows. To verify the installation, open a Command Prompt and type the following command:</p>



<pre class="wp-block-preformatted">java -version</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient.jpg" alt="Testing the Java version" class="wp-image-16016" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Testing the Java version</figcaption></figure>



<p>If everything is in order, you will see the Java version installed.</p>



<h2>Downloading OrientDB</h2>



<p>First, go to the <a rel="noreferrer noopener" aria-label="download (opens in a new tab)" href="https://orientdb.org/download" target="_blank">download</a> section of OrientDB. Once there, select the Community Edition for Windows:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient7-1.jpg" alt="" class="wp-image-16021" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient7-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient7-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient7-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient7-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient7-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient7-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>The file is compressed in ZIP format. For convenience, unzip it at the root of the Windows installation. In most cases, it is the C:\ drive.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient8.jpg" alt="Unzip the folder at the root of the Windows 10 installation.
" class="wp-image-16022" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient8.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient8-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient8-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient8-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient8-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient8-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Unzip the folder at the root of the Windows 10 installation.</figcaption></figure>



<h2>Running OrientDB for the first time.</h2>



<p>Then go to the following path: <strong>C:\orientdb-3.0.25\bin</strong>. Now let&#8217;s start the database manager, double-clicking on the file <em>server.bat</em></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient9.jpg" alt="Runs the file server.bat" class="wp-image-16024" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient9.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient9-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient9-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient9-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient9-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient9-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Runs the file server.bat</figcaption></figure>



<p>This will start the server by opening a CMD console and you will see the following:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient4.jpg" alt="" class="wp-image-16027" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient4.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient4-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient4-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient4-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient4-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient4-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>The wizard will ask you to assign the password for the root user. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient3-1.jpg" alt="Assigns the password for the root user." class="wp-image-16028" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient3-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient3-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient3-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient3-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient3-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient3-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Assigns the password for the root user.</figcaption></figure>



<p>If you want to start the manager using the CMD, you only need to go to  the bin folder of the program, and then run <em>server.bat.</em></p>



<pre class="wp-block-preformatted">cd..
cd..
cd orientdb-3.0.25
cd bin
server.bat</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient10.jpg" alt="Running OrientDB on a Command Prompt" class="wp-image-16030" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient10.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient10-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient10-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient10-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient10-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient10-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Running OrientDB on a Command Prompt</figcaption></figure>



<p><strong>Running the console</strong> − You can use the following command to run OrientDB under the console. With this in mind, go to the same previous path and run the following command:</p>



<pre class="wp-block-preformatted">console.bat</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="979" height="512" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient11.jpg" alt="Running console.bat" class="wp-image-16032" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient11.jpg 979w, https://www.osradar.com/wp-content/uploads/2019/11/orient11-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient11-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient11-696x364.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient11-803x420.jpg 803w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Running console.bat</figcaption></figure>



<p>Once the server is started, go to the web browser and enter the following in the navigation bar:  <strong>http://localhost:2480</strong>. You have to enter the password created for the root user.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient5.jpg" alt="OrientDB Studio. Please enter root password." class="wp-image-16034" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient5.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient5-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient5-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient5-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient5-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient5-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>OrientDB Studio. Please enter root password.</figcaption></figure>



<p>After entering the password correctly, you will see the OrientDB graphical interface. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient6.jpg" alt="OrientDB Studio" class="wp-image-16036" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient6.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient6-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient6-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient6-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient6-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient6-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>OrientDB Studio</figcaption></figure>



<p>To shutdown the engine, you need to run the following command from the bin folder:</p>



<pre class="wp-block-preformatted">shutdown.bat -p rootpasword</pre>



<p>Remember to replace <em>rootpassword</em> with the password you created.  </p>



<h2>Conclusion</h2>



<p>Finally, we have seen how to install OrientDB in Windows 10. Now you can enjoy the advantages of this NoSQL database manager. All right, that&#8217;s it for the moment. Before saying goodbye, I invite you to read our tutorial about <a rel="noreferrer noopener" aria-label="chocolatey (opens in a new tab)" href="https://www.osradar.com/how-to-install-chocolatey-in-windows-10/" target="_blank">chocolatey</a> in Windows 10</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-orientdb-in-windows-10/">How to install OrientDB in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-orientdb-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install OrientDB on Debian 10?</title>
		<link>https://www.osradar.com/install-orientdb-debian-10/</link>
					<comments>https://www.osradar.com/install-orientdb-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 14 Nov 2019 23:17:44 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[NoSQL]]></category>
		<category><![CDATA[orientdb]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15391</guid>

					<description><![CDATA[<p>In this post, I will show you how to install OrientDB on Debian 10. OrientDB is an open source NoSQL database management system written in Java. One of its main features is that it is not only NoSQL based but also very fast. Especially in large projects where performance is indispensable. Of course, an application [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-orientdb-debian-10/">How to install OrientDB on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>In this post, I will show you how to install OrientDB on Debian 10.</strong></p>
<p><a href="https://orientdb.com/" rel="noopener">OrientDB</a> is an open source NoSQL database management system written in <a href="https://www.osradar.com/how-to-install-oracle-java-on-ubuntu-18-10/" rel="noopener">Java</a>. One of its main features is that it is not only <a href="https://www.osradar.com/tag/nosql/" target="_blank" rel="noopener noreferrer">NoSQL</a> based but also very fast. Especially in large projects where performance is indispensable.</p>
<p>Of course, an application of OrientDB quality is expected to have an enterprise version, aimed at companies and that is not free; however, we also have a community version.</p>
<p>For this tutorial we will use the community version. I recommend you to visit the <a href="https://orientdb.com/" target="_blank" rel="noopener noreferrer">OrientDB website</a> to read all its features.</p>
<p>So, let us start.</p>
<h2>Getting OrientDB on Debian 10</h2>
<h3>1) Install Java on Debian 10</h3>
<p>The first step is to install Java. This is because OrientDB is an application created with Java. So we need the Java JRE. You can use the Oracle version or the official repositories version.</p>
<p>Then, open a terminal session and run the following:</p>
<pre>:~$ sudo apt install openjdk-11-jre</pre>
<figure id="attachment_15528" aria-describedby="caption-attachment-15528" style="width: 1341px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15528" src="https://www.osradar.com/wp-content/uploads/2019/11/1-7.png" alt="1.- Installing Java on Debian 10" width="1341" height="453" srcset="https://www.osradar.com/wp-content/uploads/2019/11/1-7.png 1341w, https://www.osradar.com/wp-content/uploads/2019/11/1-7-300x101.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/1-7-768x259.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/1-7-1024x346.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/1-7-696x235.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/1-7-1068x361.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/1-7-1243x420.png 1243w" sizes="(max-width: 1341px) 100vw, 1341px" /><figcaption id="caption-attachment-15528" class="wp-caption-text">1.- Installing Java on Debian 10</figcaption></figure>
<p>After finishing the installation, check the installed version:</p>
<pre>:~$ java -version<br />openjdk version "11.0.5" 2019-10-15<br />OpenJDK Runtime Environment (build 11.0.5+10-post-Debian-1deb10u1)<br />OpenJDK 64-Bit Server VM (build 11.0.5+10-post-Debian-1deb10u1, mixed mode, sharing)</pre>
<p>So, everything is OK. We can continue.</p>
<h3>2) Install OrientDB on Debian 10</h3>
<p>Now it is OrientDB&#8217;s turn. To do this, we will first have to download its binaries from the project&#8217;s website. Remember that we are using the community version.</p>
<pre>:~$ cd /tmp/<br />:~$ wget -c https://s3.us-east-2.amazonaws.com/orientdb3/releases/3.0.24/orientdb-3.0.24.tar.gz</pre>
<figure id="attachment_15529" aria-describedby="caption-attachment-15529" style="width: 1363px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15529" src="https://www.osradar.com/wp-content/uploads/2019/11/2-7.png" alt="2.- Download and install OrientDB on Debian 10" width="1363" height="283" srcset="https://www.osradar.com/wp-content/uploads/2019/11/2-7.png 1363w, https://www.osradar.com/wp-content/uploads/2019/11/2-7-300x62.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/2-7-768x159.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/2-7-1024x213.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/2-7-696x145.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/2-7-1068x222.png 1068w" sizes="(max-width: 1363px) 100vw, 1363px" /><figcaption id="caption-attachment-15529" class="wp-caption-text">2.- Download and install OrientDB on Debian 10</figcaption></figure>
<p>After this, unzip the file and move the folder to <code>/opt/orientdb</code></p>
<pre>:~$ tar xvf orientdb-3.0.24.tar.gz<br />:~$ sudo mv orientdb-3.0.24 /opt/orientdb</pre>
<p>For security reasons, it is advisable to create a new user for OrientDB. On top of that, you have to give it ownership of the folder.</p>
<pre class="">:~$ sudo groupadd -r orientdb
:~$ sudo useradd --system -g orientdb orientdb
:~$ sudo chown -R orientdb:orientdb /opt/orientdb</pre>
<p>Now we can get the server up and running. To do this, access the /opt/orientdb/bin/ folder and run the server.sh file.</p>
<pre>:~$ cd /opt/orientdb/bin/<br />:~$ sudo ./server.sh</pre>
<figure id="attachment_15530" aria-describedby="caption-attachment-15530" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15530" src="https://www.osradar.com/wp-content/uploads/2019/11/4-6.png" alt="4.- Starting OrientDB on Debian 10" width="1365" height="717" srcset="https://www.osradar.com/wp-content/uploads/2019/11/4-6.png 1365w, https://www.osradar.com/wp-content/uploads/2019/11/4-6-300x158.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/4-6-768x403.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/4-6-1024x538.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/4-6-696x366.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/4-6-1068x561.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/4-6-800x420.png 800w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-15530" class="wp-caption-text">4.- Starting OrientDB on Debian 10</figcaption></figure>
<p>If this is your first time running the server, you will need to define a root key. When you write and confirm it, OrientDB will start.</p>
<figure id="attachment_15531" aria-describedby="caption-attachment-15531" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15531" src="https://www.osradar.com/wp-content/uploads/2019/11/5-5.png" alt="5.- OrientDB running" width="1365" height="470" srcset="https://www.osradar.com/wp-content/uploads/2019/11/5-5.png 1365w, https://www.osradar.com/wp-content/uploads/2019/11/5-5-300x103.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/5-5-768x264.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/5-5-1024x353.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/5-5-696x240.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/5-5-1068x368.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/5-5-1220x420.png 1220w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-15531" class="wp-caption-text">5.- OrientDB running</figcaption></figure>
<p>Now you can open your web browser to access the graphical interface provided by the application. You can access it from the following address <code>http://IP_SERVER:2480/studio/index.html</code>. Remember that port must be open in the Firewall.</p>
<p>So, type your credentials. The user is root and the password what you defined before.</p>
<figure id="attachment_15532" aria-describedby="caption-attachment-15532" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15532" src="https://www.osradar.com/wp-content/uploads/2019/11/6.png" alt="6.- OrientDB web interface" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/11/6-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/6-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/6-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/6-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/6-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/11/6-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/6-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/6-858x420.png 858w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-15532" class="wp-caption-text">6.- OrientDB web interface</figcaption></figure>
<p>Next, click on the connect button. And you can start to work with OrientDB.</p>
<figure id="attachment_15533" aria-describedby="caption-attachment-15533" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-15533 size-full" src="https://www.osradar.com/wp-content/uploads/2019/11/7.png" alt="7.- OrientDB web interface running on Debian 10" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/7.png 1366w, https://www.osradar.com/wp-content/uploads/2019/11/7-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/7-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/7-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/7-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/7-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/11/7-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/7-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/7-858x420.png 858w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-15533" class="wp-caption-text">7.- OrientDB web interface running on Debian 10</figcaption></figure>
<p>So, that is it.</p>
<h2>Conclusion</h2>
<p>There are many applications that can store data. These applications known as database management systems are vital for application development. Well, OrientDB focuses a lot on the professional and large scale but we will always be able to use it in our projects because we just learned how to install it.</p>


<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-orientdb-debian-10/">How to install OrientDB on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-orientdb-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install OrientDB on RHEL 8 / CentOS 8</title>
		<link>https://www.osradar.com/install-orientdb-on-rhel-8-centos-8/</link>
					<comments>https://www.osradar.com/install-orientdb-on-rhel-8-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Thu, 19 Sep 2019 20:58:39 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[orientdb]]></category>
		<category><![CDATA[RHEL]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13532</guid>

					<description><![CDATA[<p>OrientDB is an open source NoSQL database management system written in Java. It is a Multi-model database, supporting graph, document, key/value, and object models but the relationships are managed as in graph databases with direct connections between records. It supports schema-less, schema-full and schema-mixed modes. It has a strong security profiling system based on users [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-orientdb-on-rhel-8-centos-8/">Install OrientDB on RHEL 8 / CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>OrientDB is an open source NoSQL database management system written in Java. It is a Multi-model database, supporting graph, document, key/value, and object models but the relationships are managed as in graph databases with direct connections between records. It supports schema-less, schema-full and schema-mixed modes. It has a strong security profiling system based on users and roles and supports querying with Gremlin along with SQL extended for graph traversal. OrientDB uses several indexing mechanisms based on B-tree and Extendible hashing, the last one is known as &#8220;hash index&#8221;, there are plans to implement LSM-tree and Fractal tree index based indexes. Each record has Surrogate key which indicates position of record inside of Array list , links between records are stored either as single value of record&#8217;s position stored inside of referrer or as B-tree of record positions (so-called record IDs or RIDs) which allows fast traversal (with O(1) complexity) of one-to-many relationships and fast addition/removal of new links. OrientDB is the third most popular graph database according to the DB-Engines graph database ranking, as of September 2017.</p>
<h2>Step 1: Install necessary packages</h2>
<p>Install wget and unzip using below commands</p>
<pre>dnf install -y wget unzip</pre>
<p><img loading="lazy" class="alignnone wp-image-13538" src="https://www.osradar.com/wp-content/uploads/2019/09/1-6-300x180.png" alt="" width="672" height="403" srcset="https://www.osradar.com/wp-content/uploads/2019/09/1-6-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/1-6-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/1-6-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/1-6-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/1-6-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/1-6-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/1-6.png 1280w" sizes="(max-width: 672px) 100vw, 672px" /></p>
<h2>Step 2: Install and Configure Open JDK</h2>
<pre>dnf install -y java-1.8.0-openjdk</pre>
<p><img loading="lazy" class="alignnone wp-image-13540" src="https://www.osradar.com/wp-content/uploads/2019/09/2-5-300x180.png" alt="" width="675" height="405" srcset="https://www.osradar.com/wp-content/uploads/2019/09/2-5-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/2-5-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/2-5-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/2-5-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/2-5-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/2-5-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/2-5.png 1280w" sizes="(max-width: 675px) 100vw, 675px" /></p>
<p>Set Java’s Home Environment</p>
<p>Run below command to find java path</p>
<pre>update-alternatives --config java</pre>
<p><img loading="lazy" class="alignnone wp-image-13541" src="https://www.osradar.com/wp-content/uploads/2019/09/3-6-300x72.png" alt="" width="671" height="161" srcset="https://www.osradar.com/wp-content/uploads/2019/09/3-6-300x72.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/3-6-768x184.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/3-6-1024x245.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/3-6-696x166.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/3-6-1068x255.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/3-6.png 1280w" sizes="(max-width: 671px) 100vw, 671px" /></p>
<p>In my case it is /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.222.b10-0.el8_0.x86_64/jre/bin/java</p>
<p>Now Set Java’s Path in Your Environment using below command</p>
<pre>vi .bash_profile</pre>
<p>Add below line in .bash_profile file</p>
<pre>export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.222.b10-0.el8_0.x86_64/jre/bin/java</pre>
<p><img loading="lazy" class="alignnone wp-image-13542" src="https://www.osradar.com/wp-content/uploads/2019/09/4-6-300x91.png" alt="" width="669" height="203" srcset="https://www.osradar.com/wp-content/uploads/2019/09/4-6-300x91.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/4-6-768x233.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/4-6-1024x311.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/4-6-696x212.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/4-6-1068x325.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/4-6.png 1280w" sizes="(max-width: 669px) 100vw, 669px" /></p>
<p>Save changes and Exit.</p>
<p>Refresh .bash_file to make changes</p>
<pre>source .bash_profile</pre>
<p>Run below commands to see the Java path you set and the java version.</p>
<pre>echo $JAVA_HOME
java -version</pre>
<p><img loading="lazy" class="alignnone wp-image-13543" src="https://www.osradar.com/wp-content/uploads/2019/09/5-5-300x63.png" alt="" width="671" height="141" srcset="https://www.osradar.com/wp-content/uploads/2019/09/5-5-300x63.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/5-5-768x161.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/5-5-1024x215.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/5-5-696x146.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/5-5-1068x224.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/5-5.png 1280w" sizes="(max-width: 671px) 100vw, 671px" /></p>
<h2>Step 3: Install OrientDB</h2>
<p>It is recommended to run OrientDB as its own user. Run the following command to create the user orientdb and set its home directory to /opt/orientdb.</p>
<pre>adduser orientdb -d /opt/orientdb</pre>
<p><img loading="lazy" class="alignnone wp-image-13544" src="https://www.osradar.com/wp-content/uploads/2019/09/6-8-300x43.png" alt="" width="670" height="96" srcset="https://www.osradar.com/wp-content/uploads/2019/09/6-8-300x43.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/6-8-768x111.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/6-8-1024x148.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/6-8-696x101.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/6-8-1068x154.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/6-8.png 1280w" sizes="(max-width: 670px) 100vw, 670px" /></p>
<p>Download the OrientDB binary archive by running the following commands</p>
<p>Note: You can get lestest version of OrientDb from OrientDB download page.</p>
<blockquote class="wp-embedded-content" data-secret="9gf3Nm5Iew"><p><a href="https://orientdb.com/orientdb-enterprise/">OrientDB Enterprise Edition</a></p></blockquote>
<p><iframe title="&#8220;OrientDB Enterprise Edition&#8221; &#8212; OrientDB" class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);" src="https://orientdb.com/orientdb-enterprise/embed/#?secret=9gf3Nm5Iew" data-secret="9gf3Nm5Iew" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<pre>cd /opt/orientdb/

wget https://orientdb3.s3.us-east-2.amazonaws.com/releases/3.0.23/orientdb-3.0.23.tar.gz -O orientdb.tar.gz</pre>
<p><img loading="lazy" class="alignnone wp-image-13546" src="https://www.osradar.com/wp-content/uploads/2019/09/7-8-300x116.png" alt="" width="665" height="257" srcset="https://www.osradar.com/wp-content/uploads/2019/09/7-8-300x116.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/7-8-768x298.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/7-8-1024x397.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/7-8-696x270.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/7-8-1068x414.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/7-8-1084x420.png 1084w, https://www.osradar.com/wp-content/uploads/2019/09/7-8.png 1280w" sizes="(max-width: 665px) 100vw, 665px" /></p>
<p>Extract the archive and move files.</p>
<pre>tar -xf orientdb.tar.gz
ls
mv orientdb-3.0.23/* .</pre>
<p><img loading="lazy" class="alignnone wp-image-13547" src="https://www.osradar.com/wp-content/uploads/2019/09/8-6-300x76.png" alt="" width="671" height="170" srcset="https://www.osradar.com/wp-content/uploads/2019/09/8-6-300x76.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/8-6-768x195.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/8-6-1024x260.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/8-6-696x177.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/8-6-1068x271.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/8-6.png 1280w" sizes="(max-width: 671px) 100vw, 671px" /></p>
<p>Remove unnecessary data.</p>
<pre>rm -rf orientdb-3.0.23 orientdb.tar.gz</pre>
<p>Set appropriate permissions to the OrientDB user.</p>
<pre>chown -R orientdb:orientdb /opt/orientdb</pre>
<p>OrientDB has been installed on your RHEL / CentOS 8 server.</p>
<h3>Start OrientDb Server</h3>
<p>Switch to the OrientDB user and run script.</p>
<pre>su - orientdb
bin/server.sh</pre>
<p><img loading="lazy" class="alignnone wp-image-13548" src="https://www.osradar.com/wp-content/uploads/2019/09/9-6-300x180.png" alt="" width="668" height="401" srcset="https://www.osradar.com/wp-content/uploads/2019/09/9-6-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/9-6-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/9-6-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/9-6-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/9-6-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/9-6-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/9-6.png 1280w" sizes="(max-width: 668px) 100vw, 668px" /></p>
<p>You will be asked to set the password of the OrientDB root user like image below, set the password and press enter.</p>
<p><img loading="lazy" class="alignnone wp-image-13549" src="https://www.osradar.com/wp-content/uploads/2019/09/10-6-300x180.png" alt="" width="663" height="397" srcset="https://www.osradar.com/wp-content/uploads/2019/09/10-6-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/10-6-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/10-6-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/10-6-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/10-6-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/10-6-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/10-6.png 1280w" sizes="(max-width: 663px) 100vw, 663px" /></p>
<p>Now you should&nbsp;see&nbsp;image like below, It OrientDb server is started successfully.</p>
<p><img loading="lazy" class="alignnone wp-image-13550" src="https://www.osradar.com/wp-content/uploads/2019/09/11-5-300x180.png" alt="" width="660" height="396" srcset="https://www.osradar.com/wp-content/uploads/2019/09/11-5-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/11-5-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/11-5-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/11-5-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/11-5-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/11-5-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/11-5.png 1280w" sizes="(max-width: 660px) 100vw, 660px" /></p>
<p>press <strong>ctrl + C</strong> to stop the execution.</p>
<p>Now switch again to root user by running below command.</p>
<pre>exit</pre>
<p><img loading="lazy" class="alignnone wp-image-13551" src="https://www.osradar.com/wp-content/uploads/2019/09/12-3-300x53.png" alt="" width="662" height="117" srcset="https://www.osradar.com/wp-content/uploads/2019/09/12-3-300x53.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/12-3-768x134.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/12-3-1024x179.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/12-3-696x122.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/12-3-1068x187.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/12-3.png 1280w" sizes="(max-width: 662px) 100vw, 662px" /></p>
<h2>Step 4: Configure OrientDB Systemd Service</h2>
<p>To start OrientDb service automatically on system boot, create a new systemd service by running the following command</p>
<pre>vi /etc/systemd/system/orientdb.service</pre>
<p>Now add following lines in that file.</p>
<pre>[Unit]
Description=OrientDB service
After=network.target

[Service]
Type=simple
ExecStart=/opt/orientdb/bin/server.sh
User=orientdb
Group=orientdb
Restart=always
RestartSec=9
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=orientdb

[Install]
WantedBy=multi-user.target</pre>
<p>Save change to file and exit.</p>
<p><img loading="lazy" class="alignnone wp-image-13552" src="https://www.osradar.com/wp-content/uploads/2019/09/13-4-300x180.png" alt="" width="677" height="406" srcset="https://www.osradar.com/wp-content/uploads/2019/09/13-4-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/13-4-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/13-4-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/13-4-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/13-4-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/13-4-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/13-4.png 1280w" sizes="(max-width: 677px) 100vw, 677px" /></p>
<p>Now you can start and enable OrientDB service on boot.</p>
<pre>systemctl start orientdb

systemctl enable orientdb

systemctl status orientdb</pre>
<p><img loading="lazy" class="alignnone wp-image-13553" src="https://www.osradar.com/wp-content/uploads/2019/09/14-4-300x180.png" alt="" width="677" height="406" srcset="https://www.osradar.com/wp-content/uploads/2019/09/14-4-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/14-4-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/14-4-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/14-4-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/14-4-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/14-4-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/14-4.png 1280w" sizes="(max-width: 677px) 100vw, 677px" /></p>
<p>Create a soft link for the OrientDB script which starts the console for OrientDB. so we can easily switch to the OrientDB console.</p>
<pre>ln -s /opt/orientdb/bin/console.sh /usr/bin/orientdb</pre>
<p><img loading="lazy" class="alignnone wp-image-13554" src="https://www.osradar.com/wp-content/uploads/2019/09/15-4-300x75.png" alt="" width="668" height="167" srcset="https://www.osradar.com/wp-content/uploads/2019/09/15-4-300x75.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/15-4-768x192.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/15-4-1024x256.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/15-4-696x174.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/15-4-1068x267.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/15-4.png 1280w" sizes="(max-width: 668px) 100vw, 668px" /></p>
<p>Now we can access the OrientDB console by running below command.</p>
<pre>orientdb</pre>
<p>To exit the OrientDB console using below command</p>
<pre>exit</pre>
<h2>Step 5: Access OrientDB from GUI:</h2>
<p>OrientDB Studio is a web based GUI tool to easily administrator OrientDB. It is also installed along with OrientDB package. Once you start OrientDB server, Studio is also started along with it.</p>
<p>We need to allow port 2480 in firewall in order to access OrientDb web interface. Run following commands to add port in firewalld.</p>
<pre>firewall-cmd --zone=public --permanent --add-port=2480/tcp
firewall-cmd --reload</pre>
<p><img loading="lazy" class="alignnone wp-image-13555" src="https://www.osradar.com/wp-content/uploads/2019/09/16-5-300x55.png" alt="" width="682" height="125" srcset="https://www.osradar.com/wp-content/uploads/2019/09/16-5-300x55.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/16-5-768x140.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/16-5-1024x187.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/16-5-696x127.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/16-5-1068x195.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/16-5.png 1280w" sizes="(max-width: 682px) 100vw, 682px" /></p>
<p>Now open the following web address in your browser.</p>
<p><strong>http://your-server-IP:2480</strong></p>
<p>You will see below page on you screen</p>
<p><img loading="lazy" class="alignnone  wp-image-13557" src="https://www.osradar.com/wp-content/uploads/2019/09/17-3-300x150.png" alt="" width="566" height="283" srcset="https://www.osradar.com/wp-content/uploads/2019/09/17-3-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/17-3-768x384.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/17-3.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/17-3-696x348.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/17-3-840x420.png 840w" sizes="(max-width: 566px) 100vw, 566px" /></p>
<p>To create a new database click on&nbsp;<strong>NEW DB</strong> button and enter name of desired database you want to create.</p>
<p><img loading="lazy" class="alignnone  wp-image-13558" src="https://www.osradar.com/wp-content/uploads/2019/09/18-3-300x154.jpg" alt="" width="565" height="290" srcset="https://www.osradar.com/wp-content/uploads/2019/09/18-3-300x154.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/09/18-3-768x394.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/09/18-3-1024x525.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/09/18-3-696x357.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/09/18-3-1068x547.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/09/18-3-820x420.jpg 820w, https://www.osradar.com/wp-content/uploads/2019/09/18-3.jpg 1366w" sizes="(max-width: 565px) 100vw, 565px" /></p>
<p>Now type name of the database and <span class="system">root</span> as the Server User and enter the password of the root user which was set during the installation. Finally Click on <strong>CREATE DATABASE</strong> to create a new database and you will see&nbsp;the dashboard to manage the database.</p>
<p><img loading="lazy" class="alignnone  wp-image-13559" src="https://www.osradar.com/wp-content/uploads/2019/09/19-1-300x61.png" alt="" width="566" height="115" srcset="https://www.osradar.com/wp-content/uploads/2019/09/19-1-300x61.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/19-1-768x155.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/19-1-1024x207.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/19-1-696x141.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/19-1-1068x216.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/19-1.png 1366w" sizes="(max-width: 566px) 100vw, 566px" /></p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-orientdb-on-rhel-8-centos-8/">Install OrientDB on RHEL 8 / CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-orientdb-on-rhel-8-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install and configure OrientDB on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/how-to-install-and-configure-orientdb-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-and-configure-orientdb-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 22 Jan 2019 02:33:42 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[NoSQL]]></category>
		<category><![CDATA[orientdb]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=9619</guid>

					<description><![CDATA[<p>We all know that you currently exist, NoSQL Database handlers that are characterized by being very reliable. So, today, I&#8217;ll show you one of them and I&#8217;m talking about OrientDB. Besides talking about it, I will teach you how to install and configure OrientDB in Ubuntu 18.04. OrientDB is an open source NoSQL database management [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-and-configure-orientdb-on-ubuntu-18-04/">How to Install and configure OrientDB on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>We all know that you currently exist, NoSQL Database handlers that are characterized by being very reliable. So, today, I&#8217;ll show you one of them and I&#8217;m talking about OrientDB. Besides talking about it, I will teach you how to install and configure OrientDB in Ubuntu 18.04.</p>
<p><a href="https://orientdb.com/" rel="noopener">OrientDB</a> is an open source NoSQL database management system written in <a href="https://www.osradar.com/how-to-install-oracle-java-on-ubuntu-18-10/" rel="noopener">Java</a>. One of its main features is that it is not only <a href="https://www.osradar.com/tag/nosql/" target="_blank" rel="noopener">NoSQL</a> based but also very fast. Especially in large projects where performance is indispensable. It has an enterprise version and a community version for small projects.</p>
<p>So, let&#8217;s start to install OrientDB on <a href="https://www.osradar.com/tag/ubuntu/" target="_blank" rel="noopener">Ubuntu</a> 18.04.</p>
<h2>1. Install Java</h2>
<p>OrientDB requires Java 1.7 to work. You probably already have Java installed on your Ubuntu 18.04. However, I will install the Java Oracle version:</p>
<pre class="">:~$ sudo add-apt-repository ppa:webupd8team/java</pre>
<p><figure id="attachment_9622" aria-describedby="caption-attachment-9622" style="width: 1249px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9622" src="https://www.osradar.com/wp-content/uploads/2019/01/1-17.png" alt="1.- Add the repository" width="1249" height="594" srcset="https://www.osradar.com/wp-content/uploads/2019/01/1-17.png 1249w, https://www.osradar.com/wp-content/uploads/2019/01/1-17-300x143.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/1-17-768x365.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/1-17-1024x487.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/1-17-1068x508.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/1-17-883x420.png 883w" sizes="(max-width: 1249px) 100vw, 1249px" /><figcaption id="caption-attachment-9622" class="wp-caption-text">1.- Add the repository</figcaption></figure></p>
<p>Now, install Java using this PPA.</p>
<pre class="">:~$ sudo apt update &amp;&amp; sudo apt install oracle-java8-installer</pre>
<p><figure id="attachment_9623" aria-describedby="caption-attachment-9623" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9623" src="https://www.osradar.com/wp-content/uploads/2019/01/2-17.png" alt="2.- Install Oracle Java" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/2-17.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/2-17-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/2-17-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/2-17-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/2-17-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/2-17-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9623" class="wp-caption-text">2.- Install Oracle Java</figcaption></figure></p>
<p>During the installation, you will have to accept the license terms.</p>
<p><figure id="attachment_9624" aria-describedby="caption-attachment-9624" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9624" src="https://www.osradar.com/wp-content/uploads/2019/01/3-17.png" alt="3.- License agreement" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/3-17.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/3-17-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/3-17-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/3-17-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/3-17-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/3-17-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9624" class="wp-caption-text">3.- License agreement</figcaption></figure></p>
<p>After that, it is necessary to set this version as the default.</p>
<pre class="">:~$ sudo apt install oracle-java8-set-default</pre>
<p>Then, check the Java version.</p>
<pre class="">:~$ java -version</pre>
<p><figure id="attachment_9625" aria-describedby="caption-attachment-9625" style="width: 858px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9625" src="https://www.osradar.com/wp-content/uploads/2019/01/4-18.png" alt="4.- Check the Java version" width="858" height="169" srcset="https://www.osradar.com/wp-content/uploads/2019/01/4-18.png 858w, https://www.osradar.com/wp-content/uploads/2019/01/4-18-300x59.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/4-18-768x151.png 768w" sizes="(max-width: 858px) 100vw, 858px" /><figcaption id="caption-attachment-9625" class="wp-caption-text">4.- Check the Java version</figcaption></figure></p>
<p>Now, you can continue.</p>
<h2>2. Install OrientDB on Ubuntu 18.04</h2>
<p>The installation process is quite simple. First, go the the tmp folder to save the file and then proceed to download.</p>
<pre class="">:~$ cd /tmp/
:~$ wget https://s3.us-east-2.amazonaws.com/orientdb3/releases/3.0.12/orientdb-3.0.12.tar.gz</pre>
<p><figure id="attachment_9626" aria-describedby="caption-attachment-9626" style="width: 1363px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9626" src="https://www.osradar.com/wp-content/uploads/2019/01/5-18.png" alt="5.- Download OrientDB on Ubuntu 18.04" width="1363" height="267" srcset="https://www.osradar.com/wp-content/uploads/2019/01/5-18.png 1363w, https://www.osradar.com/wp-content/uploads/2019/01/5-18-300x59.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/5-18-768x150.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/5-18-1024x201.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/5-18-1068x209.png 1068w" sizes="(max-width: 1363px) 100vw, 1363px" /><figcaption id="caption-attachment-9626" class="wp-caption-text">5.- Download OrientDB on Ubuntu 18.04</figcaption></figure></p>
<p>As I write this post, the latest stable version is 3.0.12.</p>
<p>Now, decompress it.</p>
<pre class="">:~$ tar xvf orientdb-3.0.12.tar.gz</pre>
<p><figure id="attachment_9627" aria-describedby="caption-attachment-9627" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9627" src="https://www.osradar.com/wp-content/uploads/2019/01/6-15.png" alt="6.- Decompressing the file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/6-15.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/6-15-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/6-15-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/6-15-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/6-15-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/6-15-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9627" class="wp-caption-text">6.- Decompressing the file</figcaption></figure></p>
<p>Then, move it to the <code>/opt</code> folder.</p>
<pre class="">:~$ sudo mv orientdb-3.0.12 /opt/orientdb</pre>
<p><figure id="attachment_9628" aria-describedby="caption-attachment-9628" style="width: 855px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9628" src="https://www.osradar.com/wp-content/uploads/2019/01/7-15.png" alt="7.- moving and renaming the orientdb folder" width="855" height="144" srcset="https://www.osradar.com/wp-content/uploads/2019/01/7-15.png 855w, https://www.osradar.com/wp-content/uploads/2019/01/7-15-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/7-15-768x129.png 768w" sizes="(max-width: 855px) 100vw, 855px" /><figcaption id="caption-attachment-9628" class="wp-caption-text">7.- moving and renaming the orientdb folder</figcaption></figure></p>
<p>For security reasons, it is advisable to create a new user for OrientDB. On top of that, you have to give it ownership of the folder.</p>
<pre class="">:~$ sudo groupadd -r orientdb
:~$ sudo useradd --system -g orientdb orientdb
:~$ sudo chown -R orientdb:orientdb /opt/orientdb</pre>
<p><figure id="attachment_9629" aria-describedby="caption-attachment-9629" style="width: 825px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9629" src="https://www.osradar.com/wp-content/uploads/2019/01/8-11.png" alt="8.- Create a new user for orientdb" width="825" height="154" srcset="https://www.osradar.com/wp-content/uploads/2019/01/8-11.png 825w, https://www.osradar.com/wp-content/uploads/2019/01/8-11-300x56.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/8-11-768x143.png 768w" sizes="(max-width: 825px) 100vw, 825px" /><figcaption id="caption-attachment-9629" class="wp-caption-text">8.- Create a new user for orientdb</figcaption></figure></p>
<p>And finally, run OrientDB.</p>
<pre class="">:~$ cd /opt/orientdb/bin
:~$ sudo ./server.sh</pre>
<p><figure id="attachment_9630" aria-describedby="caption-attachment-9630" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9630" src="https://www.osradar.com/wp-content/uploads/2019/01/9-9.png" alt="9.- Runnning OrientDB" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/9-9.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/9-9-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/9-9-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/9-9-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/9-9-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/9-9-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9630" class="wp-caption-text">9.- Runnning OrientDB</figcaption></figure></p>
<p>You have to set the root password.</p>
<p><figure id="attachment_9631" aria-describedby="caption-attachment-9631" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9631" src="https://www.osradar.com/wp-content/uploads/2019/01/10-7.png" alt="10.- Setting a root password for OrientDB" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/10-7.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/10-7-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/10-7-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/10-7-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/10-7-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/10-7-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9631" class="wp-caption-text">10.- Setting a root password for OrientDB</figcaption></figure></p>
<p>Then you&#8217;ll have OrientDB on Ubuntu 18.04.</p>
<h2>3. Create a systemd service for OrientDB</h2>
<p>In this step, you already have OrientDB installed. The problem is that to start, stop or restart its execution becomes complicated. Therefore, I am going to create a systemd service for OrientDB.</p>
<p>First, copy the OrientDB service file to the systemd folder.</p>
<pre class="">:~$ sudo cp /opt/orientdb/bin/orientdb.service /etc/systemd/system/</pre>
<p>Next, edit the OrientDB service file and add the following:</p>
<pre class="">:~$ sudo nano /etc/systemd/system/orientdb.service</pre>
<pre class="">[Unit]
Description=OrientDB Server
After=network.target
After=syslog.target

[Install]
WantedBy=multi-user.target

[Service]
User=orientdb
Group=orientdb
ExecStart=/opt/orientdb/bin/server.sh
</pre>
<p><figure id="attachment_9632" aria-describedby="caption-attachment-9632" style="width: 876px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9632" src="https://www.osradar.com/wp-content/uploads/2019/01/11-5.png" alt="11.- Creating a systemd service for OrientDB" width="876" height="435" srcset="https://www.osradar.com/wp-content/uploads/2019/01/11-5.png 876w, https://www.osradar.com/wp-content/uploads/2019/01/11-5-300x149.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/11-5-768x381.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/11-5-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/01/11-5-846x420.png 846w" sizes="(max-width: 876px) 100vw, 876px" /><figcaption id="caption-attachment-9632" class="wp-caption-text">11.- Creating a systemd service for OrientDB</figcaption></figure></p>
<p>In order for the service to be taken into account by the system, the systemd service cache must be reloaded.</p>
<pre class="">:~$ sudo systemctl daemon-reload
:~$ sudo systemctl start orientdb.service</pre>
<p>And that&#8217;s it.</p>
<h2>4. Test the installation</h2>
<p>Now the final step is to complete the installation and verify it. Open your web browser and go to <code>http://IP_SERVER:2480/studio/index.html</code> and you should see this.</p>
<p><figure id="attachment_9633" aria-describedby="caption-attachment-9633" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9633" src="https://www.osradar.com/wp-content/uploads/2019/01/12-4.png" alt="12.- Log in screen" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2019/01/12-4.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/12-4-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/12-4-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/12-4-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/12-4-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/01/12-4-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/12-4-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9633" class="wp-caption-text">12.- Log in screen</figcaption></figure></p>
<p>Log in with root user and the password you defined. You will see this.</p>
<p><figure id="attachment_9634" aria-describedby="caption-attachment-9634" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9634" src="https://www.osradar.com/wp-content/uploads/2019/01/13-3.png" alt="13.- OrientDB main screen" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2019/01/13-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/13-3-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/13-3-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/13-3-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/13-3-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/01/13-3-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/13-3-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9634" class="wp-caption-text">13.- OrientDB main screen</figcaption></figure></p>
<p>And go the schema tab.</p>
<p><figure id="attachment_9635" aria-describedby="caption-attachment-9635" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9635" src="https://www.osradar.com/wp-content/uploads/2019/01/14-3.png" alt="14.- Schema tab" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2019/01/14-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/14-3-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/14-3-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/14-3-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/14-3-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/01/14-3-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/14-3-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9635" class="wp-caption-text">14.- Schema tab</figcaption></figure></p>
<h2>Conclusion</h2>
<p>There are many advantages to using OrientDB as a database manager. Many large companies do this and trust their applications to this new NoSQL database manager.</p>
<p>Please share this article with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-and-configure-orientdb-on-ubuntu-18-04/">How to Install and configure OrientDB on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-and-configure-orientdb-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
