<?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; tutorial</title>
	<atom:link href="http://www.luizgustavo.pro.br/blog/tag/tutorial/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>Fri, 13 Jan 2012 13:05:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<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[Update Tutorial: http://www.luizgustavo.pro.br/blog/2011/12/09/english-centreon-2-3-3-freebsd-9/ 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 [...]]]></description>
			<content:encoded><![CDATA[<h3 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>Update Tutorial: <a href="http://www.luizgustavo.pro.br/blog/2011/12/09/english-centreon-2-3-3-freebsd-9/">http://www.luizgustavo.pro.br/blog/2011/12/09/english-centreon-2-3-3-freebsd-9/</a></h3>
<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" href="http://www.centreon.com/" rel="nofollow">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>lang<span style="color: #000000; font-weight: bold;">/</span>perl5.10
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │      <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> PERL_64BITINT  Use <span style="color: #000000;">64</span> bit integers <span style="color: #7a0874; font-weight: bold;">&#40;</span>on i386<span style="color: #7a0874; font-weight: bold;">&#41;</span>          │ │
│ │      <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> THREADS        Build threaded <span style="color: #c20cb9; font-weight: bold;">perl</span>                    │ │
│ │      <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> USE_PERL       Rewrite links <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>shells<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">bash</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>security<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">sudo</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #007800;">batch</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>apache20
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'apache2_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;">/</span>net-snmp
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │    <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> IPV6           Build with IPv6 support                  │ │
│ │    <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> MFD_REWRITES   Build with <span style="color: #000000;">64</span>-bit Interface Counters     │ │
│ │    <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> PERL           Install additional <span style="color: #c20cb9; font-weight: bold;">perl</span> modules          │ │
│ │    <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> PERL_EMBEDDED  Build embedded <span style="color: #c20cb9; font-weight: bold;">perl</span>                      │ │
│ │    <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> DUMMY          Enable dummy values <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>snmp
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>snmp<span style="color: #000000; font-weight: bold;">/</span>snmpd.conf.example <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>snmp<span style="color: #000000; font-weight: bold;">/</span>snmpd.conf
<span style="color: #c20cb9; font-weight: bold;">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;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>snmp<span style="color: #000000; font-weight: bold;">/</span>snmpd.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'snmpd_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'snmpd_pidfile=&quot;/usr/local/etc/snmp/snmpd.conf&quot;'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.conf
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>lang<span style="color: #000000; font-weight: bold;">/</span>php5
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │<span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> CLI        Build CLI version                                │ │
│ │<span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> APACHE     Build Apache module                              │ │
│ │<span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc
<span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;AddType application/x-httpd-php .php&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>httpd.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;AddType application/x-httpd-php-source .phps&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>httpd.conf
<span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>httpd.conf <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">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;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>httpd.conf <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>httpd.conf <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>databases<span style="color: #000000; font-weight: bold;">/</span>mysql51-server
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'mysql_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>databases<span style="color: #000000; font-weight: bold;">/</span>php5-mysql
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span> clean</pre></div></div>


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


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


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


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


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>devel<span style="color: #000000; font-weight: bold;">/</span>php5-pcre
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │        <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> BUNDLED_PCRE  Select <span style="color: #000000; font-weight: bold;">if</span> you use apache <span style="color: #000000;">2.0</span>.x        │ │</pre></div></div>


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


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>converters<span style="color: #000000; font-weight: bold;">/</span>php5-mbstring
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │           <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> REGEX  Enable multibyte regex support            │ │</pre></div></div>


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


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


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>devel<span style="color: #000000; font-weight: bold;">/</span>php5-gettext
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>devel<span style="color: #000000; font-weight: bold;">/</span>pear
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span> clean</pre></div></div>


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


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


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


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


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


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


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


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


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


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


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


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


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>net<span style="color: #000000; font-weight: bold;">/</span>pear-Net_SMTP
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>devel<span style="color: #000000; font-weight: bold;">/</span>p5-Config-IniFiles
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span> clean</pre></div></div>


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


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


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


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


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


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;">/</span>p5-Net-SNMP
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>databases<span style="color: #000000; font-weight: bold;">/</span>rrdtool
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;">/</span>nagios
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │<span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> EMBEDDED_PERL   Enable embedded Perl <span style="color: #7a0874; font-weight: bold;">&#91;</span>requires Perl 5.8.0+<span style="color: #7a0874; font-weight: bold;">&#93;</span> │ │
│ │<span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> NANOSLEEP       Use nanosleep <span style="color: #000000; font-weight: bold;">in</span> event timing               │ │
│ │<span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#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;">│ │ <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> FPING    Support <span style="color: #000000; font-weight: bold;">for</span> non-flooding fast <span style="color: #c20cb9; font-weight: bold;">ping</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>check_fping<span style="color: #7a0874; font-weight: bold;">&#41;</span>  │ │
│ │ <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> NETSNMP  SNMP support <span style="color: #7a0874; font-weight: bold;">&#40;</span>check_snmp<span style="color: #7a0874; font-weight: bold;">&#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;">│ │ <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> JAIL     Compilation within jail<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">8</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>see Makefile<span style="color: #7a0874; font-weight: bold;">&#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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>nagios
foreach arquivo <span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #ff0000;">&quot;<span style="color: #780078;">`ls -1`</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #007800;">$arquivo</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$arquivo</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/-sample//g'</span><span style="color: #000000; font-weight: bold;">`</span>
end
<span style="color: #7a0874; font-weight: bold;">cd</span> objects
foreach arquivo <span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #ff0000;">&quot;<span style="color: #780078;">`ls -1`</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #007800;">$arquivo</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$arquivo</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/-sample//g'</span><span style="color: #000000; font-weight: bold;">`</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>misc<span style="color: #000000; font-weight: bold;">/</span>nagios-base-logos
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;">/</span>ndoutils<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │                 <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>tmp
fetch http:<span style="color: #000000; font-weight: bold;">//</span>download.centreon.com<span style="color: #000000; font-weight: bold;">/</span>centreon<span style="color: #000000; font-weight: bold;">/</span>centreon-2.1.4.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> zxf centreon-2.1.4.tar.gz
<span style="color: #7a0874; font-weight: bold;">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;"><span style="color: #c20cb9; font-weight: bold;">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;">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;">/*</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>cron.d
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>centreon-2.1.4<span style="color: #000000; font-weight: bold;">/</span>tmpl<span style="color: #000000; font-weight: bold;">/</span>vardistrib
fetch <span style="color: #660033;">-o</span> freebsd http:<span style="color: #000000; font-weight: bold;">//</span>www.luizgustavo.pro.br<span style="color: #000000; font-weight: bold;">/</span>blog<span style="color: #000000; font-weight: bold;">/</span>wp-content<span style="color: #000000; font-weight: bold;">/</span>uploads<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2010</span><span style="color: #000000; font-weight: bold;">/</span>02<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> ..<span style="color: #000000; font-weight: bold;">/</span>..
.<span style="color: #000000; font-weight: bold;">/</span>install.sh <span style="color: #660033;">-f</span> tmpl<span style="color: #000000; font-weight: bold;">/</span>vardistrib<span style="color: #000000; font-weight: bold;">/</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.2.6.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.2.7.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;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</span>apache2 start
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> www:www <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>centreon<span style="color: #000000; font-weight: bold;">/</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.2.7.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.2.7.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;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'ndo2db_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.conf
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</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;">pw user mod nagios <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">sh</span>
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</span>centcore start
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'nagios_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.conf
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</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>3</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[mundo BSD]]></category>
		<category><![CDATA[Software Livre]]></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[VEJA UMA NOVA VERSÃO DESTE POST EM: http://www.luizgustavo.pro.br/blog/2011/12/08/centreon-2-3-3-freebsd9/ 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 [...]]]></description>
			<content:encoded><![CDATA[<h2 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>VEJA UMA NOVA VERSÃO DESTE POST EM:<br />
<a href="http://www.luizgustavo.pro.br/blog/2011/12/08/centreon-2-3-3-freebsd9/">http://www.luizgustavo.pro.br/blog/2011/12/08/centreon-2-3-3-freebsd9/</a></h2>
<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" href="http://www.centreon.com/" rel="nofollow">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> 5.2.x + 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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>lang<span style="color: #000000; font-weight: bold;">/</span>perl5.10
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │      <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> PERL_64BITINT  Use <span style="color: #000000;">64</span> bit integers <span style="color: #7a0874; font-weight: bold;">&#40;</span>on i386<span style="color: #7a0874; font-weight: bold;">&#41;</span>          │ │
│ │      <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> THREADS        Build threaded <span style="color: #c20cb9; font-weight: bold;">perl</span>                    │ │
│ │      <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> USE_PERL       Rewrite links <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>shells<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">bash</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>security<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">sudo</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #007800;">batch</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>apache22
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'apache22_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;">/</span>net-snmp
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │    <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> IPV6           Build with IPv6 support                  │ │
│ │    <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> MFD_REWRITES   Build with <span style="color: #000000;">64</span>-bit Interface Counters     │ │
│ │    <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> PERL           Install additional <span style="color: #c20cb9; font-weight: bold;">perl</span> modules          │ │
│ │    <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> PERL_EMBEDDED  Build embedded <span style="color: #c20cb9; font-weight: bold;">perl</span>                      │ │
│ │    <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> DUMMY          Enable dummy values <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>snmp
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>snmp<span style="color: #000000; font-weight: bold;">/</span>snmpd.conf.example <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>snmp<span style="color: #000000; font-weight: bold;">/</span>snmpd.conf
<span style="color: #c20cb9; font-weight: bold;">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;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>snmp<span style="color: #000000; font-weight: bold;">/</span>snmpd.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'snmpd_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'snmpd_conffile=&quot;/usr/local/etc/snmp/snmpd.conf&quot;'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.conf
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>lang<span style="color: #000000; font-weight: bold;">/</span>php52
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │<span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> CLI        Build CLI version                                │ │
│ │<span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> APACHE     Build Apache module                              │ │
│ │<span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc
<span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;AddType application/x-httpd-php .php&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache22<span style="color: #000000; font-weight: bold;">/</span>httpd.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;AddType application/x-httpd-php-source .phps&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache22<span style="color: #000000; font-weight: bold;">/</span>httpd.conf
<span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache22<span style="color: #000000; font-weight: bold;">/</span>httpd.conf <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">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;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>httpd.conf <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>httpd.conf <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache22<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>databases<span style="color: #000000; font-weight: bold;">/</span>mysql51-server
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'mysql_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>databases<span style="color: #000000; font-weight: bold;">/</span>php52-mysql
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span> clean</pre></div></div>


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


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


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


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


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>devel<span style="color: #000000; font-weight: bold;">/</span>php52-pcre
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │        <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> BUNDLED_PCRE  Select <span style="color: #000000; font-weight: bold;">if</span> you use apache <span style="color: #000000;">2.0</span>.x        │ │</pre></div></div>


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


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>converters<span style="color: #000000; font-weight: bold;">/</span>php52-mbstring
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │           <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> REGEX  Enable multibyte regex support            │ │</pre></div></div>


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


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


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>devel<span style="color: #000000; font-weight: bold;">/</span>php52-gettext
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>devel<span style="color: #000000; font-weight: bold;">/</span>pear
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span> clean</pre></div></div>


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>net<span style="color: #000000; font-weight: bold;">/</span>pear-Net_SMTP
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>devel<span style="color: #000000; font-weight: bold;">/</span>p5-Config-IniFiles
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span> clean</pre></div></div>


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


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


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


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


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


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;">/</span>p5-Net-SNMP
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>databases<span style="color: #000000; font-weight: bold;">/</span>rrdtool
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #007800;">BATCH</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;">/</span>nagios
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │<span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> EMBEDDED_PERL   Enable embedded Perl <span style="color: #7a0874; font-weight: bold;">&#91;</span>requires Perl 5.8.0+<span style="color: #7a0874; font-weight: bold;">&#93;</span> │ │
│ │<span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> NANOSLEEP       Use nanosleep <span style="color: #000000; font-weight: bold;">in</span> event timing               │ │
│ │<span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#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;">│ │ <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> FPING    Support <span style="color: #000000; font-weight: bold;">for</span> non-flooding fast <span style="color: #c20cb9; font-weight: bold;">ping</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>check_fping<span style="color: #7a0874; font-weight: bold;">&#41;</span>  │ │
│ │ <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> NETSNMP  SNMP support <span style="color: #7a0874; font-weight: bold;">&#40;</span>check_snmp<span style="color: #7a0874; font-weight: bold;">&#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;">│ │ <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#93;</span> JAIL     Compilation within jail<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">8</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>see Makefile<span style="color: #7a0874; font-weight: bold;">&#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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>nagios
foreach arquivo <span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #ff0000;">&quot;<span style="color: #780078;">`ls -1`</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #007800;">$arquivo</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$arquivo</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/-sample//g'</span><span style="color: #000000; font-weight: bold;">`</span>
end
<span style="color: #7a0874; font-weight: bold;">cd</span> objects
foreach arquivo <span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #ff0000;">&quot;<span style="color: #780078;">`ls -1`</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #007800;">$arquivo</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$arquivo</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/-sample//g'</span><span style="color: #000000; font-weight: bold;">`</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>misc<span style="color: #000000; font-weight: bold;">/</span>nagios-base-logos
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>net-mgmt<span style="color: #000000; font-weight: bold;">/</span>ndoutils<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">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;">│ │                 <span style="color: #7a0874; font-weight: bold;">&#91;</span>X<span style="color: #7a0874; font-weight: bold;">&#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;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>tmp
fetch http:<span style="color: #000000; font-weight: bold;">//</span>download.centreon.com<span style="color: #000000; font-weight: bold;">/</span>centreon<span style="color: #000000; font-weight: bold;">/</span>centreon-2.1.4.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> zxf centreon-2.1.4.tar.gz
<span style="color: #7a0874; font-weight: bold;">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;"><span style="color: #c20cb9; font-weight: bold;">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;">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;">/*</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>cron.d
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>centreon-2.1.4<span style="color: #000000; font-weight: bold;">/</span>tmpl<span style="color: #000000; font-weight: bold;">/</span>vardistrib
fetch <span style="color: #660033;">-o</span> freebsd http:<span style="color: #000000; font-weight: bold;">//</span>www.luizgustavo.pro.br<span style="color: #000000; font-weight: bold;">/</span>blog<span style="color: #000000; font-weight: bold;">/</span>wp-content<span style="color: #000000; font-weight: bold;">/</span>uploads<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2010</span><span style="color: #000000; font-weight: bold;">/</span>02<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">cd</span> ..<span style="color: #000000; font-weight: bold;">/</span>..
.<span style="color: #000000; font-weight: bold;">/</span>install.sh <span style="color: #660033;">-f</span> tmpl<span style="color: #000000; font-weight: bold;">/</span>vardistrib<span style="color: #000000; font-weight: bold;">/</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.2.7.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;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</span>apache2 start
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> www:www <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>centreon<span style="color: #000000; font-weight: bold;">/</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.2.7.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.2.7.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;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'ndo2db_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.conf
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</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;">pw user mod nagios <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">sh</span>
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</span>centcore start
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #c20cb9; font-weight: bold;">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;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>cron.d<span style="color: #000000; font-weight: bold;">/*</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>crontab
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</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;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'nagios_enable=&quot;YES&quot;'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.conf
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</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: 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>

