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

<channel>
	<title>how to install pandora on ubuntu 20.04 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/how-to-install-pandora-on-ubuntu-20-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 12 Jan 2021 15:13:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install Pandora FMS Monitoring Tool On Ubuntu 20.04</title>
		<link>https://www.osradar.com/how-to-install-pandora-fms-monitoring-tool-on-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/how-to-install-pandora-fms-monitoring-tool-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Tue, 12 Jan 2021 15:12:33 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[how to install pandora on ubuntu 20.04]]></category>
		<category><![CDATA[how to tutorials]]></category>
		<category><![CDATA[pandora fms monitoring tool]]></category>
		<category><![CDATA[Ubuntu 20.04 tutorials]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=27375</guid>

					<description><![CDATA[<p>In this guide you&#8217;ll learn that how to install Pandora FMS Monitoring Tool on Ubuntu 20.04. Pandora FMS(Flexible Monitoring System) is a monitoring tool that can be used for servers,networks,apps &#38; virtual infrastructure. It is the simple, scalable &#38; easy tool for complex &#38; larger organizations. Pandora uses various protocols like HTTP, TCP, UDP,SNMP to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-pandora-fms-monitoring-tool-on-ubuntu-20-04/">How To Install Pandora FMS Monitoring Tool On Ubuntu 20.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 this guide you&#8217;ll learn that <a href="https://www.osradar.com/?p=27375" target="_blank" rel="noreferrer noopener">how to install Pandora FMS Monitoring Tool on Ubuntu 20.04</a>. Pandora FMS(Flexible Monitoring System) is a monitoring tool that can be used for servers,networks,apps &amp; virtual infrastructure. It is the simple, scalable &amp; easy tool for complex &amp; larger organizations. Pandora uses various protocols like HTTP, TCP, UDP,SNMP to collect informations. With the help of this tool you can monitor the status &amp; performance of Web Servers, database servers, apps, routers &amp; many other network devices.</p>



<h3>Step 1: Update Your System</h3>



<p>First of all update your system to have the latest packages installed.</p>



<pre class="wp-block-verse">sudo apt update -y
sudo apt upgrade -y

Server IP = 51.222.106.194
Server  Hostname =  pandora.osradar.com</pre>



<p>And hit the given command to install the required dependencies.</p>



<pre class="wp-block-verse">sudo apt install snmp snmpd libnet-telnet-perl libgeo-ip-perl libtime-format-perl libxml-simple-perl libxml-twig-perl libdbi-perl libnetaddr-ip-perl libhtml-parser-perl xprobe2 nmap libmail-sendmail-perl traceroute libio-socket-inet6-perl libhtml-tree-perl libsnmp-perl snmp-mibs-downloader libio-socket-multicast-perl libsnmp-perl libjson-perl -y</pre>



<p>Once the update finished, reboot your system.</p>



<pre class="wp-block-verse"></pre>



<h3>Step 2: Install LAMP Server On Ubuntu 20.04</h3>



<p>Fire the following command to install apache, mariaDB, PHP &amp; the other necessary dependencies.</p>



<pre class="wp-block-verse">sudo apt install apache2 mariadb-server php php-common php-gmp php-curl php-mbstring php-xmlrpc php-mysql php-gd php-bcmath php-xml php-cli php-zip php-pear php-zip php-sqlite3 php-snmp php-db graphviz php-curl php-ldap dbconfig-common unzip git -y</pre>



<p>After finishing the installation, edit the <strong>php.ini</strong> file.</p>



<p>And do the following changes.</p>



<pre class="wp-block-verse">memory_limit = 256M
 upload_max_filesize = 100M
 max_execution_time = 360
 max_input_vars = 2000
 date.timezone = Karachi/Asia</pre>



<h3>Step 3: Configure MariaDB Server On Ubuntu 20.04</h3>



<p>Hit the below command to configure MariaDB server on Ubuntu 20.04.</p>



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



<p>Provide the answers to asked questions.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="703" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-39-1024x703.png" alt="" class="wp-image-27654" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-39-1024x703.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/image-39-300x206.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-39-768x527.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/image-39-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2021/01/image-39-696x478.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/image-39-1068x733.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/image-39.png 1114w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Restart  Mariadb daemon </p>



<p><code>systemctl restart mariadb</code></p>



<p>And login to the MariaDB by typing</p>



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



<p>Enter the root password configured above to login to MariaDB. And type the below command to enable the mysql_native_password plugin.</p>



<pre class="wp-block-verse">USE mysql;
UPDATE user SET plugin='mysql_native_password' WHERE User='root';
</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="963" height="194" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-40.png" alt="" class="wp-image-27659" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-40.png 963w, https://www.osradar.com/wp-content/uploads/2021/01/image-40-300x60.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-40-768x155.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/image-40-696x140.png 696w" sizes="(max-width: 963px) 100vw, 963px" /></figure>



<p>Now create a new database with the following details.</p>



<pre class="wp-block-verse">CREATE DATABASE pandora;
 GRANT ALL PRIVILEGES ON pandora.* to pandora@'localhost' IDENTIFIED BY 'pandora';
 FLUSH PRIVILEGES;
 EXIT;</pre>



<p>And edit the <strong>/etc/mysql/my.cnf</strong> file &amp; declare the sql_mode.</p>



<pre class="wp-block-verse">sudo nano /etc/mysql/my.cnf</pre>



<p>Then add the below data.</p>



<pre class="wp-block-verse">[mysqld]<br>sql_mode=NO_ENGINE_SUBSTITUTION</pre>



<p>Save &amp; exit the file.</p>



<p>Then restart MariaDB server.</p>



<pre class="wp-block-verse">sudo systemctl restart mariadb</pre>



<h3>Step 4: Download Pandora FMS On Ubuntu 20.04</h3>



<p>Switch to the <strong>/var/www/html/</strong> directory by typing</p>



<pre class="wp-block-verse">cd /var/www/html/</pre>



<p>And then clone the latest version of Pandora by hitting.</p>



<pre class="wp-block-verse">sudo git clone https://github.com/pandorafms/pandorafms.git
</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="965" height="159" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-41.png" alt="" class="wp-image-27660" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-41.png 965w, https://www.osradar.com/wp-content/uploads/2021/01/image-41-300x49.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-41-768x127.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/image-41-696x115.png 696w" sizes="(max-width: 965px) 100vw, 965px" /></figure>



<p>Then type the following commands to set the proper permissions to the downloaded directory.</p>



<pre class="wp-block-verse">sudo chown -R www-data:www-data /var/www/html/pandorafms<br>sudo chown -R www-data:www-data /var/www/html/pandorafms/pandora_console/<br>sudo chmod -R 775 /var/www/html/pandorafms/pandora_console/</pre>



<p>Next, edit the Pandora config file by typing</p>



<pre class="wp-block-verse">sudo nano /var/www/html/pandorafms/pandora_console/include/config.inc.php</pre>



<p>Then uncomment &amp; change the given lines as per your requirements.</p>



<pre class="wp-block-verse">// Default values
  $config["dbname"]="pandora";
  $config["dbuser"]="pandora";
  $config["dbpass"]="pandora";
  $config["dbhost"]="localhost";
 // This is used for reporting, please add "/" character at the end
 // $config["homedir"]="/var/www/pandora_console/";
 // $config["homeurl"]="/pandora_console/";
  $config["auth"]["scheme"] = "mysql";</pre>



<p>And then save &amp; exit the file.</p>



<h3>Step 5: Configure Apache for Pandora FMS</h3>



<p>Now, create a new virtual host config file for apache to configure it with Pandora FMS.</p>



<pre class="wp-block-verse">sudo nano /etc/apache2/sites-available/pandora.conf</pre>



<p>Then add the below lines into the file.</p>



<pre class="wp-block-verse">&lt;VirtualHost *:80&gt;
 ServerAdmin admin@example.com
 ServerName localhost
 DocumentRoot /var/www/html/pandorafms/pandora_console
&lt;Directory /var/www/html/pandorafms/pandora_console&gt;
 AllowOverride All
 &lt;/Directory&gt;
 ErrorLog /var/log/apache2/error.log
 CustomLog /var/log/apache2/access.log combined
&lt;/VirtualHost&gt;</pre>



<p>Finally save &amp; exit the file. And enable the config file by</p>



<pre class="wp-block-verse">sudo a2ensite pandora</pre>



<p>Then restart the Apache.</p>



<pre class="wp-block-verse">sudo systemctl restart apache2</pre>



<h3>Step 6: Access Pandora FMS On Ubuntu 20.04</h3>



<p>Type  <strong>http://</strong>IP   or <strong>http://</strong>hostname in your browser in order to access Pandora. You&#8217;ll see the Pandora web installation wizard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="453" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-35-1024x453.png" alt="" class="wp-image-27586" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-35-1024x453.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/image-35-300x133.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-35-768x340.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/image-35-1536x680.png 1536w, https://www.osradar.com/wp-content/uploads/2021/01/image-35-696x308.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/image-35-1068x473.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/image-35.png 1592w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Press <strong>&#8220;Next&#8221;</strong>. A new page will be open.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="634" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-36-1024x634.png" alt="" class="wp-image-27587" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-36-1024x634.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/image-36-300x186.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-36-768x476.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/image-36-696x431.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/image-36-1068x661.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/image-36.png 1379w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Accept License.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="654" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-37-1024x654.png" alt="" class="wp-image-27588" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-37-1024x654.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/image-37-300x192.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-37-768x490.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/image-37-696x444.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/image-37-1068x682.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/image-37.png 1355w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Verify that all requirements are met and press <strong>&#8220;Next</strong>.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="666" height="763" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-42.png" alt="" class="wp-image-27663" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-42.png 666w, https://www.osradar.com/wp-content/uploads/2021/01/image-42-262x300.png 262w" sizes="(max-width: 666px) 100vw, 666px" /></figure>



<p>Provide DB details &amp; click :<strong>Next</strong>&#8220;.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="671" height="583" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-43.png" alt="" class="wp-image-27664" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-43.png 671w, https://www.osradar.com/wp-content/uploads/2021/01/image-43-300x261.png 300w" sizes="(max-width: 671px) 100vw, 671px" /></figure>



<p>As it&#8217;ll change the pass of Pandora DB user. Hit the below command to declare your origonal password.</p>



<pre class="wp-block-verse">sudo nano /var/www/html/pandorafms/pandora_console/include/config.php</pre>



<p>And change the &#8220;$config[&#8220;dbpass&#8221;]&#8221; with your origonal pass.</p>



<pre class="wp-block-verse">// Begin of automatic config file
$config["dbtype"] = "mysql"; //DB type (mysql, postgresql…in future others)
$config["mysqli"] = true;
$config["dbname"]="pandora";
$config["dbuser"]="pandora";
$config["dbpass"]="pandora";
$config["dbhost"]="localhost";</pre>



<p>Fianlly save &amp; exit the file.</p>



<p>Run the below command in termianl to remove the install.php file.</p>



<pre class="wp-block-verse">sudo rm -rf /var/www/html/pandorafms/pandora_console/install.php</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="529" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/2021-01-09_22h51_24-1024x529.png" alt="" class="wp-image-27590" srcset="https://www.osradar.com/wp-content/uploads/2021/01/2021-01-09_22h51_24-1024x529.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-09_22h51_24-300x155.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-09_22h51_24-768x397.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-09_22h51_24-696x360.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-09_22h51_24-1068x552.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-09_22h51_24.png 1387w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Adn press<strong> &#8220;Click here to access to your Pandora FMS console&#8221;</strong> on web interface to access Pandora dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="505" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-39-1024x505.jpg" alt="" class="wp-image-27591" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-39-1024x505.jpg 1024w, https://www.osradar.com/wp-content/uploads/2021/01/image-39-300x148.jpg 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-39-768x379.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/01/image-39-696x343.jpg 696w, https://www.osradar.com/wp-content/uploads/2021/01/image-39-1068x527.jpg 1068w, https://www.osradar.com/wp-content/uploads/2021/01/image-39.jpg 1184w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>user:admin<br>pass:pandora</p>



<p>Provide default details to login &amp; you&#8217;ll be redirected to the Pandora FMS dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="489" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-44-1024x489.png" alt="" class="wp-image-27669" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-44-1024x489.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/image-44-300x143.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-44-768x367.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/image-44-1536x734.png 1536w, https://www.osradar.com/wp-content/uploads/2021/01/image-44-696x333.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/image-44-1068x511.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/image-44.png 1843w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h3>Step 7: Secure Pandora FMS with Let&#8217;s Encrypt</h3>



<p>As for security reasons it is recommended to use SSL. We&#8217;ll use Let&#8217;s Encrypt SSL for this purposes to access Pandora securely. Run the given command to get certbot certificates.</p>



<pre class="wp-block-verse">sudo apt install python3-certbot-apache -y</pre>



<p>After installing certbot, type the below command to get SSL for your domain.</p>



<pre class="wp-block-verse">certbot --apache -d pandora.osradar.com</pre>



<p>And then provide the asked details.</p>



<p>Now, you can access Pandora via HTTPS.</p>



<p>So, this is how you can install Pandora FMS On Ubuntu 20.04</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-pandora-fms-monitoring-tool-on-ubuntu-20-04/">How To Install Pandora FMS Monitoring Tool On Ubuntu 20.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-pandora-fms-monitoring-tool-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
