<?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>gugaBSD &#187; centreon</title>
	<atom:link href="http://www.luizgustavo.pro.br/blog/tag/centreon/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.luizgustavo.pro.br/blog</link>
	<description>Software Livre, BSD e outras coisas mais...</description>
	<lastBuildDate>Thu, 29 Jul 2010 09:15:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Centreon 2.1.5 disponivel</title>
		<link>http://www.luizgustavo.pro.br/blog/2010/03/04/centreon-2-1-5-disponivel/</link>
		<comments>http://www.luizgustavo.pro.br/blog/2010/03/04/centreon-2-1-5-disponivel/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 13:32:48 +0000</pubDate>
		<dc:creator>luizgustavo</dc:creator>
				<category><![CDATA[Software Livre]]></category>
		<category><![CDATA[mundoUnix]]></category>
		<category><![CDATA[centreon]]></category>
		<category><![CDATA[lançamento]]></category>
		<category><![CDATA[monitoramento]]></category>

		<guid isPermaLink="false">http://www.luizgustavo.pro.br/blog/?p=496</guid>
		<description><![CDATA[No dia 26/02 a equipe de desenvolvimento do Centreon lançou a nova versão do Centreon 2.1.5, corrigindo uma série de bugs na interface administrativa. Para ver a lista completa das alterações, veja o anuncio oficial no blog do projeto. Se você instalou o Centreon utilizando meu tutorial no FreeBSD, veja abaixo como atualiza-lo. cd /tmp [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/03/logo_pq_centreon.png"><img class="alignleft size-full wp-image-498" style="margin: 5px 15px;" title="logo_pq_centreon" src="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/03/logo_pq_centreon.png" alt="" width="83" height="58" /></a>No dia 26/02 a equipe de desenvolvimento do <a href="http://www.centreon.com" target="_blank">Centreon</a> lançou a nova versão do Centreon 2.1.5, corrigindo uma série de bugs na interface administrativa.</p>
<p style="text-align: justify;">Para ver a lista completa das alterações, veja o <a href="http://blog.centreon.com/index.php?post/2010/02/26/Centreon-2.1.5-available" target="_blank">anuncio oficial</a> no <a href="http://blog.centreon.com" target="_blank">blog</a> do projeto.</p>
<p>Se você instalou o Centreon utilizando meu <a href="http://www.luizgustavo.pro.br/blog/2010/02/15/centreon-2-1-4-no-freebsd/" target="_blank">tutorial</a> no FreeBSD, veja abaixo como atualiza-lo.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>tmp
fetch <span style="color: #660033;">-o</span> centreon-2.1.5.tar.gz <span style="color: #ff0000;">'http://download.centreon.com/index.php?id=125'</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">tar</span> zxf centreon-2.1.5.tar.gz
<span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> centreon-2.1.5
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span> <span style="color: #660033;">-p</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/\/bin\/bash/\/usr\/local\/bin\/bash/g'</span> install.sh
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span> <span style="color: #660033;">-p</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/\/bin\/bash/\/usr\/local\/bin\/bash/g'</span> libinstall<span style="color: #000000; font-weight: bold;color: #CCC;">/*</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">bash</span> install.sh <span style="color: #660033;">-u</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>centreon</pre></div></div>

<p>A partir daí é só responder as perguntas e acessar o Centreon via web para atualizar a base de dados. Sem erro&#8230; bem rápido e sem dor <img src='http://www.luizgustavo.pro.br/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.luizgustavo.pro.br/blog/2010/03/04/centreon-2-1-5-disponivel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centreon 2.1.4 on FreeBSD (English)</title>
		<link>http://www.luizgustavo.pro.br/blog/2010/02/16/centreon-2-1-4-on-freebsd-english/</link>
		<comments>http://www.luizgustavo.pro.br/blog/2010/02/16/centreon-2-1-4-on-freebsd-english/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 15:00:30 +0000</pubDate>
		<dc:creator>luizgustavo</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Sem categoria]]></category>
		<category><![CDATA[Software Livre]]></category>
		<category><![CDATA[centreon]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.luizgustavo.pro.br/blog/?p=422</guid>
		<description><![CDATA[This tutorial will guide the User to perform the installation of Centreon on FreeBSD. We will be using an installation in a Jail in FreeBSD kernel version 7.3-PRERELEASE, the kernel version will not influence the tutorial. What is Centreon? Centreon is a powerful tool for monitoring hosts and services, it is a frontend that runs [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/centreon_bsd.png"><img class="size-full wp-image-367 aligncenter" style="border: 0pt none; margin-top: 3px; margin-bottom: 3px;" title="centreon_bsd" src="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/centreon_bsd.png" alt="" width="250" height="81" /></a></p>
<p>This tutorial will guide the User to perform the installation of Centreon on FreeBSD. We will be using an installation in a Jail in FreeBSD kernel version 7.3-PRERELEASE, the kernel version will not influence the tutorial.</p>
<h4>What is Centreon?</h4>
<p>Centreon is a powerful tool for monitoring hosts and services, it is a frontend that runs on top of Nagios, adding more facilities for viewing and alert history, status, etc. ..</p>
<div>
<p style="text-align: center;"><a href="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/monitoramento_diagrama.png"><img class="aligncenter size-full wp-image-386" title="monitoramento_diagrama" src="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/monitoramento_diagrama.png" alt="" width="326" height="295" /></a></p>
<p>To learn more about the tool, I invite you to visit the official website at the address <a title="http://www.centreon.com" rel="nofollow" href="http://www.centreon.com/">http://www.centreon.com</a></p>
<p><span id="more-422"></span><strong>What we need?</strong></p>
<div>
<ul>
<li>Apache</li>
<li><acronym title="Hypertext Preprocessor">PHP</acronym> + a lot of dependencies</li>
<li>Mysql</li>
<li>Nagios</li>
<li>Pear + a lot of dependencies</li>
<li><acronym title="Practical Extraction and Report Language">Perl</acronym> + a lot of dependencies</li>
<li>rrdtool</li>
<li>snmp</li>
<li>sudo</li>
<li>Centreon (obvious :-p)</li>
</ul>
</div>
<h2>Starting installation of packages</h2>
</div>
<h4>Installation of Perl</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>lang<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>perl5.10
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Mark the options:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │      <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> PERL_64BITINT  Use <span style="color: #000000;color: #DDD;">64</span> bit integers <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span>on i386<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span>          │ │
│ │      <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> THREADS        Build threaded <span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span>                    │ │
│ │      <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> USE_PERL       Rewrite links <span style="color: #000000; font-weight: bold;color: #B83A24;">in</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>bin              │ │</pre></div></div>

<h4>Installation of BASH:</h4>
<p><em>Basically we use the BASH only to run the installation script</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>shells<span style="color: #000000; font-weight: bold;color: #CCC;">/</span><span style="color: #c20cb9; font-weight: bold;color: #577A61;">bash</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Installation SUDO to perform tasks for the Apache User:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>security<span style="color: #000000; font-weight: bold;color: #CCC;">/</span><span style="color: #c20cb9; font-weight: bold;color: #577A61;">sudo</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">batch</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Installation of Apache server:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>www<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>apache20
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Configure Apache to start with FreeBSD:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;">'apache2_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.conf</pre></div></div>

<h4>Installation of Net-SNMP:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net-snmp
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Mark the options:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │    <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> IPV6           Build with IPv6 support                  │ │
│ │    <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> MFD_REWRITES   Build with <span style="color: #000000;color: #DDD;">64</span>-bit Interface Counters     │ │
│ │    <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> PERL           Install additional <span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span> modules          │ │
│ │    <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> PERL_EMBEDDED  Build embedded <span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span>                      │ │
│ │    <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> DUMMY          Enable dummy values <span style="color: #c20cb9; font-weight: bold;color: #577A61;">as</span> placeholders      │ │</pre></div></div>

<p><em>Options for startup service:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #c20cb9; font-weight: bold;color: #577A61;">mkdir</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmp
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">cp</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>share<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmp<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmpd.conf.example <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmp<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmpd.conf
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span> <span style="color: #660033;">-p</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/com2sec local     localhost       COMMUNITY/com2sec local     localhost       public/g'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmp<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmpd.conf
<span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;">'snmpd_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.conf
<span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;">'snmpd_pidfile=&quot;/usr/local/etc/snmp/snmpd.conf&quot;'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.conf
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmpd start</pre></div></div>

<h4>Installation of PHP5:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>lang<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Mark the options:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> CLI        Build CLI version                                │ │
│ │<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> APACHE     Build Apache module                              │ │
│ │<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> IPV6       Enable ipv6 support                              │ │</pre></div></div>

<h4>Configure the PHP:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">cp</span> php.ini-recommended php.ini</pre></div></div>

<p><em>Configure the Apache for use with PHP</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;color: #666666;">&quot;AddType application/x-httpd-php .php&quot;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>apache2<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>httpd.conf
<span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;color: #666666;">&quot;AddType application/x-httpd-php-source .phps&quot;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>apache2<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>httpd.conf
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">cat</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>apache2<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>httpd.conf <span style="color: #000000; font-weight: bold;color: #CCC;">|</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">sed</span> <span style="color: #ff0000;">'s/DirectoryIndex index.html index.html.var/DirectoryIndex index.html index.html.var index.php/'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>tmp<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>httpd.conf <span style="color: #000000; font-weight: bold;color: #CCC;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">mv</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>tmp<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>httpd.conf <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>apache2<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>httpd.conf</pre></div></div>

<h4>Installation of Database MySQL:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>mysql51-server
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Configure the MySQL for start with FreeBSD:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;">'mysql_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.conf</pre></div></div>

<h4>Installing the dependencies of PHP:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-mysql
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>graphics<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-gd
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>www<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-session
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>archivers<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-zlib
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>sysutils<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-posix
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-pcre
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Mark the options:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │        <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> BUNDLED_PCRE  Select <span style="color: #000000; font-weight: bold;color: #B83A24;">if</span> you use apache 2.0.x        │ │</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>security<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-filter
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>converters<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-mbstring
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Mark the options:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │           <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> REGEX  Enable multibyte regex support            │ │</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>textproc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-xml
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>textproc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-xmlwriter
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-gettext
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Installation of PEAR and its dependencies:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-DB_DataObject
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-DB_DataObject_FormBuilder
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-MDB2
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>textproc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Numbers_Roman
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>textproc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Numbers_Words
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-HTML_QuickForm2
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-HTML_QuickForm_advmultiselect
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-HTML_Table
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>security<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Auth_SASL
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>graphics<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Image_Canvas
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>graphics<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Image_Graph
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>graphics<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Image_GraphViz
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Net_SMTP
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Installing some packages in PERL for the Centreon:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-Config-IniFiles
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>graphics<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-GD
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-DBD-mysql
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>security<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-Crypt-DES
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>security<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-Digest-HMAC
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-IO-INET6
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-Net-SNMP
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Installing the main tool for creating graphics, RRDTOOL:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rrdtool
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Installation of Nagios 3:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>nagios
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Mark the options:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> EMBEDDED_PERL   Enable embedded Perl <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>requires Perl 5.8.0+<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> │ │
│ │<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> NANOSLEEP       Use nanosleep <span style="color: #000000; font-weight: bold;color: #B83A24;">in</span> event timing               │ │
│ │<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> EVENT_BROKER    Enable event broker functionality           │ │</pre></div></div>

<p><em>Nagios-plugins:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │ <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> FPING    Support <span style="color: #000000; font-weight: bold;color: #B83A24;">for</span> non-flooding fast <span style="color: #c20cb9; font-weight: bold;color: #577A61;">ping</span> <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span>check_fping<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span>  │ │
│ │ <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> NETSNMP  SNMP support <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span>check_snmp<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span>                         │ │</pre></div></div>

<p><em>If you are installing inside a Jail, select the option below:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │ <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> JAIL     Compilation within jail<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span><span style="color: #000000;color: #DDD;">8</span><span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span> <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span>see Makefile<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span>         │ │</pre></div></div>

<p><em>Rename the configuration of Nagios (<strong>running the shell csh</strong>)</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>nagios
foreach arquivo <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span> <span style="color: #ff0000;color: #666666;">&quot;<span style="color: #780078;">`ls -1`</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">mv</span> <span style="color: #007800;color: blue;">$arquivo</span> <span style="color: #000000; font-weight: bold;color: #CCC;">`</span><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #007800;color: blue;">$arquivo</span> <span style="color: #000000; font-weight: bold;color: #CCC;">|</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">sed</span> <span style="color: #ff0000;">'s/-sample//g'</span><span style="color: #000000; font-weight: bold;color: #CCC;">`</span>
end
<span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> objects
foreach arquivo <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span> <span style="color: #ff0000;color: #666666;">&quot;<span style="color: #780078;">`ls -1`</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">mv</span> <span style="color: #007800;color: blue;">$arquivo</span> <span style="color: #000000; font-weight: bold;color: #CCC;">`</span><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #007800;color: blue;">$arquivo</span> <span style="color: #000000; font-weight: bold;color: #CCC;">|</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">sed</span> <span style="color: #ff0000;">'s/-sample//g'</span><span style="color: #000000; font-weight: bold;color: #CCC;">`</span>
end</pre></div></div>

<h4>Image Pack for Nagios:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>misc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>nagios-base-logos
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Installation of NDO-utils:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ndoutils<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Mark the options:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │                 <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> MYSQL  MySQL Backend                       │ │</pre></div></div>

<p>Now is the time we start the installation of Centreon for this, we must first download the installation package Centreon and unpack it in a directory to work:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>tmp
fetch http:<span style="color: #000000; font-weight: bold;color: #CCC;">//</span>download.centreon.com<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>centreon<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>centreon-2.1.4.tar.gz
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">tar</span> zxf centreon-2.1.4.tar.gz
<span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> centreon-2.1.4</pre></div></div>

<p>Let&#8217;s make some adjustments to run on FreeBSD:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span> <span style="color: #660033;">-p</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/\/bin\/bash/\/usr\/local\/bin\/bash/g'</span> install.sh
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span> <span style="color: #660033;">-p</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/\/bin\/bash/\/usr\/local\/bin\/bash/g'</span> libinstall<span style="color: #000000; font-weight: bold;color: #CCC;">/*</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">mkdir</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>cron.d
<span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>tmp<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>centreon-2.1.4<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>tmpl<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>vardistrib
fetch <span style="color: #660033;">-o</span> freebsd http:<span style="color: #000000; font-weight: bold;color: #CCC;">//</span>www.luizgustavo.pro.br<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>blog<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>wp-content<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>uploads<span style="color: #000000; font-weight: bold;color: #CCC;">/</span><span style="color: #000000;color: #DDD;">2010</span><span style="color: #000000; font-weight: bold;color: #CCC;">/</span>02<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>freebsd.txt</pre></div></div>

<p>We will now begin installing Centreon:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> ..<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>..
.<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>install.sh <span style="color: #660033;">-f</span> tmpl<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>vardistrib<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>freebsd</pre></div></div>

<h4>Follow as the video:</h4>
<p><script type='text/javascript' src='http://www.luizgustavo.pro.br/blog/wp-content/plugins/hana-flv-player/flowplayer3/example/flowplayer-3.1.1.min.js'></script>
<div >
<div id='hana_flv_flow3_1' style='display:block;width:592px;height:288px;' title=""></div>
</div>

			<script  type='text/javascript'>
		flowplayer('hana_flv_flow3_1', { src: 'http://www.luizgustavo.pro.br/blog/wp-content/plugins/hana-flv-player/flowplayer3/flowplayer-3.1.1.swf', wmode: 'transparent' }, { 
    		clip:  { 
    			url: 'http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/install_sh.flv',
        		scaling: 'scale', autoPlay: false, autoBuffering: false 
				  , onBeforeFinish : function() { this.play(0);  return false; }  
	        }
		}); 
			</script></p>
<p>When installation is complete, we will leave for the web, so, start MySQL and Apache:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>apache2 start
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>mysql-server start</pre></div></div>

<p>We hit a permission not ok:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #c20cb9; font-weight: bold;color: #577A61;">chown</span> <span style="color: #660033;">-R</span> www:www <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>centreon<span style="color: #000000; font-weight: bold;color: #CCC;">/</span></pre></div></div>

<p><em>Now so we can point our browser to the server address Centreon:</em></p>
<pre>http://&lt;ip_ou_url&gt;/centreon</pre>
<h4>Follow the video to configure web:</h4>
<p>
<div >
<div id='hana_flv_flow3_2' style='display:block;width:592px;height:288px;' title=""></div>
</div>

			<script  type='text/javascript'>
		flowplayer('hana_flv_flow3_2', { src: 'http://www.luizgustavo.pro.br/blog/wp-content/plugins/hana-flv-player/flowplayer3/flowplayer-3.1.1.swf', wmode: 'transparent' }, { 
    		clip:  { 
    			url: 'http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/centreon_inst_web1.flv',
        		scaling: 'scale', autoPlay: false, autoBuffering: false 
				  , onBeforeFinish : function() { this.play(0);  return false; }  
	        }
		}); 
			</script></p>
<p><strong>still need to export the configuration files for our NDO-Utils to work for that accompanies the video on the export of the same web:</strong></p>
<p>
<div >
<div id='hana_flv_flow3_3' style='display:block;width:592px;height:288px;' title=""></div>
</div>

			<script  type='text/javascript'>
		flowplayer('hana_flv_flow3_3', { src: 'http://www.luizgustavo.pro.br/blog/wp-content/plugins/hana-flv-player/flowplayer3/flowplayer-3.1.1.swf', wmode: 'transparent' }, { 
    		clip:  { 
    			url: 'http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/export_config.flv',
        		scaling: 'scale', autoPlay: false, autoBuffering: false 

	        }
		}); 
			</script></p>
<p><em>That done, we can initialize the NDO:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;">'ndo2db_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.conf
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ndo2db start</pre></div></div>

<p><em>Now, let&#8217;s start the process of Centreon:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">pw user mod nagios <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>bin<span style="color: #000000; font-weight: bold;color: #CCC;">/</span><span style="color: #c20cb9; font-weight: bold;color: #577A61;">sh</span>
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>centcore start
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>centstorage start</pre></div></div>

<p><em>We hit a path within the SUDO</em><em>:</em></p>
<div>
<div>
<pre>perl -p -i -e 's/\/etc\/init\.d\/nagios/\/usr\/local\/etc\/rc\.d\/nagios/g' /usr/local/etc/sudoers</pre>
</div>
</div>
<p><em>Setting the part of CRON for FreeBSD</em><em>:</em></p>
<div>
<div>
<pre>cat /usr/local/etc/cron.d/* &gt;&gt; /etc/crontab
/etc/rc.d/cron restart</pre>
</div>
</div>
<h4>and now the Nagios:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;">'nagios_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.conf
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>nagios start</pre></div></div>

<p>Finished ! Now you can set up your hosts and start monitoring.</p>
<p><a href="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2009/09/logo_mundounix3.png"><img class="alignleft size-full wp-image-8" style="margin-left: 5px; margin-right: 5px;" title="logo_mundounix3" src="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2009/09/logo_mundounix3.png" alt="" width="284" height="72" /></a><em><strong>If you need support Centreon, please contact the <a href="http://www.mundounix.com.br" target="_blank">Mundounix</a>, we offer support and advice for monitoring networks solution.</strong></em></p>
<p><a href="http://www.mundounix.com.br" target="_blank">http://www.mundounix.com.br</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luizgustavo.pro.br/blog/2010/02/16/centreon-2-1-4-on-freebsd-english/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/install_sh.flv" length="1874920" type="video/x-flv" />
<enclosure url="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/centreon_inst_web1.flv" length="2095481" type="video/x-flv" />
<enclosure url="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/export_config.flv" length="1475332" type="video/x-flv" />
		</item>
		<item>
		<title>Centreon 2.1.4 no FreeBSD</title>
		<link>http://www.luizgustavo.pro.br/blog/2010/02/15/centreon-2-1-4-no-freebsd/</link>
		<comments>http://www.luizgustavo.pro.br/blog/2010/02/15/centreon-2-1-4-no-freebsd/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 19:26:41 +0000</pubDate>
		<dc:creator>luizgustavo</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Software Livre]]></category>
		<category><![CDATA[mundo BSD]]></category>
		<category><![CDATA[centreon]]></category>
		<category><![CDATA[monitoramento]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.luizgustavo.pro.br/blog/?p=366</guid>
		<description><![CDATA[Este tutorial vai orientar o usuário a efetuar a instalação do Centreon no FreeBSD. Estaremos utilizando uma instalação em uma Jail do FreeBSD com kernel versão 7.3-PRERELEASE, a versão do kernel não influenciará no tutorial. English users, you can use the Tutorial in english, click here O que é o Centreon ? Centreon é uma [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/centreon_bsd.png"><img class="size-full wp-image-367 aligncenter" style="border: 0pt none; margin-top: 3px; margin-bottom: 3px;" title="centreon_bsd" src="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/centreon_bsd.png" alt="" width="250" height="81" /></a></p>
<p style="text-align: left;">Este tutorial vai orientar o usuário a efetuar a instalação do Centreon no FreeBSD. Estaremos utilizando uma instalação em uma Jail do FreeBSD com kernel versão 7.3-PRERELEASE, a versão do kernel não influenciará no tutorial.</p>
<blockquote><p><strong>English users, you can use the Tutorial in english, <a href="http://www.luizgustavo.pro.br/blog/2010/02/16/centreon-2-1-4-on-freebsd-english/" target="_self">click here</a></strong></p></blockquote>
<h4>O que é o Centreon ?</h4>
<div>
<p style="text-align: justify;">Centreon é uma poderosa ferramenta de monitoramento de hosts e serviços, ele é um frontend que funciona em cima do Nagios, adicionando muitas facilidades para visualização e histórico de alertas, estatus, etc..</p>
<p style="text-align: center;"><a href="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/monitoramento_diagrama.png"><img class="aligncenter size-full wp-image-386" title="monitoramento_diagrama" src="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/monitoramento_diagrama.png" alt="" width="326" height="295" /></a></p>
<p>Para conhecer um pouco mais sobre a ferramenta, eu lhe convido a visitar o site oficial no endereço <a title="http://www.centreon.com" rel="nofollow" href="http://www.centreon.com/">http://www.centreon.com</a></p>
<p><span id="more-366"></span>O que nós vamos precisar ?</p>
<div>
<ul>
<li>Apache</li>
<li><acronym title="Hypertext Preprocessor">PHP</acronym> + um monte de dependências</li>
<li>Mysql</li>
<li>Nagios</li>
<li>Pear + um monte de dependências</li>
<li><acronym title="Practical Extraction and Report Language">Perl</acronym> + um monte de dependências</li>
<li>rrdtool</li>
<li>snmp</li>
<li>sudo</li>
<li>Centreon (óbvio :-p)</li>
</ul>
</div>
<h2>Iniciando a instalação dos pacotes</h2>
</div>
<h4>Instalação do Perl</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>lang<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>perl5.10
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Marque as opções:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │      <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> PERL_64BITINT  Use <span style="color: #000000;color: #DDD;">64</span> bit integers <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span>on i386<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span>          │ │
│ │      <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> THREADS        Build threaded <span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span>                    │ │
│ │      <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> USE_PERL       Rewrite links <span style="color: #000000; font-weight: bold;color: #B83A24;">in</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>bin              │ │</pre></div></div>

<h4>Instalando BASH:</h4>
<p><em>Basicamente iremos usar o BASH somente para executar o script de instalação</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>shells<span style="color: #000000; font-weight: bold;color: #CCC;">/</span><span style="color: #c20cb9; font-weight: bold;color: #577A61;">bash</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Instalação do SUDO para execução de tarefas para o usuário do apache:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>security<span style="color: #000000; font-weight: bold;color: #CCC;">/</span><span style="color: #c20cb9; font-weight: bold;color: #577A61;">sudo</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">batch</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Instalação do servidor Apache:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>www<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>apache20
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Configure o Apache para iniciar junto com o FreeBSD:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;">'apache2_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.conf</pre></div></div>

<h4>Instalação do Net-SNMP:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net-snmp
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Marque as opções:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │    <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> IPV6           Build with IPv6 support                  │ │
│ │    <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> MFD_REWRITES   Build with <span style="color: #000000;color: #DDD;">64</span>-bit Interface Counters     │ │
│ │    <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> PERL           Install additional <span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span> modules          │ │
│ │    <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> PERL_EMBEDDED  Build embedded <span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span>                      │ │
│ │    <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> DUMMY          Enable dummy values <span style="color: #c20cb9; font-weight: bold;color: #577A61;">as</span> placeholders      │ │</pre></div></div>

<p><em>Opções para inicialização do serviço:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #c20cb9; font-weight: bold;color: #577A61;">mkdir</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmp
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">cp</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>share<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmp<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmpd.conf.example <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmp<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmpd.conf
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span> <span style="color: #660033;">-p</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/com2sec local     localhost       COMMUNITY/com2sec local     localhost       public/g'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmp<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmpd.conf
<span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;">'snmpd_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.conf
<span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;">'snmpd_pidfile=&quot;/usr/local/etc/snmp/snmpd.conf&quot;'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.conf
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>snmpd start</pre></div></div>

<h4>Instalação do PHP5:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>lang<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Marque as opções:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> CLI        Build CLI version                                │ │
│ │<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> APACHE     Build Apache module                              │ │
│ │<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> IPV6       Enable ipv6 support                              │ │</pre></div></div>

<h4>Configure o PHP:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">cp</span> php.ini-recommended php.ini</pre></div></div>

<p><em>Configure o Apache para usar o PHP</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;color: #666666;">&quot;AddType application/x-httpd-php .php&quot;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>apache2<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>httpd.conf
<span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;color: #666666;">&quot;AddType application/x-httpd-php-source .phps&quot;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>apache2<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>httpd.conf
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">cat</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>apache2<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>httpd.conf <span style="color: #000000; font-weight: bold;color: #CCC;">|</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">sed</span> <span style="color: #ff0000;">'s/DirectoryIndex index.html index.html.var/DirectoryIndex index.html index.html.var index.php/'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>tmp<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>httpd.conf <span style="color: #000000; font-weight: bold;color: #CCC;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">mv</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>tmp<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>httpd.conf <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>apache2<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>httpd.conf</pre></div></div>

<h4>Instalação do servidor de banco de dados MySQL:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>mysql51-server
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Configure o MySQL para ser iniciado junto com o FreeBSD:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;">'mysql_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.conf</pre></div></div>

<h4>Instalando as dependências do PHP:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-mysql
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>graphics<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-gd
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>www<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-session
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>archivers<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-zlib
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>sysutils<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-posix
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-pcre
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Marque a opção abaixo:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │        <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> BUNDLED_PCRE  Select <span style="color: #000000; font-weight: bold;color: #B83A24;">if</span> you use apache 2.0.x        │ │</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>security<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-filter
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>converters<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-mbstring
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Marque a opção abaixo:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │           <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> REGEX  Enable multibyte regex support            │ │</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>textproc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-xml
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>textproc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-xmlwriter
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>php5-gettext
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Instalando o PEAR e suas dependências:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-DB_DataObject
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-DB_DataObject_FormBuilder
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-MDB2
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>textproc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Numbers_Roman
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>textproc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Numbers_Words
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-HTML_QuickForm2
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-HTML_QuickForm_advmultiselect
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>bin<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear uninstall HTML_QuickForm_advmultiselect
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>bin<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> <span style="color: #660033;">-f</span> pear<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>HTML_QuickForm_advmultiselect-1.2.0</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Net_Traceroute
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Net_Ping
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Validate
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-XML_RPC
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>mail<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Mail
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>mail<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Mail_Mime
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>www<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-HTTP
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-SOAP
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #ff0000;color: #666666;">&quot;&quot;</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-HTML_Table
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>security<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Auth_SASL
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>graphics<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Image_Canvas
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>graphics<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Image_Graph
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>graphics<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Image_GraphViz
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>pear-Net_SMTP
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Instalando alguns pacotes em PERL necessários para o Centreon:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>devel<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-Config-IniFiles
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>graphics<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-GD
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-DBD-mysql
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>security<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-Crypt-DES
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>security<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-Digest-HMAC
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-IO-INET6
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>p5-Net-SNMP
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Instalação da principal ferramenta de criação de gráficos, RRDTOOL:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>databases<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rrdtool
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;color: #577A61;">yes</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Instalação do Nagios 3:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>nagios
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Marque as opções:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> EMBEDDED_PERL   Enable embedded Perl <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>requires Perl 5.8.0+<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> │ │
│ │<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> NANOSLEEP       Use nanosleep <span style="color: #000000; font-weight: bold;color: #B83A24;">in</span> event timing               │ │
│ │<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> EVENT_BROKER    Enable event broker functionality           │ │</pre></div></div>

<p><em>Nagios-plugins:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │ <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> FPING    Support <span style="color: #000000; font-weight: bold;color: #B83A24;">for</span> non-flooding fast <span style="color: #c20cb9; font-weight: bold;color: #577A61;">ping</span> <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span>check_fping<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span>  │ │
│ │ <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> NETSNMP  SNMP support <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span>check_snmp<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span>                         │ │</pre></div></div>

<p><em>Se estiver instalando dentro de uma Jail, marque a opção abaixo:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │ <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> JAIL     Compilation within jail<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span><span style="color: #000000;color: #DDD;">8</span><span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span> <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span>see Makefile<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span>         │ │</pre></div></div>

<p><em>Renomeie os arquivos de configuração do Nagios (<strong>executando o shell csh</strong>)</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>nagios
foreach arquivo <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span> <span style="color: #ff0000;color: #666666;">&quot;<span style="color: #780078;">`ls -1`</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">mv</span> <span style="color: #007800;color: blue;">$arquivo</span> <span style="color: #000000; font-weight: bold;color: #CCC;">`</span><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #007800;color: blue;">$arquivo</span> <span style="color: #000000; font-weight: bold;color: #CCC;">|</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">sed</span> <span style="color: #ff0000;">'s/-sample//g'</span><span style="color: #000000; font-weight: bold;color: #CCC;">`</span>
end
<span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> objects
foreach arquivo <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#40;</span> <span style="color: #ff0000;color: #666666;">&quot;<span style="color: #780078;">`ls -1`</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#41;</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">mv</span> <span style="color: #007800;color: blue;">$arquivo</span> <span style="color: #000000; font-weight: bold;color: #CCC;">`</span><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #007800;color: blue;">$arquivo</span> <span style="color: #000000; font-weight: bold;color: #CCC;">|</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">sed</span> <span style="color: #ff0000;">'s/-sample//g'</span><span style="color: #000000; font-weight: bold;color: #CCC;">`</span>
end</pre></div></div>

<h4>Pacote de figuras do Nagios:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>misc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>nagios-base-logos
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<h4>Instalação do NDO-utils:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ports<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ndoutils<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">make</span> <span style="color: #c20cb9; font-weight: bold;color: #577A61;">install</span> clean</pre></div></div>

<p><em>Marque a opção:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">│ │                 <span style="color: #7a0874; font-weight: bold;color: #CCC;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;color: #CCC;">&#93;</span> MYSQL  MySQL Backend                       │ │</pre></div></div>

<p>Agora é a hora de iniciar-mos a instalação do Centreon, para isso, precisamos primeiramente baixar o pacote de instalação do Centreon e descompacta-lo em um diretorio para trabalhar-mos:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>tmp
fetch http:<span style="color: #000000; font-weight: bold;color: #CCC;">//</span>download.centreon.com<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>centreon<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>centreon-2.1.4.tar.gz
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">tar</span> zxf centreon-2.1.4.tar.gz
<span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> centreon-2.1.4</pre></div></div>

<p>Vamos fazer alguns acertos para funcionar no FreeBSD:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span> <span style="color: #660033;">-p</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/\/bin\/bash/\/usr\/local\/bin\/bash/g'</span> install.sh
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span> <span style="color: #660033;">-p</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/\/bin\/bash/\/usr\/local\/bin\/bash/g'</span> libinstall<span style="color: #000000; font-weight: bold;color: #CCC;">/*</span>
<span style="color: #c20cb9; font-weight: bold;color: #577A61;">mkdir</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>cron.d
<span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>tmp<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>centreon-2.1.4<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>tmpl<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>vardistrib
fetch <span style="color: #660033;">-o</span> freebsd http:<span style="color: #000000; font-weight: bold;color: #CCC;">//</span>www.luizgustavo.pro.br<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>blog<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>wp-content<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>uploads<span style="color: #000000; font-weight: bold;color: #CCC;">/</span><span style="color: #000000;color: #DDD;">2010</span><span style="color: #000000; font-weight: bold;color: #CCC;">/</span>02<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>freebsd.txt</pre></div></div>

<p>Vamos agora iniciar a instalação do Centreon:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">cd</span> ..<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>..
.<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>install.sh <span style="color: #660033;">-f</span> tmpl<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>vardistrib<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>freebsd</pre></div></div>

<h4>Acompanhe conforme o vídeo:</h4>
<p>
<div >
<div id='hana_flv_flow3_4' style='display:block;width:592px;height:288px;' title=""></div>
</div>

			<script  type='text/javascript'>
		flowplayer('hana_flv_flow3_4', { src: 'http://www.luizgustavo.pro.br/blog/wp-content/plugins/hana-flv-player/flowplayer3/flowplayer-3.1.1.swf', wmode: 'transparent' }, { 
    		clip:  { 
    			url: 'http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/install_sh.flv',
        		scaling: 'scale', autoPlay: false, autoBuffering: false 
				  , onBeforeFinish : function() { this.play(0);  return false; }  
	        }
		}); 
			</script></p>
<p>Terminada a instalação, vamos partir para a parte web, para isso, inicie o MySQL e o Apache:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>apache2 start
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>mysql-server start</pre></div></div>

<p>Vamos acertar uma permissão não realizada:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #c20cb9; font-weight: bold;color: #577A61;">chown</span> <span style="color: #660033;">-R</span> www:www <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>centreon<span style="color: #000000; font-weight: bold;color: #CCC;">/</span></pre></div></div>

<p><em>Agora assim, podemos apontar nosso navergador para o endereço do servidor centreon:</em></p>
<pre>http://&lt;ip_ou_url&gt;/centreon</pre>
<h4>Acompanhe o vídeo para configurar via web:</h4>
<p>
<div >
<div id='hana_flv_flow3_5' style='display:block;width:592px;height:288px;' title=""></div>
</div>

			<script  type='text/javascript'>
		flowplayer('hana_flv_flow3_5', { src: 'http://www.luizgustavo.pro.br/blog/wp-content/plugins/hana-flv-player/flowplayer3/flowplayer-3.1.1.swf', wmode: 'transparent' }, { 
    		clip:  { 
    			url: 'http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/centreon_inst_web1.flv',
        		scaling: 'scale', autoPlay: false, autoBuffering: false 
				  , onBeforeFinish : function() { this.play(0);  return false; }  
	        }
		}); 
			</script></p>
<p><strong>Falta pouco&#8230; ainda precisamos exportar os arquivos de configuração para que nosso NDO-Utils possa funcionar, para isso, acompanhe o vídeo na exportação do mesmo via web:</strong></p>
<p>
<div >
<div id='hana_flv_flow3_6' style='display:block;width:592px;height:288px;' title=""></div>
</div>

			<script  type='text/javascript'>
		flowplayer('hana_flv_flow3_6', { src: 'http://www.luizgustavo.pro.br/blog/wp-content/plugins/hana-flv-player/flowplayer3/flowplayer-3.1.1.swf', wmode: 'transparent' }, { 
    		clip:  { 
    			url: 'http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/export_config.flv',
        		scaling: 'scale', autoPlay: false, autoBuffering: false 

	        }
		}); 
			</script></p>
<p><em>Feito isso, podemos inicializar o NDO:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;">'ndo2db_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.conf
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>ndo2db start</pre></div></div>

<p><em>Agora, vamos iniciar os processos do Centreon:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;">pw user mod nagios <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>bin<span style="color: #000000; font-weight: bold;color: #CCC;">/</span><span style="color: #c20cb9; font-weight: bold;color: #577A61;">sh</span>
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>centcore start
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>centstorage start</pre></div></div>

<p>Vamos acertar um path dentro do SUDO:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #c20cb9; font-weight: bold;color: #577A61;">perl</span> <span style="color: #660033;">-p</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/\/etc\/init\.d\/nagios/\/usr\/local\/etc\/rc\.d\/nagios/g'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>sudoers</pre></div></div>

<p>Acertar a parte da CRON para o FreeBSD:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #c20cb9; font-weight: bold;color: #577A61;">cat</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>cron.d<span style="color: #000000; font-weight: bold;color: #CCC;">/*</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>crontab
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>cron restart</pre></div></div>

<h4>E agora o Nagios:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;color: #FCFFBA;"><span style="color: #7a0874; font-weight: bold;color: #8FB394;">echo</span> <span style="color: #ff0000;">'nagios_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;color: #CCC;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.conf
<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>usr<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>local<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>etc<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>rc.d<span style="color: #000000; font-weight: bold;color: #CCC;">/</span>nagios start</pre></div></div>

<p>Pronto ! agora é só configurar os seus hosts e iniciar o monitoramento.</p>
<p><a href="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2009/09/logo_mundounix3.png"><img class="alignleft size-full wp-image-8" style="margin-left: 5px; margin-right: 5px;" title="logo_mundounix3" src="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2009/09/logo_mundounix3.png" alt="" width="284" height="72" /></a><em><strong>Se necessitar de suporte ao Centreon, entre em contato com a <a href="http://www.mundounix.com.br" target="_blank">Mundounix</a>, nós oferecemos suporte e consultoria para solução de monitoramento de redes.</strong></em></p>
<p><a href="http://www.mundounix.com.br" target="_blank">http://www.mundounix.com.br</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luizgustavo.pro.br/blog/2010/02/15/centreon-2-1-4-no-freebsd/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
<enclosure url="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/install_sh.flv" length="1874920" type="video/x-flv" />
<enclosure url="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/centreon_inst_web1.flv" length="2095481" type="video/x-flv" />
<enclosure url="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/02/export_config.flv" length="1475332" type="video/x-flv" />
		</item>
		<item>
		<title>Centreon: Nova versão estável 2.1</title>
		<link>http://www.luizgustavo.pro.br/blog/2009/09/23/centreon-nova-versao-estavel-2-1/</link>
		<comments>http://www.luizgustavo.pro.br/blog/2009/09/23/centreon-nova-versao-estavel-2-1/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 02:49:10 +0000</pubDate>
		<dc:creator>luizgustavo</dc:creator>
				<category><![CDATA[Software Livre]]></category>
		<category><![CDATA[centreon]]></category>
		<category><![CDATA[lançamento]]></category>
		<category><![CDATA[monitoramento]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[software livre]]></category>

		<guid isPermaLink="false">http://www.luizgustavo.pro.br/blog/?p=101</guid>
		<description><![CDATA[O conceituado front-end de administração do Nagios 3 lançou uma nova versão estável agora no dia 18/09 conforme o post do blog do Centreon. Essa nova versão traz muitas novidades no visual, vários bugs foram consertados e temos uma versão muito mais estável na familia 2.x do Centreon. A equipe de desenvolvimento agora inicia uma [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2009/09/logo_centreon.png"><img class="alignright size-full wp-image-99" title="logo_centreon" src="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2009/09/logo_centreon.png" alt="logo_centreon" width="203" height="41" /></a>O conceituado front-end de administração do Nagios 3 lançou uma nova versão estável agora no dia 18/09 conforme o post do <a href="http://blog.centreon.com/index.php?post/2009/09/18/Centreon-2.1-Stable-Released" target="_blank">blog do Centreon</a>.</p>
<p>Essa nova versão traz muitas novidades no visual, vários bugs foram consertados e temos uma versão muito mais estável na familia 2.x do Centreon.</p>
<p>A equipe de desenvolvimento agora inicia uma dedicação de trabalho para o lançamento da próxima versão 2.2 do Centreon, você pode acompanhar como vai ser essa versão  indo até este <a href="http://forge.centreon.com/versions/show/25" target="_blank">endereço</a></p>
<p>Para efetuar o download da nova versão, acompanhe o <a href="http://download.centreon.com/index.php?id=118" target="_blank">link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luizgustavo.pro.br/blog/2009/09/23/centreon-nova-versao-estavel-2-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Centreon: Revisão dos posts do wiki</title>
		<link>http://www.luizgustavo.pro.br/blog/2009/09/23/centreon-revisao-dos-posts-do-wiki/</link>
		<comments>http://www.luizgustavo.pro.br/blog/2009/09/23/centreon-revisao-dos-posts-do-wiki/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 02:39:35 +0000</pubDate>
		<dc:creator>luizgustavo</dc:creator>
				<category><![CDATA[Software Livre]]></category>
		<category><![CDATA[centreon]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[monitoramento]]></category>
		<category><![CDATA[software livre]]></category>
		<category><![CDATA[tradução]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.luizgustavo.pro.br/blog/?p=97</guid>
		<description><![CDATA[Centreon &#8211; Sistema de monitoramento de host/serviços que fuciona como um front-end do Nagios. http://www.centreon.com Segue lista das minhas publicações sobre o Centreon: Instalação do Centreon 1.4.x no FreeBSD 7.0 Arquivo de tradução para pt_BR do Centreon 1.4.x Arquivo de tradução para pt_BR do Centreon 2.x]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2009/09/logo_centreon.png"><img class="size-full wp-image-99 alignright" title="logo_centreon" src="http://www.luizgustavo.pro.br/blog/wp-content/uploads/2009/09/logo_centreon.png" alt="logo_centreon" width="203" height="41" /></a>Centreon &#8211; Sistema de monitoramento de host/serviços que fuciona como um front-end do Nagios.</p>
<p><a href="http://www.centreon.com" target="_blank">http://www.centreon.com</a></p>
<p>Segue lista das minhas publicações sobre o Centreon:</p>
<ul>
<li><a href="http://www.luizgustavo.pro.br/wiki/doku.php?id=artigos_freebsd:centreon" target="_blank">Instalação do Centreon 1.4.x no FreeBSD 7.0</a></li>
<li><a href="http://www.luizgustavo.pro.br/wiki/doku.php?id=noticias:traducao_do_centreon" target="_blank">Arquivo de tradução para pt_BR do Centreon 1.4.x</a></li>
<li><a href="http://translations.modules.centreon.com/svn/branches/centreon-2.0/pt_BR/LC_MESSAGES/messages.po" target="_blank">Arquivo de tradução para pt_BR do Centreon 2.x</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.luizgustavo.pro.br/blog/2009/09/23/centreon-revisao-dos-posts-do-wiki/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
