<?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>ubuntu server Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/ubuntu-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 28 Sep 2018 11:08:45 +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 GLPI on Ubuntu Server 18.04?</title>
		<link>https://www.osradar.com/how-to-install-glpi-on-ubuntu-server-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-glpi-on-ubuntu-server-18-04/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 28 Sep 2018 11:08:45 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[GLPI]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu server]]></category>
		<category><![CDATA[web application]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=5994</guid>

					<description><![CDATA[<p>GLPi is a web application that helps companies with the management of their information system. Among its features, this solution is able to build an inventory of all resources of the organization and manage administrative and financial tasks. GLPI stands for Gestionnaire Libre de Parc Informatique is a Free Asset and IT Management Software package, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-glpi-on-ubuntu-server-18-04/">How to Install GLPI on Ubuntu Server 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><a href="https://glpi-project.org/" target="_blank" rel="noopener">GLPi</a> is a web application that helps companies with the management of their information system. Among its features, this solution is able to build an inventory of all resources of the organization and manage administrative and financial tasks. GLPI stands for <em>Gestionnaire Libre de Parc Informatique</em> is a Free Asset and IT Management Software package, that provides ITIL Service Desk features, licenses tracking and software auditing. In other words, it&#8217;s a good idea install GLPI in your company.</p>
<p>The tool is build for Apache-PHP-MySQL environments, so you can install it on both windows and linux servers.</p>
<h2>GLPI features:</h2>
<ul>
<li>Inventory of computers, peripherals, network printers and any associated components through an interface, with inventory tools such as: FusionInventory or OCS Inventory.</li>
<li>Data Center Infrastructure Management (DCIM).</li>
<li>Item lifecycle management.</li>
<li>Licenses management (ITIL compliant).</li>
<li>Management of warranty and financial information (purchase order, warranty and extension, damping).</li>
<li>Management of contracts, contacts, documents related to inventory items.</li>
</ul>
<p>In addition, like any open source project, it is possible to modify and examine its source code.</p>
<p>In this article, i will show you how to install GLPI on Ubuntu Server 18.04.</p>
<h2>What you need</h2>
<p>The installation of GLPI is really simple, but you must have a previous knowledge in the use of the terminal. Besides installing LAMP stack and of course a computer with Ubuntu Server 18.04.</p>
<p>Let&#8217;s get to work.</p>
<h1>1. Upgrade the system</h1>
<p>First you have to update the system. Doing this will ensure you have the latest package news, as well as the latest security patches. Open a terminal and run.</p>
<pre class="">:~$ sudo -i</pre>
<p>When you enter the password, you will be root. Then run:</p>
<pre class="">:~# apt update &amp;&amp; apt upgrade</pre>
<figure id="attachment_6075" aria-describedby="caption-attachment-6075" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6075" src="https://www.osradar.com/wp-content/uploads/2018/09/1-19.png" alt="1.- Upgrading the system" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/1-19.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/1-19-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/1-19-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/1-19-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/1-19-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/1-19-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/1-19-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6075" class="wp-caption-text">1.- Upgrading the system</figcaption></figure>
<p>And with this done, you&#8217;ll have your system up to date.</p>
<h2>2. Install LAMP Stack</h2>
<p>GLPI is a web-based application, i.e. you need an installed and fully functional web server. For this tutorial, I will use apache2. It is the most popular web server and is available easily and directly from the Ubuntu repositories. Run:</p>
<pre class="">:~# apt install apache2</pre>
<figure id="attachment_6076" aria-describedby="caption-attachment-6076" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6076" src="https://www.osradar.com/wp-content/uploads/2018/09/2-18.png" alt="2.- Installing apache" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/2-18.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/2-18-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/2-18-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/2-18-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/2-18-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/2-18-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/2-18-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6076" class="wp-caption-text">2.- Installing apache</figcaption></figure>
<p>Now enable it to start the service as soon as you load the system and initialize the service as well.</p>
<pre class="">:~# systemctl enable apache2
:~# systemctl start apache2</pre>
<figure id="attachment_6077" aria-describedby="caption-attachment-6077" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6077" src="https://www.osradar.com/wp-content/uploads/2018/09/3-18.png" alt="3.- Enabling apache service" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/3-18.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/3-18-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/3-18-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/3-18-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/3-18-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/3-18-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/3-18-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6077" class="wp-caption-text">3.- Enabling apache service</figcaption></figure>
<p>Now if you go to your web browser and access <code>http://IP_SERVER</code> you will see this.</p>
<figure id="attachment_6078" aria-describedby="caption-attachment-6078" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6078" src="https://www.osradar.com/wp-content/uploads/2018/09/4-23.png" alt="4.- Apache Ubuntu Default page" width="1366" height="665" srcset="https://www.osradar.com/wp-content/uploads/2018/09/4-23.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/4-23-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/4-23-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/4-23-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/4-23-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/4-23-1068x520.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/4-23-863x420.png 863w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6078" class="wp-caption-text">4.- Apache Ubuntu Default page</figcaption></figure>
<p>It&#8217;s PHP&#8217;s turn.</p>
<p>PHP is a programming language in which GLPI is built. You have to install it to run it.</p>
<pre class="">:~# apt install php7.2 php7.2-curl php7.2-gd php7.2-intl php-pear php-imagick php7.2-imap php-memcache php7.2-pspell php7.2-recode php7.2-tidy php7.2-xmlrpc php7.2-xsl php7.2-mbstring php-gettext php7.2-ldap php-cas php7.2-apcu libapache2-mod-php7.2 php7.2-mysql</pre>
<figure id="attachment_6079" aria-describedby="caption-attachment-6079" style="width: 1366px" class="wp-caption aligncenter"><img loading="lazy" class="size-full wp-image-6079" src="https://www.osradar.com/wp-content/uploads/2018/09/5-19.png" alt="5.- Installing PHP from ubuntu official repositories " width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/5-19.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/5-19-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/5-19-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/5-19-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/5-19-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/5-19-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/5-19-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6079" class="wp-caption-text">5.- Installing PHP from ubuntu official repositories</figcaption></figure>
<p>Finally install MariaDB. Type on a terminal:</p>
<pre class="">:~# apt install mariadb-server</pre>
<figure id="attachment_6080" aria-describedby="caption-attachment-6080" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6080" src="https://www.osradar.com/wp-content/uploads/2018/09/6-16.png" alt="6.- Installing MariaDB" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/6-16.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/6-16-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/6-16-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/6-16-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/6-16-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/6-16-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/6-16-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6080" class="wp-caption-text">6.- Installing MariaDB</figcaption></figure>
<p>Now run the configuration script to define password and other options.</p>
<pre class="">:~# mysql_secure_installation</pre>
<figure id="attachment_6082" aria-describedby="caption-attachment-6082" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6082" src="https://www.osradar.com/wp-content/uploads/2018/09/7-14.png" alt="7.- mysql_secure_installation" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/7-14.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/7-14-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/7-14-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/7-14-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/7-14-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/7-14-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/7-14-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6082" class="wp-caption-text">7.- mysql_secure_installation</figcaption></figure>
<p>After defining the password, you will be asked about other things. Answer <strong>Y N Y Y</strong>.</p>
<p>Now you have to create a database dedicated to GLPI and a new MariaDB user.</p>
<pre class="">:~# mysql -u root -p</pre>
<p>And then creates the database and the new user.</p>
<pre class="">CREATE DATABASE glpidb;
USE glpidb;
GRANT ALL PRIVILEGES ON glpidb.* TO 'glpiuser'@'localhost' IDENTIFIED BY 'glpipss';
FLUSH PRIVILEGES;
exit;</pre>
<p>Of course, you&#8217;re free to change the names to whatever you want.</p>
<figure id="attachment_6083" aria-describedby="caption-attachment-6083" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6083" src="https://www.osradar.com/wp-content/uploads/2018/09/8-13.png" alt="8.- Creating a database for glpi" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/8-13.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/8-13-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/8-13-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/8-13-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/8-13-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/8-13-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/8-13-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6083" class="wp-caption-text">8.- Creating a database for glpi</figcaption></figure>
<h2>3. Download and install GLPI</h2>
<p>Now it&#8217;s time to install GLPI. First, download it.</p>
<pre class="">:~# cd /tmp/
wget https://github.com/glpi-project/glpi/releases/download/9.3.1/glpi-9.3.1.tgz</pre>
<figure id="attachment_6084" aria-describedby="caption-attachment-6084" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6084" src="https://www.osradar.com/wp-content/uploads/2018/09/9-14.png" alt="9.- Download and install GLPI" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/9-14.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/9-14-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/9-14-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/9-14-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/9-14-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/9-14-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/9-14-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6084" class="wp-caption-text">9.- Download and install GLPI</figcaption></figure>
<p>Afterwards, you have to extract it, move it to <code>/var/www/html</code> and assign permissions to it.</p>
<pre class="">:~# tar -xvf glpi-9.3.1.tgz
:~# mv glpi /var/www/html/
:~# chmod 755 -R /var/www/html/
:~# chown www-data:www-data -R /var/www/html/</pre>
<figure id="attachment_6085" aria-describedby="caption-attachment-6085" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6085" src="https://www.osradar.com/wp-content/uploads/2018/09/10-12.png" alt="10.- Installing GLPI" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/10-12.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/10-12-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/10-12-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/10-12-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/10-12-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/10-12-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/10-12-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6085" class="wp-caption-text">10.- Installing GLPI</figcaption></figure>
<p>Now go to your browser and access GLPI to complete the installation <code>http://IP_SERVER/glpi</code></p>
<figure id="attachment_6086" aria-describedby="caption-attachment-6086" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6086" src="https://www.osradar.com/wp-content/uploads/2018/09/11-11.png" alt="11.- Completing GLPI setup" width="840" height="287" srcset="https://www.osradar.com/wp-content/uploads/2018/09/11-11.png 840w, https://www.osradar.com/wp-content/uploads/2018/09/11-11-300x103.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/11-11-768x262.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/11-11-696x238.png 696w" sizes="(max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6086" class="wp-caption-text">11.- Completing GLPI setup</figcaption></figure>
<p>Then you have to accept the license terms.</p>
<figure id="attachment_6087" aria-describedby="caption-attachment-6087" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6087" src="https://www.osradar.com/wp-content/uploads/2018/09/12-9.png" alt="12.- License terms" width="840" height="585" srcset="https://www.osradar.com/wp-content/uploads/2018/09/12-9.png 840w, https://www.osradar.com/wp-content/uploads/2018/09/12-9-300x209.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/12-9-768x535.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/12-9-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/09/12-9-696x485.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/12-9-603x420.png 603w" sizes="(max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6087" class="wp-caption-text">12.- License terms</figcaption></figure>
<p>On the next screen you will be asked if it is an installation or an upgrade.</p>
<figure id="attachment_6088" aria-describedby="caption-attachment-6088" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6088" src="https://www.osradar.com/wp-content/uploads/2018/09/13-7.png" alt="13.- Install GLPI" width="840" height="345" srcset="https://www.osradar.com/wp-content/uploads/2018/09/13-7.png 840w, https://www.osradar.com/wp-content/uploads/2018/09/13-7-300x123.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/13-7-768x315.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/13-7-696x286.png 696w" sizes="(max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6088" class="wp-caption-text">13.- Install GLPI</figcaption></figure>
<p>Afterwards, the system will make an inspection of the dependencies in need.</p>
<figure id="attachment_6089" aria-describedby="caption-attachment-6089" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6089" src="https://www.osradar.com/wp-content/uploads/2018/09/14-4.png" alt="14.- Install GLPI on the system" width="1366" height="665" srcset="https://www.osradar.com/wp-content/uploads/2018/09/14-4.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/14-4-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/14-4-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/14-4-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/14-4-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/14-4-1068x520.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/14-4-863x420.png 863w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6089" class="wp-caption-text">14.- Install GLPI on the system</figcaption></figure>
<p>On the next screen, you will be prompted to enter the MariaDB for GLPI information.</p>
<figure id="attachment_6090" aria-describedby="caption-attachment-6090" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6090" src="https://www.osradar.com/wp-content/uploads/2018/09/15-3.png" alt="15.- MariaDB credentials" width="840" height="501" srcset="https://www.osradar.com/wp-content/uploads/2018/09/15-3.png 840w, https://www.osradar.com/wp-content/uploads/2018/09/15-3-300x179.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/15-3-768x458.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/15-3-696x415.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/15-3-704x420.png 704w" sizes="(max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6090" class="wp-caption-text">15.- MariaDB credentials</figcaption></figure>
<p>And at the end, you have select the database created.</p>
<figure id="attachment_6091" aria-describedby="caption-attachment-6091" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6091" src="https://www.osradar.com/wp-content/uploads/2018/09/16-2.png" alt="16.- Completing the installation" width="840" height="452" srcset="https://www.osradar.com/wp-content/uploads/2018/09/16-2.png 840w, https://www.osradar.com/wp-content/uploads/2018/09/16-2-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/16-2-768x413.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/16-2-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/16-2-781x420.png 781w" sizes="(max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6091" class="wp-caption-text">16.- Completing the installation</figcaption></figure>
<p>It will then initialize the database.</p>
<figure id="attachment_6092" aria-describedby="caption-attachment-6092" style="width: 816px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6092" src="https://www.osradar.com/wp-content/uploads/2018/09/17-2.png" alt="17.- Initialization of the database" width="816" height="332" srcset="https://www.osradar.com/wp-content/uploads/2018/09/17-2.png 816w, https://www.osradar.com/wp-content/uploads/2018/09/17-2-300x122.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/17-2-768x312.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/17-2-696x283.png 696w" sizes="(max-width: 816px) 100vw, 816px" /><figcaption id="caption-attachment-6092" class="wp-caption-text">17.- Initialization of the database</figcaption></figure>
<p>The following screens show that the installation is on the right way.</p>
<figure id="attachment_6093" aria-describedby="caption-attachment-6093" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6093" src="https://www.osradar.com/wp-content/uploads/2018/09/18-1.png" alt="18.- Collecting data for GLPI" width="840" height="547" srcset="https://www.osradar.com/wp-content/uploads/2018/09/18-1.png 840w, https://www.osradar.com/wp-content/uploads/2018/09/18-1-300x195.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/18-1-768x500.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/18-1-696x453.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/18-1-645x420.png 645w" sizes="(max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6093" class="wp-caption-text">18.- Collecting data for GLPI</figcaption></figure>
<figure id="attachment_6094" aria-describedby="caption-attachment-6094" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6094" src="https://www.osradar.com/wp-content/uploads/2018/09/19.png" alt="19.- Installing GLPI" width="840" height="425" srcset="https://www.osradar.com/wp-content/uploads/2018/09/19.png 840w, https://www.osradar.com/wp-content/uploads/2018/09/19-300x152.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/19-768x389.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/19-696x352.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/19-830x420.png 830w" sizes="(max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6094" class="wp-caption-text">19.- Installing GLPI</figcaption></figure>
<figure id="attachment_6095" aria-describedby="caption-attachment-6095" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6095" src="https://www.osradar.com/wp-content/uploads/2018/09/20.png" alt="20.- The installation is finished" width="840" height="401" srcset="https://www.osradar.com/wp-content/uploads/2018/09/20.png 840w, https://www.osradar.com/wp-content/uploads/2018/09/20-300x143.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/20-768x367.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/20-696x332.png 696w" sizes="(max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6095" class="wp-caption-text">20.- The installation is finished</figcaption></figure>
<p>And finally you will see the log in screen.</p>
<figure id="attachment_6096" aria-describedby="caption-attachment-6096" style="width: 561px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6096" src="https://www.osradar.com/wp-content/uploads/2018/09/21.png" alt="21.- GLPI log in screen" width="561" height="464" srcset="https://www.osradar.com/wp-content/uploads/2018/09/21.png 561w, https://www.osradar.com/wp-content/uploads/2018/09/21-300x248.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/21-508x420.png 508w" sizes="(max-width: 561px) 100vw, 561px" /><figcaption id="caption-attachment-6096" class="wp-caption-text">21.- GLPI log in screen</figcaption></figure>
<p>When you enter the password, you&#8217;ll see something like this.</p>
<figure id="attachment_6097" aria-describedby="caption-attachment-6097" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6097" src="https://www.osradar.com/wp-content/uploads/2018/09/22.png" alt="22.- Main screen of glpi" width="1366" height="665" srcset="https://www.osradar.com/wp-content/uploads/2018/09/22.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/22-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/22-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/22-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/22-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/22-1068x520.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/22-863x420.png 863w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6097" class="wp-caption-text">22.- Main screen of glpi</figcaption></figure>
<h2>Conclusion</h2>
<p>GLPI is a great system that allows us to obtain computer solutions for our company. You can modify and take inventory, tracking incidents and so on.</p>
<p>We want to know about you, have you used GLPI? How did you like the installation?</p>
<p>Please share this article through your social networks</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-glpi-on-ubuntu-server-18-04/">How to Install GLPI on Ubuntu Server 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-glpi-on-ubuntu-server-18-04/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>Zabbix: a network monitor. Installation in Ubuntu Server 18.04</title>
		<link>https://www.osradar.com/zabbix-a-network-monitor-installation-in-ubuntu-server-18-04/</link>
					<comments>https://www.osradar.com/zabbix-a-network-monitor-installation-in-ubuntu-server-18-04/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Wed, 13 Jun 2018 07:30:02 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu server]]></category>
		<category><![CDATA[zabbix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=3610</guid>

					<description><![CDATA[<p>System and server administrators need to have professional software installed, in order to be able to monitor what is happening on them or their networks, with the primary objective of preventing failures and if they exist, to be able to keep up to date in the shortest possible time. As the article title says, Zabbix [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/zabbix-a-network-monitor-installation-in-ubuntu-server-18-04/">Zabbix: a network monitor. Installation in Ubuntu Server 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>System and server administrators need to have professional software installed, in order to be able to monitor what is happening on them or their networks, with the primary objective of preventing failures and if they exist, to be able to keep up to date in the shortest possible time.</p>
<p>As the article title says, <strong>Zabbix</strong> is a fantastic open-source application that monitors networks within a given topology. It was first created by Alexei Vladishev, specialized in networks with an important user base and an active community, that is always contributing both in its development and in its support for users. Uses MySQL, PostgreSQL, SQLite, Oracle or IBM DB2 as database. Its backend is written in C and the web frontend is written in PHP.</p>
<h3>Let&#8217;s get to work: installing the Prerequisites</h3>
<p>The first thing we must always do is to make sure that our system is up to date. For them we write on a terminal:</p>
<p><strong>           sudo apt update &amp;&amp; sudo apt -y upgrade</strong></p>
<figure id="attachment_3949" aria-describedby="caption-attachment-3949" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3949" src="https://www.osradar.com/wp-content/uploads/2018/06/1-6.png" alt="1.- Upgrading the system" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/1-6.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/1-6-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/1-6-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/1-6-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/1-6-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/1-6-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/1-6-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3949" class="wp-caption-text">1.- Upgrading the system</figcaption></figure>
<p>With this single line we do two things: the first is to refresh the cache of the repositories and the second is to update them without being asked if we want to do it.</p>
<p>Once our system is updated with the latest security patches, the next thing we need to do is install a LAMP server. We can do it with the following instructions, always from the terminal:</p>
<p><strong>          sudo apt install apache2 libapache2-mod-php7.2 mysql-server-5.7 mysql-client php7.2 php7.2-mysql php7.2-curl php7.2-json php7.2-cgi php-xml php-mbstring php-bcmath</strong></p>
<figure id="attachment_3950" aria-describedby="caption-attachment-3950" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3950" src="https://www.osradar.com/wp-content/uploads/2018/06/2-8.png" alt="2.- Installing prerequisites" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/2-8.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/2-8-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/2-8-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/2-8-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/2-8-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/2-8-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/2-8-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3950" class="wp-caption-text">2.- Installing prerequisites</figcaption></figure>
<p>Already with that we will have a basic LAMP server running on our system.</p>
<p>Then we must change our timezone in the php.ini file. As an example I will put America/Caracas.</p>
<p><strong>           sudo nano /etc/php/7.2/apache2/php.ini</strong></p>
<figure id="attachment_3951" aria-describedby="caption-attachment-3951" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3951" src="https://www.osradar.com/wp-content/uploads/2018/06/3-8.png" alt="3.- Editing php.ini file" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/3-8.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/3-8-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/3-8-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/3-8-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/3-8-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/3-8-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/3-8-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3951" class="wp-caption-text">3.- Editing php.ini file</figcaption></figure>
<figure id="attachment_3952" aria-describedby="caption-attachment-3952" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3952" src="https://www.osradar.com/wp-content/uploads/2018/06/4-7.png" alt="5.- Editing php.ini file" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/4-7.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/4-7-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/4-7-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/4-7-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/4-7-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/4-7-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/4-7-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3952" class="wp-caption-text">5.- Editing php.ini file</figcaption></figure>
<p>For the changes to take effect, we must restart the apache service2.</p>
<p><strong>sudo systemctl restart apache2.service</strong></p>
<h3>Installing Zabbix</h3>
<p>Now we can add the Zabbix repository for Ubuntu 18.04 and then install it using the APT package manager. To add the repository just install a.deb file that we download with the following command:</p>
<p><strong>          wget http://repo.zabbix.com/zabbix/3.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.4-1%2Bbionic_all.deb</strong></p>
<figure id="attachment_3953" aria-describedby="caption-attachment-3953" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3953" src="https://www.osradar.com/wp-content/uploads/2018/06/5-8.png" alt="5.- Adding zabbix repository" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/5-8.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/5-8-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/5-8-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/5-8-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/5-8-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/5-8-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/5-8-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3953" class="wp-caption-text">5.- Adding zabbix repository</figcaption></figure>
<p>and then we install it with:</p>
<p><strong>sudo dpkg -i zabbix-release_3.4-1+bionic_all.deb</strong></p>
<figure id="attachment_3954" aria-describedby="caption-attachment-3954" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3954" src="https://www.osradar.com/wp-content/uploads/2018/06/6-7.png" alt="6.- Adding zabbix repository" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/6-7.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/6-7-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/6-7-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/6-7-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/6-7-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/6-7-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/6-7-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3954" class="wp-caption-text">6.- Adding zabbix repository</figcaption></figure>
<p>As we have added a new repository, we must refresh the cache of it, we do it with:</p>
<p><strong>sudo apt update</strong></p>
<figure id="attachment_3955" aria-describedby="caption-attachment-3955" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3955" src="https://www.osradar.com/wp-content/uploads/2018/06/7-6.png" alt="7.- apt update" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/7-6.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/7-6-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/7-6-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/7-6-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/7-6-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/7-6-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/7-6-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3955" class="wp-caption-text">7.- apt update</figcaption></figure>
<p>And we proceed to install in a single command: the Zabbix server, the agent and the  front-end to access from the web browser:</p>
<p><strong>          sudo apt install zabbix-server-mysql zabbix-agent zabbix-frontend-php</strong></p>
<figure id="attachment_3956" aria-describedby="caption-attachment-3956" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3956" src="https://www.osradar.com/wp-content/uploads/2018/06/8-6.png" alt="8.- Installing zabbix packages" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/8-6.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/8-6-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/8-6-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/8-6-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/8-6-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/8-6-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/8-6-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3956" class="wp-caption-text">8.- Installing zabbix packages</figcaption></figure>
<h3>Configure MySql</h3>
<p>At this point, we already have Zabbix installed but we need to configure mysql so that the program knows how to use it.</p>
<p><strong>            sudo mysql_secure_installation</strong></p>
<figure id="attachment_3957" aria-describedby="caption-attachment-3957" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3957" src="https://www.osradar.com/wp-content/uploads/2018/06/9-4.png" alt="9.- Mysql secure installation script" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/9-4.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/9-4-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/9-4-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/9-4-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/9-4-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/9-4-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/9-4-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3957" class="wp-caption-text">9.- Mysql secure installation script</figcaption></figure>
<p>Where we will define our root key. The rest of the questions can be answered according to our taste. In my case, I said: Y,N,Y,Y.</p>
<p>Now we must log in to mysql with the password we have previously defined, to create the database and the zabbix user.</p>
<p><strong>         sudo</strong> <strong>mysql -u root -p</strong></p>
<figure id="attachment_3958" aria-describedby="caption-attachment-3958" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3958" src="https://www.osradar.com/wp-content/uploads/2018/06/10-4.png" alt="10.- logging in to mysql" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/10-4.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/10-4-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/10-4-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/10-4-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/10-4-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/10-4-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/10-4-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3958" class="wp-caption-text">10.- logging in to mysql</figcaption></figure>
<p><strong>          CREATE DATABASE zabbix;</strong></p>
<figure id="attachment_3959" aria-describedby="caption-attachment-3959" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3959" src="https://www.osradar.com/wp-content/uploads/2018/06/11-4.png" alt="11.- Creating Database Zabbix" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/11-4.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/11-4-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/11-4-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/11-4-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/11-4-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/11-4-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/11-4-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3959" class="wp-caption-text">11.- Creating Database Zabbix</figcaption></figure>
<p>And select the database with:</p>
<p><strong>           use zabbix;</strong></p>
<p>Now we must create a mysql user that has permissions on the Zabbix database.</p>
<p><strong>         GRANT ALL ON zabbix.* TO &#8216;zabbixuser&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;zabbixpss&#8217;;</strong></p>
<figure id="attachment_3960" aria-describedby="caption-attachment-3960" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3960" src="https://www.osradar.com/wp-content/uploads/2018/06/12-3.png" alt="12.- Creating user zabbixuser" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/12-3.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/12-3-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/12-3-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/12-3-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/12-3-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/12-3-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/12-3-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3960" class="wp-caption-text">12.- Creating user zabbixuser</figcaption></figure>
<p>We briefly explain: zabbix is the database; zabixuser is the username mysql and zabbixpss is the password for that username. Obviously when you do the tutorial don&#8217;t tell anyone the password 😉</p>
<p>Now we leave mysql writing <strong>exit</strong></p>
<p>At this point we must enable the ubuntu root user for the following commands to work.</p>
<p><strong>sudo -i</strong></p>
<p>And then:</p>
<p><strong>      sudo passwd root</strong></p>
<p>it will ask us for a new password and that&#8217;s it.</p>
<p>We log in as root:</p>
<p><strong>su</strong></p>
<figure id="attachment_3961" aria-describedby="caption-attachment-3961" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3961" src="https://www.osradar.com/wp-content/uploads/2018/06/13-2.png" alt="13.- logging in as root user" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/13-2.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/13-2-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/13-2-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/13-2-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/13-2-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/13-2-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/13-2-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3961" class="wp-caption-text">13.- logging in as root user</figcaption></figure>
<p>Next, copy the mysql configuration to the new user.</p>
<p><strong>      zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -uzabbix -p zabbix</strong></p>
<figure id="attachment_3962" aria-describedby="caption-attachment-3962" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3962" src="https://www.osradar.com/wp-content/uploads/2018/06/14-2.png" alt="14.- Importing sql config" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/14-2.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/14-2-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/14-2-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/14-2-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/14-2-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/14-2-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/14-2-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3962" class="wp-caption-text">14.- Importing sql config</figcaption></figure>
<figure id="attachment_3963" aria-describedby="caption-attachment-3963" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3963" src="https://www.osradar.com/wp-content/uploads/2018/06/15-2.png" alt="15.- Importing sql config" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/15-2.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/15-2-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/15-2-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/15-2-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/15-2-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/15-2-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/15-2-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3963" class="wp-caption-text">15.- Importing sql config</figcaption></figure>
<h3>Defining the basic settings of Zabbix</h3>
<p>We are almost finished, for now we have to define some parameters in the Zabbix configuration file so that it can work correctly.</p>
<p><strong>          nano /etc/zabbix/zabbix_server.conf</strong></p>
<figure id="attachment_3964" aria-describedby="caption-attachment-3964" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3964" src="https://www.osradar.com/wp-content/uploads/2018/06/16-2.png" alt="16.- editing zabbix server config file" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/16-2.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/16-2-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/16-2-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/16-2-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/16-2-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/16-2-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/16-2-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3964" class="wp-caption-text">16.- editing zabbix server config file</figcaption></figure>
<p>We must modify these parameters so that you can communicate with mysql:</p>
<p>DBHost=localhost</p>
<p>DBName=zabbix</p>
<p>DBUser=zabbixuser</p>
<p>DBPassword=zabbixpss</p>
<p>For these changes to take effect we must restart the Zabbix, apache and mysql services.</p>
<p>For apache:</p>
<p><strong>           systemctl restart apache2.service</strong></p>
<p>Next, the zabbix server:</p>
<p><strong>           systemctl restart zabbix-server.service</strong></p>
<p>And Finally, mysql:</p>
<p><strong>           systemctl restart mysql.service</strong></p>
<figure id="attachment_3965" aria-describedby="caption-attachment-3965" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3965" src="https://www.osradar.com/wp-content/uploads/2018/06/17-1.png" alt="17.- Restarting services" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/17-1.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/17-1-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/17-1-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/17-1-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/17-1-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/17-1-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/17-1-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3965" class="wp-caption-text">17.- Restarting services</figcaption></figure>
<p>We have finally completed the process, and can view your front-end from the web browser.</p>
<p><strong>          http://ip_server/zabbix</strong></p>
<p>and we should see something like this.</p>
<figure id="attachment_3630" aria-describedby="caption-attachment-3630" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3630" src="https://www.osradar.com/wp-content/uploads/2018/05/17.png" alt="Zabbix" width="1366" height="639" srcset="https://www.osradar.com/wp-content/uploads/2018/05/17.png 1366w, https://www.osradar.com/wp-content/uploads/2018/05/17-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/17-768x359.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/17-1024x479.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/17-696x326.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/17-1068x500.png 1068w, https://www.osradar.com/wp-content/uploads/2018/05/17-898x420.png 898w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-3630" class="wp-caption-text">18.-Zabbix</figcaption></figure>
<p>We click on next</p>
<figure id="attachment_3631" aria-describedby="caption-attachment-3631" style="width: 852px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3631" src="https://www.osradar.com/wp-content/uploads/2018/05/18.png" alt="Zabbix 2" width="852" height="506" srcset="https://www.osradar.com/wp-content/uploads/2018/05/18.png 852w, https://www.osradar.com/wp-content/uploads/2018/05/18-300x178.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/18-768x456.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/18-696x413.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/18-707x420.png 707w" sizes="(max-width: 852px) 100vw, 852px" /><figcaption id="caption-attachment-3631" class="wp-caption-text">19.-Zabbix 2</figcaption></figure>
<p>After clicking on next we are presented with a screen where we must enter the mysql configuration parameters:</p>
<figure id="attachment_3632" aria-describedby="caption-attachment-3632" style="width: 852px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3632" src="https://www.osradar.com/wp-content/uploads/2018/05/19.png" alt="zabbix mysql" width="852" height="506" srcset="https://www.osradar.com/wp-content/uploads/2018/05/19.png 852w, https://www.osradar.com/wp-content/uploads/2018/05/19-300x178.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/19-768x456.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/19-696x413.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/19-707x420.png 707w" sizes="(max-width: 852px) 100vw, 852px" /><figcaption id="caption-attachment-3632" class="wp-caption-text">20.-zabbix mysql</figcaption></figure>
<p>Then we can name the zabbix instance that we have just created:</p>
<figure id="attachment_3968" aria-describedby="caption-attachment-3968" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3968" src="https://www.osradar.com/wp-content/uploads/2018/06/20-2.png" alt="21.-Configuring Zabbix" width="1366" height="626" srcset="https://www.osradar.com/wp-content/uploads/2018/06/20-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/20-2-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/20-2-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/20-2-1024x469.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/20-2-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/20-2-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/20-2-916x420.png 916w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-3968" class="wp-caption-text">21.-Configuring Zabbix</figcaption></figure>
<p>You will then give us the summary of the pre-installation:</p>
<figure id="attachment_3969" aria-describedby="caption-attachment-3969" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3969" src="https://www.osradar.com/wp-content/uploads/2018/06/21-2.png" alt="22.- Installation summary" width="1366" height="626" srcset="https://www.osradar.com/wp-content/uploads/2018/06/21-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/21-2-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/21-2-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/21-2-1024x469.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/21-2-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/21-2-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/21-2-916x420.png 916w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-3969" class="wp-caption-text">22.- Pre-installation summary</figcaption></figure>
<p>And finally, we did it: Zabbix-server is installed!!</p>
<figure id="attachment_3970" aria-describedby="caption-attachment-3970" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3970" src="https://www.osradar.com/wp-content/uploads/2018/06/22-1.png" alt="23.- Zbbix installed" width="1366" height="626" srcset="https://www.osradar.com/wp-content/uploads/2018/06/22-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/22-1-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/22-1-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/22-1-1024x469.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/22-1-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/22-1-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/22-1-916x420.png 916w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-3970" class="wp-caption-text">23.- Zbbix installed</figcaption></figure>
<p>When you access the zabbix directory again from your browser, you will be able to log in.</p>
<figure id="attachment_3971" aria-describedby="caption-attachment-3971" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3971" src="https://www.osradar.com/wp-content/uploads/2018/06/23.png" alt="24.- Zabbix log in" width="1366" height="626" srcset="https://www.osradar.com/wp-content/uploads/2018/06/23.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/23-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/23-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/23-1024x469.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/23-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/23-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/23-916x420.png 916w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-3971" class="wp-caption-text">24.- Zabbix log in</figcaption></figure>
<p>To log in as administrator, the user is admin and the password is zabbix, with this we will enter the dashboard</p>
<figure id="attachment_3973" aria-describedby="caption-attachment-3973" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3973" src="https://www.osradar.com/wp-content/uploads/2018/06/24-1.png" alt="25.-Zabbix Dashboard" width="1366" height="626" srcset="https://www.osradar.com/wp-content/uploads/2018/06/24-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/24-1-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/24-1-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/24-1-1024x469.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/24-1-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/24-1-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/24-1-916x420.png 916w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-3973" class="wp-caption-text">25.-Zabbix Dashboard</figcaption></figure>
<p>Of course, in this instantiation the Dashboard is empty, the agent is already installed in the machines to be monitored, and then add them to Zabbix.</p>
<p>Zabbix is a very useful server tool for monitoring services and today we have learned how to install it in our Ubuntu Server 18.04.</p>
<p>Please share this article through your social networks.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/zabbix-a-network-monitor-installation-in-ubuntu-server-18-04/">Zabbix: a network monitor. Installation in Ubuntu Server 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/zabbix-a-network-monitor-installation-in-ubuntu-server-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
