<?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>OpenSource NetMonitoring &#187; pre-requisites</title>
	<atom:link href="http://www.netmonitoring.org/tag/pre-requisites/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.netmonitoring.org</link>
	<description>Install,configure,troubleshoot opensource monitoring with tips and tricks</description>
	<lastBuildDate>Thu, 13 Aug 2009 05:31:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Install and Configure Pre-requisites for Nagios</title>
		<link>http://www.netmonitoring.org/nagios/install-and-configure-pre-requisites-for-nagios/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=install-and-configure-pre-requisites-for-nagios</link>
		<comments>http://www.netmonitoring.org/nagios/install-and-configure-pre-requisites-for-nagios/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 11:21:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[compiler]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[pre-requisites]]></category>

		<guid isPermaLink="false">http://www2.netmonitoring.org/nagios/installation/install-and-configure-pre-requisites-for-nagios/</guid>
		<description><![CDATA[As part 1 of the four part installation procedure of Nagios Open Source Monotioring Solution, this covers the basics and installation and configuration of pre-requisites for Nagios before proceeding to the actual installation of Nagios binaries.  The Pre-requisites that needs to be installed and configured for Nagios are GNU compiler Collection (debian gcc package) Make package to install [...]]]></description>
			<content:encoded><![CDATA[<p><div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-6006760557805242";
//NM-336
google_ad_slot = "8207385485";
google_ad_width = 336;
google_ad_height = 280;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>As part 1 of the four part installation procedure of Nagios Open Source Monotioring Solution, this covers the basics and installation and configuration of pre-requisites for Nagios before proceeding to the actual installation of Nagios binaries.</p>
<p> The Pre-requisites that needs to be installed and configured for Nagios are</p>
<address>GNU compiler Collection (debian gcc package)</address>
<address>Make package to install the binaries (make)</address>
<address>Apache Webserver (apache2)</address>
<address>PHP 5 (php5)</address>
<address>php5-gd php5-cgi modules</address>
<address>Nagios Users</address>
<address>Setup Nagios Root Directory</address>
<address><span id="more-8"></span></address>
<p>So, lets get started.</p>
<p><strong><u>Install GNU Compiler Collection</u></strong></p>
<blockquote><p><strong>debian4r2:~# aptitude install gcc</strong></p></blockquote>
<p><strong><u>Install Make package</u></strong></p>
<blockquote><p><strong>debian4r2:~# aptitude install make</strong></p></blockquote>
<p>Install Apache 2 Webserver</p>
<blockquote><p><strong>debian4r2:~# aptitude install apache2</strong></p></blockquote>
<p><strong><u>Install PHP 5</u></strong></p>
<blockquote><p><strong>debian4r2:~# aptitude install php5</strong></p></blockquote>
<p><strong><u>Install PHP5 module php5-gd &amp; php5-cgi</u></strong></p>
<blockquote><p><strong>debian4r2:~# aptitude install php5-gd</strong></p>
<p><strong>debian4r2:~# aptitude install php5-cgi</strong></p></blockquote>
<p>Now, lets create users and groups for nagios</p>
<p><strong><u>Create user nagios</u></strong></p>
<blockquote><p><strong>debian4r2:~# useradd nagios</strong></p></blockquote>
<p>This creates user &#8220;nagios&#8221; and the group &#8220;nagios&#8221;</p>
<p><strong><u>Create group nagioscmd for command file (external commands)</u></strong></p>
<blockquote><p><strong>debian4r2:~# groupadd nagcmd</strong></p></blockquote>
<p><strong>Add user &#8220;nagios&#8221; and &#8220;www-data&#8221;</strong> (the user that runs the apache webserver) to this group</p>
<blockquote><p><strong>debian4r2:~# usermod -G nagcmd nagios</strong></p>
<p><strong>debian4r2:~# usermod -G nagcmd www-data</strong></p></blockquote>
<p><strong><u>Create the Nagios root directory</u></strong></p>
<blockquote><p><strong>debian4r2:~# mkdir /user/local/nagios</strong></p></blockquote>
<p><strong><u>Chown the ownership of the group to the nagios user and group</u></strong></p>
<blockquote><p><strong>debian4r2:~# chown nagios:nagios /user/local/nagios</strong></p></blockquote>
<p>Thats it done, Nagios is now ready to be installed on the server. Follow the next steps to complete the installation.</p>
<blockquote><p><a target="_blank" href="http://www.netmonitoring.org/nagios/install-nagios-210-in-debian40-r2-with-apache2/" title="Install Nagios Binary and CGI in Debian"><strong>Step2. Install Nagios Binaries &amp; CGI</strong></a></p></blockquote>
<blockquote><p><a target="_blank" href="http://www.netmonitoring.org/nagios/10/" title="Install Nagios Plugin 1.4.11 in Debian"><strong>Step3. Install Nagios Plugins</strong></a></p></blockquote>
<blockquote><p><a target="_blank" href="http://www.netmonitoring.org/nagios/configure-nagios-web-interface-cgi-and-user-authentication/" title="Configure Webintereface authentication and CGI for Nagios"><strong>Setp4. Setup web interface and CGI Authentication</strong></a></p></blockquote>
<h3>Related Post</h3><ul class="related_post"><li><a href="http://www.netmonitoring.org/centreon/install-configure-centreon-network-monitoring-in-debian/" title="Install &#038; Configure Centreon Network Monitoring in Debian">Install &#038; Configure Centreon Network Monitoring in Debian</a></li><li><a href="http://www.netmonitoring.org/centreon/configure-centreon-setup-and-database/" title="Configure Centreon setup and database">Configure Centreon setup and database</a></li><li><a href="http://www.netmonitoring.org/centreon/install-centreon-network-monitoring-binaries-in-debian/" title="Install Centreon Network Monitoring binaries in Debian">Install Centreon Network Monitoring binaries in Debian</a></li><li><a href="http://www.netmonitoring.org/centreon/install-pre-requisites-for-centreon-network-monitoring-in-debian/" title="Install pre-requisites for Centreon Network Monitoring in Debian">Install pre-requisites for Centreon Network Monitoring in Debian</a></li><li><a href="http://www.netmonitoring.org/nagios/install-and-configure-nagios-2x-on-debian-40-with-apache/" title="Install and Configure Nagios 2.x on Debian 4.0 with Apache">Install and Configure Nagios 2.x on Debian 4.0 with Apache</a></li><li><a href="http://www.netmonitoring.org/nagios/two-cool-nagios-applications-on-apple-iphone/" title="Two cool Nagios applications on Apple iPhone">Two cool Nagios applications on Apple iPhone</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.netmonitoring.org/nagios/install-and-configure-pre-requisites-for-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
