<?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>Inventory Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/inventory/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.13</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>How to install Odoo 12 on Debian 9?</title>
		<link>https://www.osradar.com/install-odoo-12-on-debian-9/</link>
					<comments>https://www.osradar.com/install-odoo-12-on-debian-9/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 15 Oct 2018 01:00:14 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[companies]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[enterprise]]></category>
		<category><![CDATA[ERP]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Inventory]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[Odoo]]></category>
		<category><![CDATA[Organizations]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=6408</guid>

					<description><![CDATA[<p>Organizations use special applications for business management. Today, in this tutorial I will show you how to install Odoo 12 on Debian 9. Odoo is an open source integrated ERP system currently produced by the Belgian company Odoo S.A. In the first place, what is a ERP? The ERP (Enterprise resource planning) systems are management [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-odoo-12-on-debian-9/">How to install Odoo 12 on Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Organizations use special applications for business management. Today, in this tutorial I will show you how to install Odoo 12 on Debian 9.</p>
<p><a href="https://www.odoo.com/" target="_blank" rel="noopener">Odoo</a> is an open source integrated ERP system currently produced by the Belgian company Odoo S.A.</p>
<p>In the first place, what is a ERP? The ERP (<strong>Enterprise resource planning</strong>) systems are management information systems that integrate and manage many of the businesses associated with production operations and distribution aspects of a company engaged in the production of goods or services. In short, it is a administration system.</p>
<p>Some Odoo modules include inventory management, finance, administration, sales and more. In addition, you can activate the modules developed by community only necessaries for your organization ensuring the proper and efficient functioning of it.</p>
<p>Odoo is compatible with Linux and today i will install it on Debian. It&#8217;s easy.</p>
<h2>0. Prerequisites</h2>
<p>To install Odoo 12 on Debian 9 does not require high knowledge of Linux but a basic <strong>knowledge of terminal use</strong>. In addition to a user who can run commands as <strong>root user.</strong></p>
<p>Under those circumstances, it is convenient to add that, Odoo requires <a href="https://www.osradar.com/how-to-install-postgresql-on-ubuntu18-04/" target="_blank" rel="noopener">PostgreSQL</a> and <a href="https://www.osradar.com/get-the-latest-python-on-linux/" target="_blank" rel="noopener">Python</a> 3.5.</p>
<p>Let&#8217;s start.</p>
<h2>1. Upgrade the system</h2>
<p>Before starting the installation of applications on our server, it is convenient to update all packages. This in order to have all the security patches and with them make the system more secure and stable. Run:</p>
<pre class="">:~$ su
:~# apt update &amp;&amp; apt upgrade</pre>
<p><figure id="attachment_6409" aria-describedby="caption-attachment-6409" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6409" src="https://www.osradar.com/wp-content/uploads/2018/10/1-10.png" alt="1.- Upgrade Debian" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/1-10.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/1-10-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/1-10-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/1-10-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/1-10-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/1-10-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/1-10-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6409" class="wp-caption-text">1.- Upgrade Debian</figcaption></figure></p>
<p>With this you will have Debian updated.</p>
<h2>2. Install PostgreSQL</h2>
<p>Odoo uses PostgreSQL as a database handler. Fortunately it is found in the official Debian repositories so its installation is easy.</p>
<pre class="">:~# apt install postgresql</pre>
<p><figure id="attachment_6410" aria-describedby="caption-attachment-6410" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6410" src="https://www.osradar.com/wp-content/uploads/2018/10/2-10.png" alt="2.- Installing postgreSQL" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/2-10.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/2-10-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/2-10-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/2-10-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/2-10-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/2-10-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/2-10-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6410" class="wp-caption-text">2.- Installing postgreSQL</figcaption></figure></p>
<p>Once the installation is finished you have to enable the service so that it starts as soon as the system boots.</p>
<pre class="">:~# systemctl enable postgresql</pre>
<p><figure id="attachment_6411" aria-describedby="caption-attachment-6411" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6411" src="https://www.osradar.com/wp-content/uploads/2018/10/3-11.png" alt="3.- Enabling the PostgreSQL service" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/3-11.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/3-11-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/3-11-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/3-11-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/3-11-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/3-11-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/3-11-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6411" class="wp-caption-text">3.- Enabling the PostgreSQL service</figcaption></figure></p>
<p>Then, you can check the status of the service.</p>
<pre class="">:~# systemctl status postgresql</pre>
<p><figure id="attachment_6412" aria-describedby="caption-attachment-6412" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6412" src="https://www.osradar.com/wp-content/uploads/2018/10/4-7.png" alt="4.- Checking the PostgreSQL service" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/4-7.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/4-7-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/4-7-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/4-7-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/4-7-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/4-7-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/4-7-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6412" class="wp-caption-text">4.- Checking the PostgreSQL service</figcaption></figure></p>
<p>As you can see, PostgreSQL has been installed.</p>
<h2>3. Install Odoo</h2>
<p>By default, Odoo is not in the official Debain 9 repositories, so add its external repository to install it via APT. It is the fastest, easiest and most efficient way to install Odoo. First, run:</p>
<pre class="">:~# wget -O - https://nightly.odoo.com/odoo.key | apt-key add -</pre>
<p><figure id="attachment_6413" aria-describedby="caption-attachment-6413" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6413" src="https://www.osradar.com/wp-content/uploads/2018/10/5-8.png" alt="5.- Adding the Oddo repository" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/5-8.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/5-8-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/5-8-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/5-8-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/5-8-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/5-8-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/5-8-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6413" class="wp-caption-text">5.- Adding the Oddo repository</figcaption></figure></p>
<p>Then,</p>
<pre class="">:~# echo "deb http://nightly.odoo.com/12.0/nightly/deb/ ./" &gt;&gt; /etc/apt/sources.list.d/odoo.list</pre>
<p>Now, refresh the APT package list:</p>
<pre class="">:~# apt update</pre>
<p><figure id="attachment_6414" aria-describedby="caption-attachment-6414" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6414" src="https://www.osradar.com/wp-content/uploads/2018/10/6-7.png" alt="6.- Refresh the repository cache" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/6-7.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/6-7-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/6-7-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/6-7-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/6-7-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/6-7-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/6-7-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6414" class="wp-caption-text">6.- Refresh the repository cache</figcaption></figure></p>
<p>Finally install Odoo:</p>
<pre class="">:~# apt install odoo</pre>
<p><figure id="attachment_6415" aria-describedby="caption-attachment-6415" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6415" src="https://www.osradar.com/wp-content/uploads/2018/10/7-7.png" alt="7.- Install Odoo" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/7-7.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/7-7-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/7-7-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/7-7-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/7-7-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/7-7-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/7-7-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6415" class="wp-caption-text">7.- Install Odoo</figcaption></figure></p>
<p>At the end of the installation it is convenient to check the status of the service, to check that it is running.</p>
<pre class="">:~# sytemctl status odoo</pre>
<p><figure id="attachment_6417" aria-describedby="caption-attachment-6417" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6417" src="https://www.osradar.com/wp-content/uploads/2018/10/8-7.png" alt="8.- Checking Oddo service" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/8-7.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/8-7-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/8-7-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/8-7-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/8-7-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/8-7-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/8-7-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6417" class="wp-caption-text">8.- Checking Oddo service</figcaption></figure></p>
<p>As can been noted, everything is OK.</p>
<h2>4.- Access from the web browser</h2>
<p>At this point, you can access the web interface, however, you need to configure a last point. The password of the user. Open <code>/etc/odoo/odoo.conf</code> file.</p>
<pre class="">:~# nano /etc/odoo/odoo.conf</pre>
<p>And set your admin password.</p>
<p><figure id="attachment_6418" aria-describedby="caption-attachment-6418" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6418" src="https://www.osradar.com/wp-content/uploads/2018/10/9-7.png" alt="9.- Setting the admin password for Odoo" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/9-7.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/9-7-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/9-7-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/9-7-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/9-7-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/9-7-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/9-7-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6418" class="wp-caption-text">9.- Setting the admin password for Odoo</figcaption></figure></p>
<p>Now, restart the odoo service.</p>
<pre class="">:~# systemctl restart odoo</pre>
<p>Finally, you can access from the web browser. Go to <code>http://IP_SERVER:8069</code>. And you will see this.</p>
<p><figure id="attachment_6420" aria-describedby="caption-attachment-6420" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6420" src="https://www.osradar.com/wp-content/uploads/2018/10/10-6.png" alt="10.- Odoo default page" width="1366" height="665" srcset="https://www.osradar.com/wp-content/uploads/2018/10/10-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/10-6-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/10-6-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/10-6-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/10-6-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/10-6-1068x520.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/10-6-863x420.png 863w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6420" class="wp-caption-text">10.- Odoo default page</figcaption></figure></p>
<p>Enter all the requirements they ask you and click on Create Database Button.</p>
<p>Remeber the password is the same that you defined on odoo.conf file.</p>
<p><figure id="attachment_6421" aria-describedby="caption-attachment-6421" style="width: 1140px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6421" src="https://www.osradar.com/wp-content/uploads/2018/10/11-6.png" alt="11.- Accessing to Odoo" width="1140" height="563" srcset="https://www.osradar.com/wp-content/uploads/2018/10/11-6.png 1140w, https://www.osradar.com/wp-content/uploads/2018/10/11-6-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/11-6-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/11-6-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/11-6-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/10/11-6-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/11-6-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/11-6-850x420.png 850w" sizes="(max-width: 1140px) 100vw, 1140px" /><figcaption id="caption-attachment-6421" class="wp-caption-text">11.- Accessing to Odoo</figcaption></figure></p>
<p>After that, you will see the screen where you can install the modules that make up the system.</p>
<p><figure id="attachment_6422" aria-describedby="caption-attachment-6422" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6422" src="https://www.osradar.com/wp-content/uploads/2018/10/12-5.png" alt="12.- Modules available to add to Odoo" width="1366" height="665" srcset="https://www.osradar.com/wp-content/uploads/2018/10/12-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/12-5-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/12-5-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/12-5-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/12-5-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/12-5-1068x520.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/12-5-863x420.png 863w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6422" class="wp-caption-text">12.- Modules available to add to Odoo</figcaption></figure></p>
<p>All that&#8217;s left is for you to install the modules you need and enjoy it.</p>
<h2>Conclusion</h2>
<p>Odoo is a great flexible system that allows you to install modules that work independently but together form a powerful tool for your company.</p>
<p>We want to hear from you, have you used Odoo? Do you like Odoo? Do you know another ERP? Did this tutorial help you?</p>
<p>Please spread this article through your social networks.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-odoo-12-on-debian-9/">How to install Odoo 12 on Debian 9?</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-odoo-12-on-debian-9/feed/</wfw:commentRss>
			<slash:comments>1</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>
