<?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>OCSInventory Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/ocsinventory/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 25 Jan 2021 20:46:24 +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 OCS Inventory Server on CentOS 8?</title>
		<link>https://www.osradar.com/install-ocs-inventory-server-centos/</link>
					<comments>https://www.osradar.com/install-ocs-inventory-server-centos/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 28 Jan 2021 08:45:00 +0000</pubDate>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Inventory]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OCSInventory]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=28037</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install OCS Inventory Server on CentOS 8. OCSInventory allows you to collect hardware and software inventory from all active devices on the network, such as computers, switches, routers, network printers and unattended devices. It Supports for multiple operating systems, including Microsoft Windows, Linux, * BSD, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ocs-inventory-server-centos/">How to install OCS Inventory Server on 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><br>Hello, friends. In this post, you will learn how to install OCS Inventory Server on CentOS 8.</p>



<p><a href="https://ocsinventory-ng.org/?lang=en">OCSInventory</a> allows you to collect hardware and software inventory from all active devices on the network, such as computers, switches, routers, network printers and unattended devices. It Supports for multiple operating systems, including Microsoft Windows, Linux, * BSD, Sun Solaris, IBM AIX, HP-UX, MacOS X. It has the ability to support Plugins and integrates seamlessly with GLPI.</p>



<p>So, let us start.</p>



<h2 id="install-ocs-inventory-server-on-centos-8"><a href="#install-ocs-inventory-server-on-centos-8" name="install-ocs-inventory-server-on-centos-8"></a>Install OCS Inventory Server on CentOS 8</h2>



<h3 id="prerequisites"><a href="#prerequisites" name="prerequisites"></a>Prerequisites</h3>



<p>Before starting with the installation of the OCS Inventory, it is necessary to install and configure some applications.</p>



<p>So, open a terminal or <a href="https://www.osradar.com/manages-ssh-connections-from-windows-10-with-putty/" target="_blank" rel="noreferrer noopener">SSH connection</a> and add the EPEL and REMI repositories.</p>



<pre class="wp-block-preformatted">dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm</pre>



<p>Install the <code>dnf-utils</code> package to use other dnf features.</p>



<pre class="wp-block-preformatted">dnf install dnf-utils</pre>



<p>And enable the <code>powertools</code> repository which we will need as well:</p>



<pre class="wp-block-preformatted">dnf config-manager --set-enabled powertools</pre>



<p>Now yes, install Apache, MariaDB, and PHP along with some modules that are dependencies of OCS Inventory</p>



<pre class="wp-block-preformatted">dnf install httpd mariadb-server php php php-curl php-zip php-gd php-soap php-xml php-mbstring php-fpm unzip curl</pre>



<p>Next, start the <code>httpd</code>, <code>php-fpm</code> and <code>MariaDB</code> services</p>



<pre class="wp-block-preformatted">systemctl start httpd mariadb php-fpm
systemctl enable httpd mariadb php-fpm</pre>



<p>Of course, you have to configure MariaDB with the <code>mysql_secure_installation</code> script to define a password for the root user.</p>



<pre class="wp-block-preformatted">mysql_secure_installation</pre>



<pre class="wp-block-preformatted">Remove anonymous users? Y
Disallow root login remotely? Y
Remove test database and access to it? Y
Reload privilege tables now? Y</pre>



<p>Then open the ports in the firewall necessary for Apache to work.</p>



<pre class="wp-block-preformatted">firewall-cmd --add-port=80/tcp --zone=public --permanent
success
firewall-cmd --add-port=443/tcp --zone=public --permanent
success
firewall-cmd --reload
success</pre>



<p>Now create the database, the user, and its permissions so that it can be used by OCS Inventory</p>



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



<pre class="wp-block-preformatted">CREATE DATABASE ocsweb;
GRANT ALL ON ocsweb.* TO 'ocs'@'localhost' IDENTIFIED BY 'ocspss';
FLUSH PRIVILEGES;
Exit;</pre>



<p>After this, we can start the installation.</p>



<h3 id="download-and-install-ocs-inventory"><a href="#download-and-install-ocs-inventory" name="download-and-install-ocs-inventory"></a>Download and install OCS Inventory</h3>



<p>Now we will be able to perform the installation. First, install the PERL modules that the system has:</p>



<pre class="wp-block-preformatted">dnf install make gcc perl-Archive-Zip perl-Compress-Zlib perl-DBD-MySQL perl-DBI perl-Mojolicious perl-Net-IP perl-Plack perl-SOAP-Lite perl-Switch perl-XML-Entities perl-XML-Simple perl-Apache-DBI perl-Digest-SHA1 perl-Apache2-SOAP</pre>



<p>Next, add the OCS Inventory repository for CentOS 8</p>



<pre class="wp-block-preformatted">dnf install https://rpm.ocsinventory-ng.org/ocsinventory-release-latest.el8.ocs.noarch.rpm</pre>



<p>And finally, install it by running:</p>



<pre class="wp-block-preformatted">dnf install ocsinventory</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="466" src="https://www.osradar.com/wp-content/uploads/2021/01/1-11-1024x466.png" alt="1.- Install OCS Inventory Server on CentOS 8" class="wp-image-28038" srcset="https://www.osradar.com/wp-content/uploads/2021/01/1-11-1024x466.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/1-11-300x136.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/1-11-768x349.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/1-11-696x317.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/1-11-1068x486.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/1-11.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Install OCS Inventory Server on CentOS 8</figcaption></figure>



<p>Once installed, it is necessary to copy the sample database into the database we have created:</p>



<pre class="wp-block-preformatted">mysql -u root -p ocsweb &lt; /usr/share/ocsinventory-reports/ocsreports/files/ocsbase.sql</pre>



<p>Now, enable the rewrite modules in Apache by editing its configuration file:</p>



<pre class="wp-block-preformatted">nano /etc/httpd/conf/httpd.conf</pre>



<p>At the end of the document, add the following:</p>



<pre class="wp-block-preformatted">LoadModule rewrite_module modules/mod_rewrite.so</pre>



<p>Apply the changes, restarting the Apache service:</p>



<pre class="wp-block-preformatted">systemctl restart httpd</pre>



<p>Now we can complete the installation.</p>



<h3 id="using-ocs-inventory"><a href="#using-ocs-inventory" name="using-ocs-inventory"></a>Using OCS Inventory</h3>



<p>The next step is to open your preferred web browser and access <code>http://your-server/ocsreports/install.php.</code></p>



<p><strong>Note: replace your-server with the IP address of the server or domain.</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2021/01/2-11-1024x506.png" alt="2.- OCS Inventory installation" class="wp-image-28039" srcset="https://www.osradar.com/wp-content/uploads/2021/01/2-11-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/2-11-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/2-11-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/2-11-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/2-11-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/2-11.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- OCS Inventory installation</figcaption></figure>



<p>You should see the database configuration screen. Type the parameters.</p>



<p>So, You will then see a screen informing you that the database connection was successful.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2021/01/3-9-1024x502.png" alt="3.- Database connection is OK" class="wp-image-28040" srcset="https://www.osradar.com/wp-content/uploads/2021/01/3-9-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/3-9-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/3-9-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/3-9-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/3-9-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/3-9.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Database connection is OK</figcaption></figure>



<p>Next, update the database version by clicking on the <em>Perform the update</em> button and you will see this message</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2021/01/4-5-1024x502.png" alt="4.- Update the database version" class="wp-image-28041" srcset="https://www.osradar.com/wp-content/uploads/2021/01/4-5-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/4-5-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/4-5-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/4-5-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/4-5-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/4-5.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>4.- Update the database version</figcaption></figure>



<p>Then the login screen</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2021/01/5-2-1024x502.png" alt="5.- OCS Inventory login screen" class="wp-image-28042" srcset="https://www.osradar.com/wp-content/uploads/2021/01/5-2-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/5-2-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/5-2-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/5-2-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/5-2-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/5-2.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- OCS Inventory login screen</figcaption></figure>



<p>Then, Log in with the default credentials <strong>admin/admin</strong> and now you have the OCS Inventory server ready.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2021/01/6-3-1024x506.png" alt="6.- OCS Inventory ready for the action" class="wp-image-28043" srcset="https://www.osradar.com/wp-content/uploads/2021/01/6-3-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/6-3-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/6-3-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/6-3-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/6-3-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/6-3.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- OCS Inventory ready for the action</figcaption></figure>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>So, OCSInventory is a great application that we can take full advantage of in an organization, whether it is small or large. Well, today you have learned to install it on a computer with CentOS 8.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ocs-inventory-server-centos/">How to install OCS Inventory Server on 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-ocs-inventory-server-centos/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Install the OCSInventory agent on Ubuntu 18.04 / Linux Mint 19?</title>
		<link>https://www.osradar.com/install-ocsinventory-agent-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/install-ocsinventory-agent-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 01 Feb 2020 00:11:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[OCSInventory]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17748</guid>

					<description><![CDATA[<p>Recently, I taught you how to install OCSInventory on Debian 10. But as you know, that was the server. Now, I will teach you how to install the OCSInventory agent in Ubuntu 18.04 and how to make the server register it. Let&#8217;s go for it. Install OCSInventory agent on Ubuntu 18.04 / Linux Mint 19 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ocsinventory-agent-ubuntu-18-04/">Install the OCSInventory agent on Ubuntu 18.04 / Linux Mint 19?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Recently, I taught you <a href="https://www.osradar.com/install-ocsinventory-debian-10/" target="_blank" rel="noopener noreferrer">how to install OCSInventory on Debian 10</a>. But as you know, that was the server. Now,<strong> I will teach you how to install the OCSInventory agent in Ubuntu 18.04</strong> and how to make the server register it.</p>
<p>Let&#8217;s go for it.</p>
<h2>Install OCSInventory agent on Ubuntu 18.04 / Linux Mint 19</h2>
<p>First of all, the system needs to be upgraded.</p>
<p>Open a terminal session and run the following command:</p>
<pre>:~$ sudo apt update
:~$ sudo apt upgrade</pre>
<p>This step is vital for the agent to do the job properly. It also allows him to gather more and better information from the computer.</p>
<p>This client is also written in Perl language, so we have to install some libraries first:</p>
<pre>:~$ sudo apt install libmodule-install-perl dmidecode libxml-simple-perl libcompress-zlib-perl libnet-ip-perl libwww-perl libdigest-md5-perl libdata-uuid-perl</pre>
<p>Then, we can install the OCSInventory agent in two ways.</p>
<p>The first is by manually compiling the source code. This option has the advantage that we can get the latest version of it, but it is something more complex and in a business environment may not be suitable.</p>
<p>On the other hand, the program is available from official repositories. This method sacrifices a little bit of the novelties for the sake of stability and ease of installation.</p>
<p>To install it, we will use the second option, therefore, run the following command</p>
<pre>:~$ sudo apt install ocsinventory-agent</pre>
<p><figure id="attachment_17819" aria-describedby="caption-attachment-17819" style="width: 1333px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-17819" src="https://www.osradar.com/wp-content/uploads/2020/01/1-21.png" alt="1.- Install OCSInventory agent on Ubuntu 18.04 / Linux Mint 19" width="1333" height="413" srcset="https://www.osradar.com/wp-content/uploads/2020/01/1-21.png 1333w, https://www.osradar.com/wp-content/uploads/2020/01/1-21-300x93.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/1-21-1024x317.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/1-21-768x238.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/1-21-696x216.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/1-21-1068x331.png 1068w" sizes="(max-width: 1333px) 100vw, 1333px" /><figcaption id="caption-attachment-17819" class="wp-caption-text">1.- Install OCSInventory agent on Ubuntu 18.04 / Linux Mint 19</figcaption></figure></p>
<p>So, we need to configure it.</p>
<h2>Configuring the OCSInventory agent</h2>
<p>During installation, a customer configuration screen will be displayed. This first screen asks where the server is.</p>
<p>If the agent is being installed in the same computer where the server is, choose the first option. If not, choose the second one.</p>
<p><figure id="attachment_17820" aria-describedby="caption-attachment-17820" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-17820" src="https://www.osradar.com/wp-content/uploads/2020/01/2-19.png" alt="2.- Configuring the OCSInventory agent" width="1365" height="617" srcset="https://www.osradar.com/wp-content/uploads/2020/01/2-19.png 1365w, https://www.osradar.com/wp-content/uploads/2020/01/2-19-300x136.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/2-19-1024x463.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/2-19-768x347.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/2-19-696x315.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/2-19-1068x483.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/2-19-929x420.png 929w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-17820" class="wp-caption-text">2.- Configuring the OCSInventory agent</figcaption></figure></p>
<p>Then, you will see another screen where you have to indicate the IP address or the hostname of the computer where the OCSInventory server is installed.</p>
<p><figure id="attachment_17821" aria-describedby="caption-attachment-17821" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-17821" src="https://www.osradar.com/wp-content/uploads/2020/01/3-18.png" alt="3.- Defining where the OCSInventory server is" width="1365" height="682" srcset="https://www.osradar.com/wp-content/uploads/2020/01/3-18.png 1365w, https://www.osradar.com/wp-content/uploads/2020/01/3-18-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/3-18-1024x512.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/3-18-768x384.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/3-18-696x348.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/3-18-1068x534.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/3-18-841x420.png 841w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-17821" class="wp-caption-text">3.- Defining where the OCSInventory server is</figcaption></figure></p>
<p>Then the installation will be finished.</p>
<p>In case you make a mistake in this step, do not worry, you can always rectify it by modifying the file <code>/etc/ocsinventory/ocsinventory-agg</code>.</p>
<p>The synchronization with the server is done via crontab daily. However, we can force this synchronization with the following command:</p>
<pre>:~$ sudo ocsinventory-agent --server [server]</pre>
<p>You&#8217;ll see something like this:</p>
<p><figure id="attachment_17822" aria-describedby="caption-attachment-17822" style="width: 779px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-17822" src="https://www.osradar.com/wp-content/uploads/2020/01/4-17.png" alt="4.- Running the OCSInventory on Ubuntu 18.04 / Linux Mint 19" width="779" height="160" srcset="https://www.osradar.com/wp-content/uploads/2020/01/4-17.png 779w, https://www.osradar.com/wp-content/uploads/2020/01/4-17-300x62.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/4-17-768x158.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/4-17-696x143.png 696w" sizes="(max-width: 779px) 100vw, 779px" /><figcaption id="caption-attachment-17822" class="wp-caption-text">4.- Running the OCSInventory on Ubuntu 18.04 / Linux Mint 19</figcaption></figure></p>
<p>Now, access your OCSInventory server and you&#8217;ll see that it&#8217;s been added correctly.</p>
<p><figure id="attachment_17823" aria-describedby="caption-attachment-17823" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-17823" src="https://www.osradar.com/wp-content/uploads/2020/01/5-14.png" alt="5.- OCSInventory dashboard" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/01/5-14.png 1354w, https://www.osradar.com/wp-content/uploads/2020/01/5-14-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/5-14-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/5-14-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/5-14-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/01/5-14-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/5-14-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/5-14-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-17823" class="wp-caption-text">5.- OCSInventory dashboard</figcaption></figure></p>
<p><figure id="attachment_17824" aria-describedby="caption-attachment-17824" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-17824" src="https://www.osradar.com/wp-content/uploads/2020/01/6-12.png" alt="6.- OCSInventory agent working properly" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/01/6-12.png 1354w, https://www.osradar.com/wp-content/uploads/2020/01/6-12-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/6-12-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/6-12-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/6-12-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/01/6-12-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/6-12-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/6-12-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-17824" class="wp-caption-text">6.- OCSInventory agent working properly</figcaption></figure></p>
<p>And that&#8217;s it. Now we invite you to explore all the new possibilities with this tool.</p>
<h2>Conclusion</h2>
<p>Thanks to OCSInventory for the inventory work, and it makes it much easier. And always with a fairly high degree of accuracy. So today, you have learned how to install the OCSInventory agent on Ubuntu 18.04 and Linux Mint 19. So all that remains is for you to get the most out of the tool.</p>
<p>Please share our post and join our <a href="https://t.me/osradar" target="_blank" rel="noopener noreferrer">Telegram channel.</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ocsinventory-agent-ubuntu-18-04/">Install the OCSInventory agent on Ubuntu 18.04 / Linux Mint 19?</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-ocsinventory-agent-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install OCSInventory on Debian 10?</title>
		<link>https://www.osradar.com/install-ocsinventory-debian-10/</link>
					<comments>https://www.osradar.com/install-ocsinventory-debian-10/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 30 Jan 2020 23:48:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[OCSInventory]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12796</guid>

					<description><![CDATA[<p>So, in this post, I will show you how to install OCSInventory on Debian 10? OCSInventory allows you to collect hardware and software inventory from all active devices on the network, such as computers, switches, routers, network printers and unattended devices. It Supports for multiple operating systems, including Microsoft Windows, Linux, * BSD, Sun Solaris, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ocsinventory-debian-10/">How to install OCSInventory 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>So, in this post, I will show you how to install OCSInventory on Debian 10?</strong></p>
<p><a href="https://ocsinventory-ng.org" target="_blank" rel="noopener noreferrer">OCSInventory</a> allows you to collect hardware and software inventory from all active devices on the network, such as computers, switches, routers, network printers and unattended devices. It Supports for multiple operating systems, including <a href="https://www.osradar.com/tag/windows" target="_blank" rel="noopener noreferrer">Microsoft Windows</a>, Linux, * BSD, Sun Solaris, IBM AIX, HP-UX, MacOS X. It has the ability to support Plugins and integrates seamlessly with <a href="https://www.osradar.com/how-to-install-glpi-on-debian-10-buster/" target="_blank" rel="noopener noreferrer">GLPI</a>.</p>


<p>So, let us start.</p>



<h2>Install OCSInventory on Debian 10</h2>



<h3>1.- Install LAMP and required modules</h3>



<p>OCSInventory requires all LAMP components to function fully. Therefore, this is what we have to do first. So read our post about it:</p>



<p><a href="https://www.osradar.com/install-lamp-on-debian-10/" target="_blank" rel="noreferrer noopener" aria-label="How to install LAMP on Debian 10? (opens in a new tab)">How to install LAMP on Debian 10?</a></p>



<p>However, you also have to install other Apache-related modules that are not in the LAMP on Debian 10 post:</p>



<pre class="wp-block-preformatted">:~$ sudo apt install libapache2-mod-php libapache2-mod-perl2 libapache-dbi-perl libapache-db-perl </pre>



<p>On the other hand, other PHP modules have to be installed as dependencies of the OCSInventory web interface.</p>



<pre class="wp-block-preformatted">:~$ sudo apt install php-soap php-curl php-json php-xml php-mbstring php-gd php-pclzip php-xmlrpc</pre>



<p>Once all these modules are installed together with the LAMP stack, we can continue.</p>



<h3>2.- Installing the development tools on Debian 10</h3>



<p>At some point during the installation, some packages are required to compile and build other packages from the source code.</p>



<p>Fortunately, these packages are available from the official Debian repositories. This makes installation easy.</p>



<p>Just run the following commands:</p>



<pre class="wp-block-preformatted">:~$ sudo apt install cmake gcc make build-essential make</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="334" src="https://www.osradar.com/wp-content/uploads/2020/01/1-20-1024x334.png" alt="1.- Install some required packages" class="wp-image-17802" srcset="https://www.osradar.com/wp-content/uploads/2020/01/1-20-1024x334.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/1-20-300x98.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/1-20-768x250.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/1-20-696x227.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/1-20-1068x348.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/1-20-1288x420.png 1288w, https://www.osradar.com/wp-content/uploads/2020/01/1-20.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Install some required packages</figcaption></figure>



<p>The installation will take some time, depending on the computer you have.</p>



<h3>3.- Creating a new database for OCSInventory</h3>



<p>As I mentioned earlier, OCSInventory requires a database manager. This has to be MySQL or MariaDB.</p>



<p>As a member of the <a href="https://www.osradar.com/tag/lamp" target="_blank" rel="noreferrer noopener" aria-label="LAMP stack (opens in a new tab)">LAMP stack</a>, we already have it installed and configured, but it is convenient to make a database dedicated to OCSInventory. Also, it is a good idea to create a new user for the application.</p>



<p>First access the MariaDB shell:</p>



<pre class="wp-block-preformatted">:~$ sudo mysql -u root -p</pre>



<p>And then, it creates the new database, the user and the permissions on it.</p>



<pre class="wp-block-preformatted">&gt; CREATE DATABASE ocsdb;
&gt; GRANT ALL PRIVILEGES ON ocsdb.* TO 'ocsuser'@'localhost' IDENTIFIED BY 'ocspassword';
&gt; FLUSH PRIVILEGES;
exit;</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="392" src="https://www.osradar.com/wp-content/uploads/2020/01/2-18-1024x392.png" alt="2.- Creating a new database and user for OCSInventory" class="wp-image-17803" srcset="https://www.osradar.com/wp-content/uploads/2020/01/2-18-1024x392.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/2-18-300x115.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/2-18-768x294.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/2-18-696x266.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/2-18.png 1053w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Creating a new database and user for OCSInventory</figcaption></figure>



<p>Now we can continue.</p>



<h3>4.- Install some Perl modules</h3>



<p>The OCSInventory server is made with PERL. That&#8217;s why you have to install many modules of this language.</p>



<p>First, we will install some of them using <a href="https://www.osradar.com/apt-the-ubuntu-package-manager/" target="_blank" rel="noreferrer noopener" aria-label="APT (opens in a new tab)">APT</a>.</p>



<pre class="wp-block-preformatted">:~$ sudo apt install perl libnet-ip-perl libxml-simple-perl libarchive-zip-perl libxml-simple-perl libcompress-zlib-perl libdbi-perl libdbd-mysql-perl libnet-ip-perl libsoap-lite-perl libio-compress-perl libapache-dbi-perl libapache2-mod-perl2 libapache2-mod-perl2-dev libdbd-mysql-perl</pre>



<p>And then, we&#8217;ll use a tool to do it manually:</p>



<pre class="wp-block-preformatted">:~$ sudo cpan install XML::Entities Apache2::SOAP Net::IP Apache::DBI Mojolicious Switch Plack::Handler Archive::Zip</pre>



<p>The installation will take a while, so be patient. When it finishes we will be able to download the application.</p>



<h3>5.- Download and install OCSInventory on Debian 10</h3>



<p>After installing so many dependencies and libraries, we can now download and install OCSInventory. To do this we will use the <a href="https://www.osradar.com/the-wget-command/" target="_blank" rel="noreferrer noopener" aria-label="wget (opens in a new tab)">wget</a> command. At the time of writing this post, the latest stable version is 2.6.</p>



<p>So, let&#8217;s go for it.</p>



<pre class="wp-block-preformatted">:~$ wget -c https://github.com/OCSInventory-NG/OCSInventory-ocsreports/releases/download/2.6/OCSNG_UNIX_SERVER_2.6.tar.gz -O ocs.tar.gz</pre>



<p>Now proceed to decompress it.</p>



<pre class="wp-block-preformatted">:~$ tar -xvzf ocs.tar.gz</pre>



<p>Then go to the generated folder and edit the installation script to add our database credentials.</p>



<pre class="wp-block-preformatted">:~$ cd OCSNG_UNIX_SERVER_2.6/
:~$ sudo nano setup.sh</pre>



<p>And leave it the following way:</p>



<pre class="wp-block-preformatted">DB_SERVER_HOST="localhost"
DB_SERVER_PORT="3306"
DB_SERVER_USER="ocsuser"
DB_SERVER_PWD="ocspassword"</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="859" height="394" src="https://www.osradar.com/wp-content/uploads/2020/01/4-16.png" alt="4.- Configuring OCSInventory on Debian 10" class="wp-image-17804" srcset="https://www.osradar.com/wp-content/uploads/2020/01/4-16.png 859w, https://www.osradar.com/wp-content/uploads/2020/01/4-16-300x138.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/4-16-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/4-16-696x319.png 696w" sizes="(max-width: 859px) 100vw, 859px" /><figcaption>4.- Configuring OCSInventory on Debian 10</figcaption></figure>



<p>Remember, you have to place the data from the database you have defined. These are the ones I used as an example.</p>



<p>So, save the changes and close the file. Now we have to run the installation script.</p>



<pre class="wp-block-preformatted">:~$ sudo ./setup.sh</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="784" height="352" src="https://www.osradar.com/wp-content/uploads/2020/01/5-13.png" alt="5.- Installing OCSInventory on Debian 10" class="wp-image-17805" srcset="https://www.osradar.com/wp-content/uploads/2020/01/5-13.png 784w, https://www.osradar.com/wp-content/uploads/2020/01/5-13-300x135.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/5-13-768x345.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/5-13-696x312.png 696w" sizes="(max-width: 784px) 100vw, 784px" /><figcaption>5.- Installing OCSInventory on Debian 10</figcaption></figure>



<p>The screen outputs of the script are quite long. But they are easily understandable if you read it carefully. Anyway, what the script asks you to do is to set up various configurations. Many of them you just have to press the enter key and set the default configuration.</p>



<p>Of course, the script will look for the Perl dependencies we have in the system.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="927" height="708" src="https://www.osradar.com/wp-content/uploads/2020/01/6-11.png" alt="6.- Check for the perl modules" class="wp-image-17806" srcset="https://www.osradar.com/wp-content/uploads/2020/01/6-11.png 927w, https://www.osradar.com/wp-content/uploads/2020/01/6-11-300x229.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/6-11-768x587.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/6-11-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/01/6-11-696x532.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/6-11-550x420.png 550w" sizes="(max-width: 927px) 100vw, 927px" /><figcaption>6.- Check for the perl modules</figcaption></figure>



<p>And the optional modules:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="805" height="508" src="https://www.osradar.com/wp-content/uploads/2020/01/7-8.png" alt="7.- Installing OCSInventory on Debian 10" class="wp-image-17807" srcset="https://www.osradar.com/wp-content/uploads/2020/01/7-8.png 805w, https://www.osradar.com/wp-content/uploads/2020/01/7-8-300x189.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/7-8-768x485.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/7-8-696x439.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/7-8-666x420.png 666w" sizes="(max-width: 805px) 100vw, 805px" /><figcaption>7.- Installing OCSInventory on Debian 10</figcaption></figure>



<p>Once the whole script is finished and if everything has gone well, you will see the following message:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="365" src="https://www.osradar.com/wp-content/uploads/2020/01/8-7-1024x365.png" alt="8.- OCSInventory is installed" class="wp-image-17808" srcset="https://www.osradar.com/wp-content/uploads/2020/01/8-7-1024x365.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/8-7-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/8-7-768x273.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/8-7-696x248.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/8-7.png 1031w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>8.- OCSInventory is installed</figcaption></figure>



<h3>6.- Configuring OCSInventory on Debian 10</h3>



<p>Even though the installation has been successfully completed there are still some extra settings to be made.</p>



<p>First enable the newly installed Apache settings for OCSInventory.</p>



<pre class="wp-block-preformatted">:~$ sudo ln -s /etc/apache2/conf-available/ocsinventory-reports.conf /etc/apache2/conf-enabled/ocsinventory-reports.conf</pre>



<pre class="wp-block-preformatted">:~$ sudo ln -s /etc/apache2/conf-available/z-ocsinventory-server.conf /etc/apache2/conf-enabled/z-ocsinventory-server.conf</pre>



<p>These settings are for the OCSInventory web interface to be properly processed by Apache2.</p>



<p>Then, change the execution permissions of the OCSInventory folder so that there are no problems with the graphical interface.</p>



<pre class="wp-block-preformatted">:~$ sudo chown -R www-data:www-data /var/lib/ocsinventory-reports/</pre>



<p>After that, you have to write the database parameters to another configuration file:</p>



<pre class="wp-block-preformatted">:~$ sudo nano /etc/apache2/conf-available/z-ocsinventory-server.conf</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="540" src="https://www.osradar.com/wp-content/uploads/2020/01/9-5-1024x540.png" alt="9.- Finals configurations" class="wp-image-17810" srcset="https://www.osradar.com/wp-content/uploads/2020/01/9-5-1024x540.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/9-5-300x158.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/9-5-768x405.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/9-5-696x367.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/9-5-1068x563.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/9-5-797x420.png 797w, https://www.osradar.com/wp-content/uploads/2020/01/9-5.png 1076w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>9.- Finals configurations</figcaption></figure>



<p>As in the previous configuration file, you have to write the name of the database, the MariaDB user and the password.</p>



<p>Save the changes and close the file.</p>



<p>After that, restart Apache.</p>



<pre class="wp-block-preformatted">:~$ sudo systemctl restart apache2</pre>



<p>Now all you have to do is complete the installation through the web interface.</p>



<p>To do this open your favorite web browser and go to <code>http://your-server/ocsreports/</code> and you will see a screen where you have to place your MariaDB credentials.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/01/10-3-1024x502.png" alt="10.- Installing OCSInventory on Debian 10" class="wp-image-17812" srcset="https://www.osradar.com/wp-content/uploads/2020/01/10-3-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/10-3-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/10-3-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/10-3-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/01/10-3-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/01/10-3-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/10-3-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/10-3-858x420.png 858w, https://www.osradar.com/wp-content/uploads/2020/01/10-3.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>10.- Installing OCSInventory on Debian 10</figcaption></figure>



<p>Then, the installation will begin and if everything has gone well, you will see the following image:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/01/11-2-1024x502.png" alt="11.- OCSInventory is installed" class="wp-image-17813" srcset="https://www.osradar.com/wp-content/uploads/2020/01/11-2-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/11-2-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/11-2-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/11-2-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/01/11-2-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/01/11-2-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/11-2-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/11-2-858x420.png 858w, https://www.osradar.com/wp-content/uploads/2020/01/11-2.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>11.- OCSInventory is installed</figcaption></figure>



<p>There you will see the default credentials which are <strong>user:admin</strong> and <strong>password:admin</strong>.</p>



<p>Now you will see the Login screen:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/01/12-2-1024x502.png" alt="12.- OCSInventory log in screen" class="wp-image-17814" srcset="https://www.osradar.com/wp-content/uploads/2020/01/12-2-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/12-2-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/12-2-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/12-2-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/01/12-2-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/01/12-2-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/12-2-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/12-2-858x420.png 858w, https://www.osradar.com/wp-content/uploads/2020/01/12-2.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>12.- OCSInventory log in screen</figcaption></figure>



<p>Once you have logged in you will see the following:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/01/13-1-1024x506.png" alt="13.- OCSInventory on Debian 10" class="wp-image-17815" srcset="https://www.osradar.com/wp-content/uploads/2020/01/13-1-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/13-1-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/13-1-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/13-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/01/13-1-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/13-1-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/13-1-850x420.png 850w, https://www.osradar.com/wp-content/uploads/2020/01/13-1.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>13.- OCSInventory on Debian 10</figcaption></figure>



<p>There you go. OCSInventory is ready for use. Now we need to install the agents on the computers.</p>



<h2>Conclusion</h2>



<p>OCSInventory is a great application that we can take full advantage of in an organization, whether it is small or large. Well, today you have learned to install it on a computer with Debian 10.</p>



<p>So, share this post and join our <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener" aria-label="Telegram channel (opens in a new tab)">Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ocsinventory-debian-10/">How to install OCSInventory 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-ocsinventory-debian-10/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to install OCSInvntory on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/how-to-install-ocsinvntory-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-ocsinvntory-on-ubuntu-18-04/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 17 Jul 2018 22:04:33 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Inventory]]></category>
		<category><![CDATA[OCSInventory]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=4785</guid>

					<description><![CDATA[<p>In today&#8217;s world, organizations are moving at the level of increasingly demanding users. To ensure that companies have the right view of things every day, they need to control the assets they have, part of which is computer equipment. We are talking about the inventory of computer equipment. Inventories are tangible goods held for sale [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-ocsinvntory-on-ubuntu-18-04/">How to install OCSInvntory 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>In today&#8217;s world, organizations are moving at the level of increasingly demanding users. To ensure that companies have the right view of things every day, they need to control the assets they have, part of which is computer equipment. We are talking about the inventory of computer equipment.</p>
<p>Inventories are tangible goods held for sale in the ordinary course of business or to be consumed in the production of goods or services for subsequent marketing.</p>
<p>It&#8217;s usually a tedious process carried out manually, but thanks to the efforts of some developers, it&#8217;s possible to do it automatically and efficiently with <strong>OCSInventory</strong>.</p>
<p>OCSInventory allows you to collect hardware and software inventory from all active devices on the network, such as computers, switches, routers, network printers and unattended devices. It Supports for multiple operating systems, including Microsoft Windows, Linux, * BSD, Sun Solaris, IBM AIX, HP-UX, MacOS X. It has the ability to support Plugins and integrates seamlessly with GLPI.</p>
<h2>Let&#8217;s install it!!</h2>
<p>First of all we must be root users. We open a terminal and write:</p>
<pre>sudo -i</pre>
<p><figure id="attachment_4786" aria-describedby="caption-attachment-4786" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4786" src="https://www.osradar.com/wp-content/uploads/2018/07/1-3.png" alt="1.- Logging as root user" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/1-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/1-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/1-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/1-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/1-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/1-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/1-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4786" class="wp-caption-text">1.- Logging as root user</figcaption></figure></p>
<p>After entering the password we will be root users. Then we installed LAMP Stack.</p>
<pre>apt install apache2 php7.2 libapache2-mod-php7.2 php7.2-cli php7.2-common php7.2-cgi mariadb-server mariadb-client php7.2-mysql mariadb-common</pre>
<p><figure id="attachment_4787" aria-describedby="caption-attachment-4787" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4787" src="https://www.osradar.com/wp-content/uploads/2018/07/2-3.png" alt="2.- Installing LAMP" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/2-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/2-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/2-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/2-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/2-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/2-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/2-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4787" class="wp-caption-text">2.- Installing LAMP</figcaption></figure></p>
<p>Once the installation of the packages is finished we will have a basic web server. Now we proceed to install basic compilation packages.</p>
<pre> apt install linux-headers-$(uname -r) build-essential</pre>
<p><figure id="attachment_4788" aria-describedby="caption-attachment-4788" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4788" src="https://www.osradar.com/wp-content/uploads/2018/07/3-3.png" alt="3.- Installing build essentials" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/3-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/3-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/3-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/3-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/3-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/3-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/3-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4788" class="wp-caption-text">3.- Installing build essentials</figcaption></figure></p>
<p>Next we must install some perl modules needed.</p>
<pre>apt install libxml-simple-perl libcompress-raw-zlib-perl libdbi-perl libdbd-mysql-perl libapache-dbi-perl libnet-ip-perl libsoap-lite-perl</pre>
<p><figure id="attachment_4789" aria-describedby="caption-attachment-4789" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4789" src="https://www.osradar.com/wp-content/uploads/2018/07/4-1.png" alt="4.- PERL Modules" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/4-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/4-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/4-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/4-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/4-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/4-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/4-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4789" class="wp-caption-text">4.- PERL Modules</figcaption></figure></p>
<p>Now we write:</p>
<pre>cpan -i XML::Entities</pre>
<p><figure id="attachment_4790" aria-describedby="caption-attachment-4790" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4790" src="https://www.osradar.com/wp-content/uploads/2018/07/5-3.png" alt="5.- Perl Modules" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/5-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/5-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/5-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/5-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/5-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/5-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/5-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4790" class="wp-caption-text">5.- Perl Modules</figcaption></figure></p>
<p>We install other necessary php modules.</p>
<pre>apt install php7.2-gd php-pclzip</pre>
<p><figure id="attachment_4792" aria-describedby="caption-attachment-4792" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4792" src="https://www.osradar.com/wp-content/uploads/2018/07/6-4.png" alt="6.- Installing php modules" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/6-4.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/6-4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/6-4-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/6-4-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/6-4-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/6-4-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/6-4-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4792" class="wp-caption-text">6.- Installing php modules</figcaption></figure></p>
<p>We now proceed to download the OSCInventory.</p>
<pre>wget https://github.com/OCSInventory-NG/OCSInventory-ocsreports/releases/download/2.4.1/OCSNG_UNIX_SERVER_2.4.1.tar.gz</pre>
<p><figure id="attachment_4793" aria-describedby="caption-attachment-4793" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4793" src="https://www.osradar.com/wp-content/uploads/2018/07/7-2.png" alt="7.- Downloading OCSInventory" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/7-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/7-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/7-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/7-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/7-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/7-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/7-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4793" class="wp-caption-text">7.- Downloading OCSInventory</figcaption></figure></p>
<p>Now we unzip the archive.</p>
<pre>tar -xvzf OCSNG_UNIX_SERVER_2.4.1.tar.gz</pre>
<p><figure id="attachment_4794" aria-describedby="caption-attachment-4794" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4794" src="https://www.osradar.com/wp-content/uploads/2018/07/8-2.png" alt="8.- Unziping file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/8-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/8-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/8-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/8-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/8-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/8-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/8-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4794" class="wp-caption-text">8.- Unziping file</figcaption></figure></p>
<p>Now we rename the folder, and move it to our apache root directory:</p>
<pre>mv OCSNG_UNIX_SERVER_2.4.1 /var/www/html/OCS</pre>
<p>Before starting the installation, we installed other necessary php modules.</p>
<pre>apt install php7.2-soap php7.2-curl php7.2-xml php7.2-xmlrpc</pre>
<p><figure id="attachment_4796" aria-describedby="caption-attachment-4796" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4796" src="https://www.osradar.com/wp-content/uploads/2018/07/9-5.png" alt="9.- Installing php extra modules " width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/9-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/9-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/9-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/9-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/9-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/9-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/9-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4796" class="wp-caption-text">9.- Installing php extra modules</figcaption></figure></p>
<p>Now we enter the directory and run the setup.sh script</p>
<pre>cd /var/www/html/OCS</pre>
<p>and:</p>
<pre>sh setup.sh</pre>
<p>Running it will ask us many questions about configuration file locations, executable files and check the installed PERL modules. In the end, if everything went well, we should get the message that the installation was successful.</p>
<p><figure id="attachment_4797" aria-describedby="caption-attachment-4797" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4797" src="https://www.osradar.com/wp-content/uploads/2018/07/10-2.png" alt="10.- Running the installation script" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/10-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/10-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/10-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/10-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/10-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/10-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/10-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4797" class="wp-caption-text">10.- Running the installation script</figcaption></figure></p>
<p><figure id="attachment_4798" aria-describedby="caption-attachment-4798" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4798" src="https://www.osradar.com/wp-content/uploads/2018/07/11-2.png" alt="11.- Running the installation script" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/11-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/11-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/11-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/11-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/11-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/11-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/11-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4798" class="wp-caption-text">11.- Running the installation script</figcaption></figure></p>
<p><figure id="attachment_4799" aria-describedby="caption-attachment-4799" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4799" src="https://www.osradar.com/wp-content/uploads/2018/07/12.png" alt="12.- Running the installation script" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/12.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/12-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/12-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/12-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/12-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/12-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/12-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4799" class="wp-caption-text">12.- Running the installation script</figcaption></figure></p>
<p>Before running its web interface, we must copy the apache configuration that the installer creates as a new apache site.</p>
<pre>a2enconf ocsinventory-reports</pre>
<pre>a2enconf z-ocsinventory-server</pre>
<p>Finally, we make sure we have permissions on the /var/lib/ocsinventory-reports/ folder and we restart apache.</p>
<pre>&lt;strong&gt;chown -R www-data:www-data /var/lib/ocsinventory-reports/
chmod 755 -R /var/www/html/OCS/*
systemctl restart apache2
&lt;/strong&gt;</pre>
<h2>Accessing the web interface</h2>
<p>Now we can access the web interface from our browser:</p>
<p><strong>http://localhost/OCS/ocsreports</strong></p>
<p><em>Note: Remember that the path might be different, so it is important to be careful about assigning folder names.</em></p>
<p><figure id="attachment_4805" aria-describedby="caption-attachment-4805" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4805" src="https://www.osradar.com/wp-content/uploads/2018/07/13-1.png" alt="13.- Running the OSCInventory web interface " width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/07/13-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/13-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/13-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/13-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/13-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/07/13-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/13-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/13-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4805" class="wp-caption-text">13.- Running the OSCInventory web interface</figcaption></figure></p>
<p>As we can notice, we skip the warning that we can&#8217;t build larger 2mb packages, so we must modify that value in the PHP configuration file.</p>
<pre>nano /etc/php/7.2/apache2/php.ini</pre>
<p>We will modify the parameters: upload_max_filesize and post_max_size</p>
<p><figure id="attachment_4806" aria-describedby="caption-attachment-4806" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4806" src="https://www.osradar.com/wp-content/uploads/2018/07/14-1.png" alt="14.- Modifying the php configuration file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/14-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/14-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/14-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/14-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/14-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/14-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/14-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4806" class="wp-caption-text">14.- Modifying the php configuration file</figcaption></figure></p>
<p><figure id="attachment_4807" aria-describedby="caption-attachment-4807" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4807" src="https://www.osradar.com/wp-content/uploads/2018/07/15-1.png" alt="15.- Modifying the php configuration file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/07/15-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/15-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/15-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/15-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/15-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/15-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/15-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4807" class="wp-caption-text">15.- Modifying the php configuration file</figcaption></figure></p>
<p>And we restart Apache:</p>
<pre>systemctl restart apache2</pre>
<p>When accessing again, we notice that the warning continues but 250mb is a suitable value that should not cause problems.</p>
<p><figure id="attachment_4808" aria-describedby="caption-attachment-4808" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4808" src="https://www.osradar.com/wp-content/uploads/2018/07/16-1.png" alt="16.- Completing the installation" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/07/16-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/16-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/16-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/16-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/16-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/07/16-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/16-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/16-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4808" class="wp-caption-text">16.- Completing the installation</figcaption></figure></p>
<p>When you click on send, it will take a while to complete the installation and then inform us that we can access with user admin and password admin</p>
<p><figure id="attachment_4809" aria-describedby="caption-attachment-4809" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4809" src="https://www.osradar.com/wp-content/uploads/2018/07/17-1.png" alt="17.- Installation success" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/07/17-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/17-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/17-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/17-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/17-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/07/17-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/17-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/17-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4809" class="wp-caption-text">17.- Installation success of OCSInventory</figcaption></figure></p>
<p>By clicking on the link below, we can then log in.</p>
<p><figure id="attachment_4810" aria-describedby="caption-attachment-4810" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4810" src="https://www.osradar.com/wp-content/uploads/2018/07/18.png" alt="18.- Logging in" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/07/18.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/18-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/18-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/18-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/18-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/07/18-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/18-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/18-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4810" class="wp-caption-text">18.- Logging in</figcaption></figure></p>
<p>Then when you log in, and check that everything is OK, we must remove the installer. As a recommendation you should change the password for mariadb.</p>
<p><figure id="attachment_4811" aria-describedby="caption-attachment-4811" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4811" src="https://www.osradar.com/wp-content/uploads/2018/07/19.png" alt="19.- Dashboard of OCSInventory" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/07/19.png 1366w, https://www.osradar.com/wp-content/uploads/2018/07/19-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/07/19-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/07/19-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/07/19-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/07/19-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/07/19-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/07/19-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4811" class="wp-caption-text">19.- Dashboard of OCSInventory</figcaption></figure></p>
<p>Now we would have to install the agent in each of the computers that we want to inventory.</p>
<p>As a conclusion we can say that OCSInventory is an interesting application in the world of organizations that allows us to have an updated and reliable inventory of all our computer equipment.</p>
<p>Please share this article on your social networks.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-ocsinvntory-on-ubuntu-18-04/">How to install OCSInvntory 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-ocsinvntory-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
	</channel>
</rss>
