<?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>how to install ralph cmdb Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/how-to-install-ralph-cmdb/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 03 Mar 2020 14:17:51 +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>Install Ralph CMDB / Asset Management system on Ubuntu 18.04</title>
		<link>https://www.osradar.com/install-ralph-cmdb-asset-management-system-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/install-ralph-cmdb-asset-management-system-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Tue, 03 Mar 2020 14:17:47 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[how to install ralph asset management system on ubuntu]]></category>
		<category><![CDATA[how to install ralph cmdb]]></category>
		<category><![CDATA[install ralph 3 on ubuntu]]></category>
		<category><![CDATA[Install Ralph on Ubuntu 18.04]]></category>
		<category><![CDATA[ralp]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17194</guid>

					<description><![CDATA[<p>Today we are going to learn that how to install Ralph Assest Management System on Ubuntu 18.04. Ralph is an Open Source, full-featured Asset Management, DCIM and CMDB gadget for records facilities and back offices. It is launched under Apache v2.0 License. Ralph allows you to preserve track of Assets purchases and control the complete [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ralph-cmdb-asset-management-system-on-ubuntu-18-04/">Install Ralph CMDB / Asset Management system 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>Today we are going to learn that <a href="https://www.osradar.com/?p=17194">how to install Ralph Assest Management System</a> on Ubuntu 18.04.<br> Ralph is an Open Source, full-featured Asset Management, DCIM and CMDB gadget for records facilities and back offices. It is launched under Apache v2.0 License. Ralph allows you to preserve track of Assets purchases and control the complete property life cyle, each within the office and Data Center. So, in this tutorial we will cover the installation and configuration of Ralph Asset Management System on Ubuntu 18.04. Just follow the below steps.</p>



<h3><strong>Step 1: Update your system</strong></h3>



<p>As usually we do, update &amp; upgrade your system to install the new package Ralph Asset Management System on Ubuntu 18.04.</p>



<pre class="wp-block-verse">sudo apt update &amp;&amp; sudo apt -y upgrade </pre>



<h3><strong>Step 2: Add Ralph Repositories</strong></h3>



<p>After the updating of system move forward to add the Ralph Repositories to Install the packages which are needed. Run the following command with root privileges to add the repositories.</p>



<pre class="wp-block-verse">sudo apt-key adv --keyserver  hkp://keyserver.ubuntu.com:80 --recv-keys E2D0F3764B54797F<br>sudo sh -c "echo 'deb https://dl.bintray.com/allegro/debng bionic main' &gt;  /etc/apt/sources.list.d/ralph.list"</pre>



<h3><strong>Step 3: How To Install Ralph on Ubuntu 18.04</strong></h3>



<p>As you have already added repositories of Ralph Asset Management System, simply fire the following command to install the Ralph along with MySQL Database packages.</p>



<pre class="wp-block-verse">sudo apt udpate<br>sudo apt install mysql-server nginx ralph-core</pre>



<p>After running the command you&#8217;ll see the prompt appearing to choose the input Ralph database settings or you can use the pre-defined default settings.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="797" height="449" src="https://www.osradar.com/wp-content/uploads/2020/02/how-to-install-ralph-asset-management-system-on-ubuntu-18.04.png" alt="" class="wp-image-18396" srcset="https://www.osradar.com/wp-content/uploads/2020/02/how-to-install-ralph-asset-management-system-on-ubuntu-18.04.png 797w, https://www.osradar.com/wp-content/uploads/2020/02/how-to-install-ralph-asset-management-system-on-ubuntu-18.04-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/how-to-install-ralph-asset-management-system-on-ubuntu-18.04-768x433.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/how-to-install-ralph-asset-management-system-on-ubuntu-18.04-696x392.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/how-to-install-ralph-asset-management-system-on-ubuntu-18.04-746x420.png 746w" sizes="(max-width: 797px) 100vw, 797px" /></figure></div>



<p>These settings could be view from <strong>/etc/ralph/conf.d/database.conf</strong>. You can later review them or even change/update them.</p>



<h3><strong>Step 4: Configure Database &amp; Ralph</strong></h3>



<p>Type the given command to access the database server console.</p>



<pre class="wp-block-verse">sudo mysql -u root -p</pre>



<p>When prompted for password, hit <strong>Enter</strong> if there&#8217;s no password. Then move towards the creating of database &amp; user for Ralph Asset Management System.</p>



<pre class="wp-block-verse">CREATE DATABASE ralph;<br> CREATE USER 'osradar'@'localhost' IDENTIFIED BY 'Your_Password';<br> GRANT ALL PRIVILEGES ON ralph.* TO 'osradar'@'localhost';<br> FLUSH PRIVILEGES;<br> QUIT;</pre>



<p>To use the separate password, go to the <strong>/etc/ralph/conf.d/database.conf</strong> file and update the password.</p>



<p>Now, test the database if it is working fine.</p>



<pre class="wp-block-verse">mysql -u ralph_ng -pralph_ng</pre>



<p>Then create the database schema by</p>



<pre class="wp-block-verse">sudo ralphctl migrate</pre>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="731" height="384" src="https://www.osradar.com/wp-content/uploads/2020/02/install-ralph-asset-management-system.png" alt="" class="wp-image-18399" srcset="https://www.osradar.com/wp-content/uploads/2020/02/install-ralph-asset-management-system.png 731w, https://www.osradar.com/wp-content/uploads/2020/02/install-ralph-asset-management-system-300x158.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/install-ralph-asset-management-system-696x366.png 696w" sizes="(max-width: 731px) 100vw, 731px" /></figure></div>



<p>Wait until the process completed and then, create the Ralph Superuser</p>



<pre class="wp-block-verse">sudo ralphctl createsuperuser</pre>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="717" height="378" src="https://www.osradar.com/wp-content/uploads/2020/02/create-superuse-1.png" alt="" class="wp-image-18402" srcset="https://www.osradar.com/wp-content/uploads/2020/02/create-superuse-1.png 717w, https://www.osradar.com/wp-content/uploads/2020/02/create-superuse-1-300x158.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/create-superuse-1-696x367.png 696w" sizes="(max-width: 717px) 100vw, 717px" /></figure></div>



<p>Then import the <strong>demo data</strong> to populate the database with some data.</p>



<pre class="wp-block-verse">sudo ralphctl demodata</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="714" height="204" src="https://www.osradar.com/wp-content/uploads/2020/02/how-to-install-ralph-asset-management-system-on-ubuntu-.png" alt="" class="wp-image-18403" srcset="https://www.osradar.com/wp-content/uploads/2020/02/how-to-install-ralph-asset-management-system-on-ubuntu-.png 714w, https://www.osradar.com/wp-content/uploads/2020/02/how-to-install-ralph-asset-management-system-on-ubuntu--300x86.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/how-to-install-ralph-asset-management-system-on-ubuntu--696x199.png 696w" sizes="(max-width: 714px) 100vw, 714px" /></figure>



<h3><strong>Step 5: Start &amp; Enable Ralph services</strong></h3>



<p>It&#8217;s time to start the Ralph Services.</p>



<pre class="wp-block-verse">sudo ralphctl sitetree_resync_apps<br>sudo systemctl enable ralph.service<br>sudo systemctl start ralph.service</pre>



<p>Make sure that the status is working by hitting</p>



<pre class="wp-block-verse">systemctl status ralph.service</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="722" height="337" src="https://www.osradar.com/wp-content/uploads/2020/02/ralph-status-services.png" alt="" class="wp-image-18404" srcset="https://www.osradar.com/wp-content/uploads/2020/02/ralph-status-services.png 722w, https://www.osradar.com/wp-content/uploads/2020/02/ralph-status-services-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/ralph-status-services-696x325.png 696w" sizes="(max-width: 722px) 100vw, 722px" /></figure>



<p>Also check that the service is bind to port <strong>8000</strong>.</p>



<pre class="wp-block-verse">sabi@Sabi:~$ ss -tunelp | grep 8000<br> tcp    LISTEN   0        128               0.0.0.0:8000           0.0.0.0:*      uid:123 ino:64171 sk:c &lt;-&gt;                                                 </pre>



<h3><strong>Step 6: Nginx Proxy Configuration</strong></h3>



<p>Here we will configure the Nginx Proxy to access the Ralph dashboard because here SSL will be terminated. So, you can easily access the Ralph through Nginx Proxy. To do this make a new Nginx configuration file.</p>



<pre class="wp-block-verse">sudo nano /etc/nginx/conf.d/ralph.conf</pre>



<p>Then paste the following data to the file.</p>



<pre class="wp-block-verse"> server {<br> &nbsp;<br> &nbsp;<br> &nbsp;listen 80;<br> client_max_body_size 512M;<br> server_name ralph.example.com;<br> proxy_set_header Connection "";<br> proxy_http_version 1.1;<br> proxy_connect_timeout&nbsp; 300;<br> proxy_read_timeout 300;<br> &nbsp;<br> &nbsp;<br> access_log /var/log/nginx/ralph-access.log;<br> error_log /var/log/nginx/ralph-error.log;<br> &nbsp;<br> location /static {&nbsp;&nbsp;&nbsp;&nbsp; <br> alias /usr/share/ralph/static;<br> access_log&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; off;<br> log_not_found&nbsp;&nbsp;&nbsp;&nbsp; off;<br> expires 1M;<br> } <br> &nbsp;<br> #location /media {<br> &nbsp;#&nbsp;&nbsp;&nbsp; alias /var/local/ralph/media;<br> &nbsp;#&nbsp;&nbsp;&nbsp; add_header Content-disposition "attachment";<br> &nbsp;#} <br> &nbsp;<br> location / {<br> &nbsp;&nbsp;&nbsp;&nbsp; proxy_pass http://127.0.0.1:8000;<br> &nbsp;&nbsp;&nbsp;&nbsp; include /etc/nginx/uwsgi_params;<br> &nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header Host $http_host;<br> &nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br> &nbsp;}<br> &nbsp;} </pre>



<p>Note: Don&#8217;t forget to replace the<strong> ralph.example.com</strong> with your domain name for Ralph.</p>



<p>Then restart the nginx services.</p>



<pre class="wp-block-verse">sudo systemctl restart nginx.service</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="722" height="328" src="https://www.osradar.com/wp-content/uploads/2020/02/nginx-ralph.png" alt="" class="wp-image-18405" srcset="https://www.osradar.com/wp-content/uploads/2020/02/nginx-ralph.png 722w, https://www.osradar.com/wp-content/uploads/2020/02/nginx-ralph-300x136.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/nginx-ralph-696x316.png 696w" sizes="(max-width: 722px) 100vw, 722px" /></figure>



<p>Check the status of Nginx</p>



<pre class="wp-block-verse">sudo systemctl status nginx</pre>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="722" height="328" src="https://www.osradar.com/wp-content/uploads/2020/02/nginx-ralph-1.png" alt="" class="wp-image-18406" srcset="https://www.osradar.com/wp-content/uploads/2020/02/nginx-ralph-1.png 722w, https://www.osradar.com/wp-content/uploads/2020/02/nginx-ralph-1-300x136.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/nginx-ralph-1-696x316.png 696w" sizes="(max-width: 722px) 100vw, 722px" /></figure></div>



<h3><strong>Step 7: Access Ralph Dashboard</strong></h3>



<p>Now, you can access Ralph dashboard by typing <strong>127.0.0.1:8000</strong> in your browser</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="1024" height="294" src="https://www.osradar.com/wp-content/uploads/2020/02/Ralph-3-dashboard-1024x294.png" alt="" class="wp-image-18407" srcset="https://www.osradar.com/wp-content/uploads/2020/02/Ralph-3-dashboard-1024x294.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/Ralph-3-dashboard-300x86.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/Ralph-3-dashboard-768x221.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/Ralph-3-dashboard-696x200.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/Ralph-3-dashboard-1068x307.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/Ralph-3-dashboard.png 1297w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<p>Login with the superuser we&#8217;ve created earlier during our configuration.</p>



<p>Now, you will be directed towards the dashboard where you can see the demo data we&#8217;ve imported.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="1024" height="447" src="https://www.osradar.com/wp-content/uploads/2020/02/ralph-login--1024x447.png" alt="" class="wp-image-18408" srcset="https://www.osradar.com/wp-content/uploads/2020/02/ralph-login--1024x447.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/ralph-login--300x131.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/ralph-login--768x336.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/ralph-login--696x304.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/ralph-login--1068x467.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/ralph-login--961x420.png 961w, https://www.osradar.com/wp-content/uploads/2020/02/ralph-login-.png 1268w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<p>Here you can see the data we&#8217;ve imported earlier. </p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="1024" height="443" src="https://www.osradar.com/wp-content/uploads/2020/02/data-center-assets-ralph--1024x443.png" alt="" class="wp-image-18410" srcset="https://www.osradar.com/wp-content/uploads/2020/02/data-center-assets-ralph--1024x443.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/data-center-assets-ralph--300x130.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/data-center-assets-ralph--768x332.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/data-center-assets-ralph--696x301.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/data-center-assets-ralph--1068x462.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/data-center-assets-ralph--970x420.png 970w, https://www.osradar.com/wp-content/uploads/2020/02/data-center-assets-ralph-.png 1257w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<p>So, this is how we can Install Ralph Asset Management System on Ubuntu 18.04.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ralph-cmdb-asset-management-system-on-ubuntu-18-04/">Install Ralph CMDB / Asset Management system 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/install-ralph-cmdb-asset-management-system-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
