<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ravi Bhure's LI-nux blog</title>
	<atom:link href="http://ravibhure.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ravibhure.wordpress.com</link>
	<description></description>
	<lastBuildDate>Tue, 23 Jun 2009 09:28:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ravibhure.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ravi Bhure's LI-nux blog</title>
		<link>http://ravibhure.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ravibhure.wordpress.com/osd.xml" title="Ravi Bhure&#039;s LI-nux blog" />
	<atom:link rel='hub' href='http://ravibhure.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to configure vpn client on Linux</title>
		<link>http://ravibhure.wordpress.com/2009/06/23/how-to-configure-vpn-client-on-linux/</link>
		<comments>http://ravibhure.wordpress.com/2009/06/23/how-to-configure-vpn-client-on-linux/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 09:28:00 +0000</pubDate>
		<dc:creator>ravibhure</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://ravibhure.wordpress.com/?p=48</guid>
		<description><![CDATA[This has been tested under RHEL 4/5, CentOS 4.4/5 and fedora 8 (kernel version 2.6.15+) I found and stored few required rpm packages from various places that you will download from given. http://www.4shared.com/file/113579629/ee5e0aed/libglade-017-11i386.html http://www.4shared.com/file/113579642/2fd674e3/libglade-devel-017-11i386.html http://www.4shared.com/file/113579654/dfaee097/libxml-1817-8i386.html http://www.4shared.com/file/113579677/7491d3af/libxml-devel-1817-8i386.html http://www.4shared.com/file/113579714/ba004fa4/php4-pcntl-449-1fc5i386.html http://www.4shared.com/file/113579747/5e7eea5b/php4-pcntl-gtk-102-4fc5i386.html http://www.4shared.com/file/113579758/d7dac68b/pptp-172-3fc5i386.html http://www.4shared.com/file/113579764/f541d963/pptpconfig-20060821-1fc5noarch.html &#8230; <a href="http://ravibhure.wordpress.com/2009/06/23/how-to-configure-vpn-client-on-linux/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=48&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This has been tested under RHEL 4/5, CentOS 4.4/5 and fedora 8 (kernel version 2.6.15+)</p>
<p>I found and stored few required rpm packages from various places that you will download from given.</p>
<p>http://www.4shared.com/file/113579629/ee5e0aed/libglade-017-11i386.html</p>
<p>http://www.4shared.com/file/113579642/2fd674e3/libglade-devel-017-11i386.html</p>
<p>http://www.4shared.com/file/113579654/dfaee097/libxml-1817-8i386.html</p>
<p>http://www.4shared.com/file/113579677/7491d3af/libxml-devel-1817-8i386.html</p>
<p>http://www.4shared.com/file/113579714/ba004fa4/php4-pcntl-449-1fc5i386.html</p>
<p>http://www.4shared.com/file/113579747/5e7eea5b/php4-pcntl-gtk-102-4fc5i386.html</p>
<p>http://www.4shared.com/file/113579758/d7dac68b/pptp-172-3fc5i386.html</p>
<p>http://www.4shared.com/file/113579764/f541d963/pptpconfig-20060821-1fc5noarch.html</p>
<p>After downloading these first you will have to install lib packages and then pptp packages</p>
<p>rpm -ivh &#8211;nodeps libglade-0.17-11.i386.rpm libglade-devel-0.17-11.i386.rpm  libxml-1.8.17-8.i386.rpm libxml-devel-1.8.17-8.i386.rpm</p>
<p>rpm -ivh pptp-1.7.2-3.fc5.i386.rpm pptpconfig-20060821-1.fc5.noarch.rpm php4-pcntl-gtk-1.0.2-4.fc5.i386.rpm php4-pcntl-4.4.9-1.fc5.i386.rpm</p>
<p>now go to the given image that I would like to show how I added vpn connection</p>
<p>1) open vpnclient configuration launchpad with &#8220;pptpconfig&#8221;</p>
<p><img class="alignnone size-full wp-image-50" title="pptp1" src="http://ravibhure.files.wordpress.com/2009/06/pptp11.jpg?w=500&#038;h=365" alt="pptp1" width="500" height="365" /></p>
<p>2)  Now create your profile with all the details and add</p>
<p><img class="alignnone size-full wp-image-49" title="pptp3" src="http://ravibhure.files.wordpress.com/2009/06/pptp3.jpg?w=500&#038;h=364" alt="pptp3" width="500" height="364" /></p>
<p>Now you have to set you external route or tunnel IP range into it for that click on &#8220;Routing&#8221; and set  &#8220;All to Tunnel&#8221; and update your profile.</p>
<p>Now start your vpn client.</p>
<p>&#8211;Ravi</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ravibhure.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ravibhure.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ravibhure.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ravibhure.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ravibhure.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ravibhure.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ravibhure.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ravibhure.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ravibhure.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ravibhure.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ravibhure.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ravibhure.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ravibhure.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ravibhure.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=48&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ravibhure.wordpress.com/2009/06/23/how-to-configure-vpn-client-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0255db247329d27cfa4b14db443ebdbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravibhure</media:title>
		</media:content>

		<media:content url="http://ravibhure.files.wordpress.com/2009/06/pptp11.jpg" medium="image">
			<media:title type="html">pptp1</media:title>
		</media:content>

		<media:content url="http://ravibhure.files.wordpress.com/2009/06/pptp3.jpg" medium="image">
			<media:title type="html">pptp3</media:title>
		</media:content>
	</item>
		<item>
		<title>Automate script for hp_ltt with read option</title>
		<link>http://ravibhure.wordpress.com/2009/06/21/automate-script-for-hp_ltt-with-read-option/</link>
		<comments>http://ravibhure.wordpress.com/2009/06/21/automate-script-for-hp_ltt-with-read-option/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 11:50:19 +0000</pubDate>
		<dc:creator>ravibhure</dc:creator>
				<category><![CDATA[MyScripts]]></category>

		<guid isPermaLink="false">http://ravibhure.wordpress.com/?p=45</guid>
		<description><![CDATA[Hello Friends, Many days back, I have configured this storageworks devices of HP and nowadays one of my friend is having like the same issue&#8217;s with the os&#8217;s to configuring HP storageworks, he has been doing manual driver scan with &#8230; <a href="http://ravibhure.wordpress.com/2009/06/21/automate-script-for-hp_ltt-with-read-option/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=45&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello Friends,</p>
<p>Many days back, I have configured this storageworks devices of HP and nowadays one of my friend is having like the same issue&#8217;s with the os&#8217;s to configuring HP storageworks, he has been doing manual driver scan with hp_ltt tool every time when system has been rebooted. Actually there some thing missing with os&#8217;s but still this scripts work for him now.</p>
<p><em>#!/usr/bin/expect  &#8211;<br />
# This expect script is useful and working with driver Diagnostic automated tool<br />
# I have tested this over &#8220;HP StorageWorks Library and Tape Tools&#8221;<br />
# Please change the option number 10 for rescan as per mention in your hp_ltt script.<br />
# Some older hp_ltt script it has option number 9, so please check once this option.<br />
# If you have any queries about this script please send email on ravi &lt;at&gt; indiangnu &lt;dot&gt; org<br />
set timeout -1<br />
spawn ./hp_ltt<br />
match_max 100000<br />
send &#8212; &#8220;\r&#8221;<br />
# Look for prompt<br />
expect &#8220;ommand&gt;&#8221;<br />
# Send option 1 for hardware scan<br />
send &#8212; &#8220;1\r&#8221;<br />
send &#8212; &#8220;\r&#8221;<br />
# Look for  prompt<br />
expect &#8220;ommand&gt;&#8221;<br />
# Send option 3 for continue<br />
send &#8212; &#8220;3\r&#8221;<br />
send &#8212; &#8220;\r&#8221;<br />
# Look for prompt<br />
expect &#8220;ommand&gt;&#8221;<br />
# send option 10 for rescan<br />
send &#8212; &#8220;10\r&#8221;<br />
send &#8212; &#8220;\r&#8221;<br />
# Look for prompt<br />
expect &#8220;ommand&gt;&#8221;<br />
# Send 1 (exit) from L &amp; TT<br />
send &#8212; &#8220;1\r&#8221;<br />
send &#8212; &#8220;\r&#8221;<br />
expect eof</em></p>
<p>Suggestion : You have to run this expect script under the $HOME folder of hp_ltt script.</p>
<p>-Ravi</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ravibhure.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ravibhure.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ravibhure.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ravibhure.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ravibhure.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ravibhure.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ravibhure.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ravibhure.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ravibhure.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ravibhure.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ravibhure.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ravibhure.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ravibhure.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ravibhure.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=45&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ravibhure.wordpress.com/2009/06/21/automate-script-for-hp_ltt-with-read-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0255db247329d27cfa4b14db443ebdbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravibhure</media:title>
		</media:content>
	</item>
		<item>
		<title>Configure the Tape Library in Linux</title>
		<link>http://ravibhure.wordpress.com/2009/06/16/configure-the-tape-library-in-linux/</link>
		<comments>http://ravibhure.wordpress.com/2009/06/16/configure-the-tape-library-in-linux/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 04:49:24 +0000</pubDate>
		<dc:creator>ravibhure</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ravibhure.wordpress.com/?p=42</guid>
		<description><![CDATA[To check autoloader/library detected or not, give command [root@localhost ~]# cat /proc/scsi/scsi If it is not show changer, Do following steps Check the version of Redhat Linux If it is Redhat Linux 3 Add following line in /etc/modules.conf “options scsi_mod &#8230; <a href="http://ravibhure.wordpress.com/2009/06/16/configure-the-tape-library-in-linux/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=42&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To check autoloader/library detected or not, give command</p>
<p>[root@localhost ~]# cat /proc/scsi/scsi</p>
<p>If it is not show changer, Do following steps</p>
<p>Check the version of Redhat Linux</p>
<p>If it is Redhat Linux 3</p>
<p>Add following line in /etc/modules.conf</p>
<p>“options scsi_mod max_luns=255”</p>
<p>“options scsi_mod scsi_noreportlun=1”</p>
<p>If it is Redhat Linux 4</p>
<p>Add following line in /etc/modprobe.conf</p>
<p>“options scsi_mod max_luns=255”</p>
<p>“options scsi_mod scsi_noreportlun=1”</p>
<p>Then create new initrd file…..</p>
<p>[root@localhost ~]#cd /boot</p>
<p>Rename initrd file</p>
<p>[root@localhost ~]# mv initrd-`uname –r`.img initrd-`uname-r`.main</p>
<p>e.g. mv initrd-2.6.9-42.EL.img initrd-2.6.9-42.EL.main</p>
<p>[root@localhost ~]# mkinitrd initrd-`uname –r`.img `uname –r`</p>
<p>e.g. mkinitrd initrd-2.6.9-42.EL.img 2.6.9-42.EL</p>
<p>At the end REBOOT your Linux box.</p>
<p>-Thanks</p>
<p>Ravi</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ravibhure.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ravibhure.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ravibhure.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ravibhure.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ravibhure.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ravibhure.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ravibhure.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ravibhure.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ravibhure.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ravibhure.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ravibhure.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ravibhure.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ravibhure.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ravibhure.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=42&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ravibhure.wordpress.com/2009/06/16/configure-the-tape-library-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0255db247329d27cfa4b14db443ebdbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravibhure</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Apache-Tomcat on Linux</title>
		<link>http://ravibhure.wordpress.com/2008/07/08/how-to-apache-tomcat-on-linux/</link>
		<comments>http://ravibhure.wordpress.com/2008/07/08/how-to-apache-tomcat-on-linux/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 11:35:07 +0000</pubDate>
		<dc:creator>ravibhure</dc:creator>
				<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://ravibhure.wordpress.com/?p=37</guid>
		<description><![CDATA[What is Tomcat Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed by Sun under the Java Community Process. &#8230; <a href="http://ravibhure.wordpress.com/2008/07/08/how-to-apache-tomcat-on-linux/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=37&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>What is Tomcat</p>
<p>Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed by Sun under the Java Community Process.</p>
<p>From the authors point of view: &#8211;<a href="http://tomcat.apache.org/">tomcat.apache.org </a><br />
Prerequisites<br />
&#8211; java</p>
<p>Download java</p>
<p>Go to http://java.sun.com/javase/downloads/?intcmp=1281 choose your platform and follow the steps on the site.</p>
<p>Installing the binaries<br />
The installation of the Java Developer&#8217;s Kit is pretty straightforward if if you retrieve the RPM for it. If you have to download the RPM from Sun&#8217;s site, it isn&#8217;t acutally in RPM format yet. It&#8217;ll be called something like j2sdk-xxx-linux-rpm.bin. chmod 700 it and execute it. This will run the Sun EULA and after you agree to it, generate the actual RPM file.</p>
<p>Execute the binary:<br />
chmod +x jdk-xxx-linux-i586-rpm.bin</p>
<p>After the RPM is produced, install it simply by running rpm -ivh jdk-xxx-linux-i586-rpm. This will install the JDK in /usr/java/jdk.x.x.  You need to modify the user&#8217;s .bash_profile to include /usr/java/jdk/bin in the path so the executables will run. What I usually do is make a symbolic link called /usr/java/jdk that points to this /usr/java/jdk.x.x. That way I don&#8217;t have to update my path in the .bash_profile every time I install a new version of the JDK.</p>
<p>You should also set your JAVA_HOME in the .bash_profile with something like  export JAVA_HOME=/usr/java/jdk<br />
or on bash promt of user</p>
<p>[root@localhost]# JAVA_HOME=/usr/java/jdk; export JAVA_HOME</p>
<p>Download the latest stable release of tomcat from http://mirrors.24-7-solutions.net/pub/apache/tomcat/tomcat-5/v5.5.26/bin/apache-tomcat-5.5.26.tar.gz</p>
<p>after downloading apache-tomcat-5.x.x.tar.gz extract it into /usr/local/</p>
<p>Installing the binaries<br />
cd /usr/local</p>
<p>tar -xvzf apache-tomcat-5.x.x.tar.gz</p>
<p>cd apache-tomcat-5.x.x</p>
<p>cd bin</p>
<p>rm *.bat</p>
<p>To enable the Tomcat manager, you need to modify /usr/local/apache-tomcat-5.x.x/conf/tomcat-users.xml add a user »admin« or with the role »manager«. The result should look like this:</p>
<p>&lt;?xml version=&#8217;1.0&#8242; encoding=&#8217;utf-8&#8242;?&gt;<br />
&lt;tomcat-users&gt;<br />
&lt;role rolename=&#8221;manager&#8221;/&gt;<br />
&lt;role rolename=&#8221;tomcat&#8221;/&gt;<br />
&lt;role rolename=&#8221;role1&#8243;/&gt;<br />
&lt;user username=&#8221;both&#8221; password=&#8221;tomcat&#8221; roles=&#8221;tomcat,role1&#8243;/&gt;<br />
&lt;user username=&#8221;tomcat&#8221; password=&#8221;tomcat&#8221; roles=&#8221;tomcat&#8221;/&gt;<br />
&lt;user username=&#8221;admin&#8221; password=&#8221;password&#8221; roles=&#8221;manager&#8221;/&gt;<br />
&lt;user username=&#8221;role1&#8243; password=&#8221;tomcat&#8221; roles=&#8221;role1&#8243;/&gt;<br />
&lt;/tomcat-users&gt;</p>
<p>Now you should be able to startup tomcat:</p>
<p>/bin/sh /usr/local/apache-tomcat-5.x.x/bin/startup.sh</p>
<p>You should now be able to connect to: http://localhost:8080/index.jsp</p>
<p><a href="http://ravibhure.files.wordpress.com/2008/07/tomcat1.png"><img class="alignnone size-medium wp-image-39" src="http://ravibhure.files.wordpress.com/2008/07/tomcat1.png?w=300&#038;h=215" alt="" width="300" height="215" /></a></p>
<p>Thanks</p>
<p>Ravi</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ravibhure.wordpress.com/37/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ravibhure.wordpress.com/37/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ravibhure.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ravibhure.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ravibhure.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ravibhure.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ravibhure.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ravibhure.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ravibhure.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ravibhure.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ravibhure.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ravibhure.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ravibhure.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ravibhure.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ravibhure.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ravibhure.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=37&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ravibhure.wordpress.com/2008/07/08/how-to-apache-tomcat-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0255db247329d27cfa4b14db443ebdbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravibhure</media:title>
		</media:content>

		<media:content url="http://ravibhure.files.wordpress.com/2008/07/tomcat1.png?w=300" medium="image" />
	</item>
		<item>
		<title>yum for RHEL</title>
		<link>http://ravibhure.wordpress.com/2008/07/04/yum-for-rhel/</link>
		<comments>http://ravibhure.wordpress.com/2008/07/04/yum-for-rhel/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 05:53:43 +0000</pubDate>
		<dc:creator>ravibhure</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ravibhure.wordpress.com/?p=28</guid>
		<description><![CDATA[There is more to Red Hat Enterprise Linux 5 (RHEL5) than Xen. I, for one, think people will develop a real taste for YUM (Yellow dog Updater Modified), an automatic update and package installer/remover for RPM systems. YUM has already &#8230; <a href="http://ravibhure.wordpress.com/2008/07/04/yum-for-rhel/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=28&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="item_class_text">
<p class="western" style="margin-bottom:0;">There is more to Red Hat Enterprise Linux 5 (RHEL5) than Xen. I, for one, think people will develop a real taste for <span style="color:#0000ff;"><span style="text-decoration:underline;"><a id="nkw13" href="http://linux.duke.edu/projects/yum/">YUM (Yellow dog Updater Modified)</a></span></span>, an automatic update and package installer/remover for RPM systems.</p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">YUM has already been used in the last few Fedora Core releases, but RHEL4 uses the up2date package manager. RHEL5 will use YUM 3.0. Up2date is used as a wrapper around YUM in RHEL5. Third-party code repositories, prepared directories or websites that contain software packages and index files, will also make use of the Anaconda-YUM combination.</p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">Essentially, YUM automatically computes dependencies and figures out what actions need to happen in order to successfully install packages. The Yellowdog Update Modified package manager is actually a variant of the Yellowdog Update Package (YUP), which is used by the Yellowdog Linux project to manage its applications. Yum is a version of YUP that is compatible with RPMs.</p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">Using YUM makes it much easier to maintain groups of machines without having to manually update each one using RPM. Some of its features include:</p>
<ul>
<li>
<p class="western" style="margin-top:0.19in;margin-bottom:0;">Multiple repositories</p>
</li>
<li>
<p class="western" style="margin-bottom:0;">Simple config file</p>
</li>
<li>
<p class="western" style="margin-bottom:0;">Correct dependency 	calculation</p>
</li>
<li>
<p class="western" style="margin-bottom:0;">Fast operation</p>
</li>
<li>
<p class="western" style="margin-bottom:0;">RPM-consistent 	behavior</p>
</li>
<li>
<p class="western" style="margin-bottom:0;">comps.xml group 	support, including multiple repository groups</p>
</li>
<li>
<p class="western" style="margin-bottom:0.19in;">Simple 	interface</p>
</li>
</ul>
<p style="margin-top:0.19in;margin-bottom:0.19in;">RHEL5 moves the entire stack of tools which install and update software to YUM. This includes everything from the initial install (through Anaconda) to host-based software management tools, like system-config-packages, to even the updating of your system via Red Hat Network (RHN). New functionality will include the ability to use a YUM repository to supplement the packages provided with your in-house software, as well as plugins to provide additional behavior tweaks.</p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">YUM automatically locates and obtains the correct RPM packages from repositories. It frees you from having to manually find and install new applications or updates. You can use one single command to update all system software, or search for new software by specifying criteria.</p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">Keep in mind that it is always useful to keep your packages in a local YUM repository. The advantage of this is that when you install a package, YUM will automatically resolve any dependencies, not only by downloading the necessary packages from the other repositories you might have in you list, but also by using your local repository as a resource for potential dependencies. When installing a package with YUM, you must have already created RPM packages for all your dependences. That way, YUM can resolve all the dependencies. You won’t be able to install your package if the dependencies do not exist in the repositories on your list.</p>
<p style="margin-top:0.19in;margin-bottom:0.19in;"><strong>Creating your own repository in RHEL5</strong></p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">To install the RPM, you’ll need to type this command:</p>
<p style="margin-bottom:0;"><span style="font-family:Courier New,monospace;"><span style="font-size:x-small;"># yum install createrepo</span></span></p>
<p class="western" style="margin-bottom:0;">What this will do is put all your customer RPM packages in a directory, where you can then create the necessary metadata that is needed for your local repository. You would do that by running this command:</p>
<p style="margin-bottom:0;"><span style="font-family:Courier New,monospace;"><span style="font-size:x-small;"># createrepo /mnt/fc_local_repo/</span></span></p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">Your local YUM repository has been created. Whenever you put in any new RPMs, you’ll have to run this command, so that the new repository metadata gets updated. To install an RPM package and all the other packages that it depends on, you only need to run:</p>
<p style="margin-bottom:0;"><span style="font-family:Courier New,monospace;"><span style="font-size:x-small;"># yum install my_package.RPM</span></span></p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">To install the package group MySQL Database, enter the command:</p>
<p style="margin-bottom:0;"><span style="font-family:Courier New,monospace;"><span style="font-size:x-small;"># yum groupinstall “MySQL Database”</span></span></p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">If you need to upgrade the packages for MYSQL: # yum groupupdate “MySQL Database”</p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">To search for packages which provide for Mail Transfer Agents (MTAs), or that have MTA in the name:</p>
<p style="margin-bottom:0;"><span style="font-family:Courier New,monospace;"><span style="font-size:x-small;"># yum provides MTA</span></span></p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">Let’s say we want to update our entire system. It’s as simple as typing:</p>
<p style="margin-bottom:0;"><span style="font-family:Courier New,monospace;"><span style="font-size:x-small;"># yum update</span></span></p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">To activate automatic daily updates:</p>
<p style="margin-bottom:0;"><span style="font-family:Courier New,monospace;"><span style="font-size:x-small;">/sbin/chkconfig –level 345 yum on; /sbin/service yum start</span></span></p>
<p style="margin-top:0.19in;margin-bottom:0.19in;"><strong>Configuring access to repositories in RHEL5</strong></p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">To add an extra repository, place a definition file in the /etc/yum.repos.d/ directory on your system. Package providers make the definition files for their repositories available on their websites. You must have root access to add a file to the definitions directory. To copy the definition file example.repo, type this command:</p>
<p style="margin-bottom:0;"><span style="font-family:Courier New,monospace;"><span style="font-size:x-small;"># cp example.repo /etc/yum.repos.d/</span></span></p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">The configuration file for each repository should include a gpgkey setting. This setting specifies the location of a public key that verifies the packages provided by that repository. This public key is automatically imported the first time that you install software from the repository.</p>
<p style="margin-top:0.19in;margin-bottom:0.19in;">In conclusion, if you have used YUM before, you should have no problem getting used to this change in RHEL5. If you have not used YUM, once you get passed the initial learning curve, I’m certain that you will love it.</p>
<p class="western" style="margin-bottom:0;">for Yum for RHE4 just checkout official <a href="http://centos.org/">centos</a> wiki pages on <a href="http://centos.org/">centos.org</a></p>
<p>http://wiki.centos.org/HowTos/PackageManagement/YumOnRHEL</p>
<p>Thanks</p>
<p>Ravi</p></div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ravibhure.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ravibhure.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ravibhure.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ravibhure.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ravibhure.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ravibhure.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ravibhure.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ravibhure.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ravibhure.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ravibhure.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ravibhure.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ravibhure.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ravibhure.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ravibhure.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ravibhure.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ravibhure.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=28&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ravibhure.wordpress.com/2008/07/04/yum-for-rhel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0255db247329d27cfa4b14db443ebdbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravibhure</media:title>
		</media:content>
	</item>
		<item>
		<title>apt-get installation for rhel4 (Update 4)</title>
		<link>http://ravibhure.wordpress.com/2008/06/30/apt-get-installation-for-rhel4-update-4/</link>
		<comments>http://ravibhure.wordpress.com/2008/06/30/apt-get-installation-for-rhel4-update-4/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 13:37:48 +0000</pubDate>
		<dc:creator>ravibhure</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ravibhure.wordpress.com/?p=25</guid>
		<description><![CDATA[apt-get &#8211; APT package handling utility. apt-get, that I use a lot that made my life easy going on Debian.So now using same on RHEL.This is how one can use apt-get on RHEL. root@localhost:~#vi /etc/apt/sorces.list.d/os.list (add following mirror ) repomd &#8230; <a href="http://ravibhure.wordpress.com/2008/06/30/apt-get-installation-for-rhel4-update-4/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=25&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:12pt;">apt-get &#8211; APT package handling utility.</span></p>
<p>apt-get, that I use a lot that made my life easy going on Debian.So now using same on RHEL.This is how one can use apt-get on RHEL.</p>
<p><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE              MicrosoftInternetExplorer4              &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--></p>
<p class="MsoNormal">root@localhost:~#vi /etc/apt/sorces.list.d/os.list (add following mirror )</p>
<p><span style="font-size:12pt;"> repomd http://apt.sw.be redhat/el4/en/x86_64/dag/</span></p>
<p><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE              MicrosoftInternetExplorer4              &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--></p>
<p class="MsoNormal">root@localhost:~#apt-get update</p>
<p class="MsoNormal">root@localhost:~#apt-cache search pkg</p>
<p><span style="font-size:12pt;"> root@localhost:~#apt-get install pkg<br />
</span></p>
<p><span style="font-size:12pt;"> root@localhost:~#apt-get remove pkg</span></p>
<p>Thanks</p>
<p>Ravi</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ravibhure.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ravibhure.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ravibhure.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ravibhure.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ravibhure.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ravibhure.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ravibhure.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ravibhure.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ravibhure.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ravibhure.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ravibhure.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ravibhure.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ravibhure.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ravibhure.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ravibhure.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ravibhure.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=25&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ravibhure.wordpress.com/2008/06/30/apt-get-installation-for-rhel4-update-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0255db247329d27cfa4b14db443ebdbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravibhure</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Zabbix (Server and Agent) On Ubuntu Gusty 7.10</title>
		<link>http://ravibhure.wordpress.com/2008/06/30/installing-zabbix-server-and-agent-on-ubuntu-gusty-710/</link>
		<comments>http://ravibhure.wordpress.com/2008/06/30/installing-zabbix-server-and-agent-on-ubuntu-gusty-710/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 13:24:41 +0000</pubDate>
		<dc:creator>ravibhure</dc:creator>
				<category><![CDATA[Monitoring]]></category>

		<guid isPermaLink="false">http://ravibhure.wordpress.com/?p=15</guid>
		<description><![CDATA[I will use the system SFPAZABBIX with the IP address 192.168.3.180 as the Zabbix server, and I&#8217;ll install a Zabbix agent on the same system (so that it can monitor itself) The Zabbix server can store its information in a &#8230; <a href="http://ravibhure.wordpress.com/2008/06/30/installing-zabbix-server-and-agent-on-ubuntu-gusty-710/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=15&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="line-height:normal;"><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--> I will use the system <strong><span>SFPAZABBIX</span></strong> with the IP address <strong><span>192.168.3.180</span></strong> as the Zabbix server, and I&#8217;ll install a Zabbix agent on the same system (so that it can monitor itself)</p>
<p class="MsoNormal" style="line-height:normal;">The Zabbix server can store its information in a MySQL or PostgreSQL database. We use MySQL here, so we install the MySQL server and client first using apt-get:<strong></strong></p>
<p class="MsoNormal">$ sudo apt-get install mysql-server mysql-client</p>
<p>Create a password for the MySQL user <span class="system">root</span> (replace <span class="system">yourrootsqlpassword</span> with the password you want to use):</p>
<p class="command">$ sudo mysqladmin -u root password yourrootsqlpassword</p>
<p class="command">Installing apache2 php5 for web interface.</p>
<p class="command">$ sudo apt-get install apache2 php5 php5-gd</p>
<p>Afterwards, we can install the Zabbix server, Zabbix agent, and the Zabbix web interface with a single command:</p>
<p class="command">$ sudo apt-get install zabbix-server-mysql zabbix-frontend-php zabbix-agent</p>
<p class="command">Apt installation will be asked a few questions:</p>
<p class="command">Like mysql root user password and Zabbix database password, give mysql root password there that we created already.</p>
<p class="command">This should create a MySQL database called <span class="system">Zabbix.</span></p>
<p>Next we must edit the Zabbix agent configuration in <span class="system">/etc/zabbix/zabbix_agentd.conf</span>. Replace <span class="system">Server=localhost</span> with <span class="system">Server=127.0.0.1</span> (to avoid lookup problems of <span class="system">localhost</span>) and specify the hostname of the current system in the <span class="system">Hostname</span> line:</p>
<p class="command">$ sudo vi /etc/zabbix/zabbix_agentd.conf</p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;">[...]</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;">Server=127.0.0.1</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;">[...]</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;">Hostname=SFPAZABBIX</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;">[...]</span></p>
<p>Then we restart the Zabbix agent:</p>
<p class="command">$ sudo /etc/init.d/zabbix-agent restart</p>
<p class="command">Finally, we must specify the password of our <span class="system">zabbix</span> MySQL user in the Zabbix web interface configuration:</p>
<p class="command">$ sudo vi /etc/zabbix/dbconfig.php</p>
<pre>&lt;?
$DB_TYPE='MYSQL';
$DB_SERVER='localhost';
$DB_DATABASE='zabbix';<span>                                            </span>
$DB_USER='root';
$DB_PASSWORD='mysqlrootpassword';
?&gt;

<strong>Restart services for zabbix server &amp; agent</strong>
<strong> </strong>
/etc/init.d/zabbix_server restart
/etc/init.d/zabbix_agent restart

That's it. you can now open
<span class="system">http://SFPAZABBIX/zabbix</span> or <span class="system">http://192.168.3.180/zabbix</span> in a browser.
Log in with the username <span class="system">Admin</span> and no password:

<img class="aligncenter" src="http://www.indiangnu.org/wp-content/uploads/2008/06/zabb1.PNG" alt="zabbix login " />
Afterwards, go to <span class="system">Configuration</span> TAB and configure Zabbix.

<img class="aligncenter" src="http://www.indiangnu.org/wp-content/uploads/2008/06/zabb2.PNG" alt="zabbix config" /><!--[if gte mso 9]&gt;-->

<span style="font-size:12pt;">If you have problems with Zabbix,
please check the Zabbix logs:</span>
<ul type="disc">
<li class="MsoNormal"><span style="font-size:12pt;">/var/log/zabbix-agent/zabbix_agentd.log</span></li>
<li class="MsoNormal"><span style="font-size:12pt;">/var/log/zabbix-server/zabbix_server.log </span></li>
</ul>

<span style="font-size:12pt;">The Zabbix configuration files for
the server, agent, and web interface are as follows:</span>
<ul type="disc">
<li class="MsoNormal"><span style="font-size:12pt;">/etc/zabbix/apache.conf</span></li>
<li class="MsoNormal"><span style="font-size:12pt;">/etc/zabbix/dbconfig.php</span></li>
<li class="MsoNormal"><span style="font-size:12pt;">/etc/zabbix/zabbix_agentd.conf</span></li>
<li class="MsoNormal"> <span style="font-size:12pt;line-height:115%;">/etc/zabbix/zabbix_server.conf</span></li>
</ul>

<strong>### -Taking backup of
Zabbix server database using below script-####</strong>
#! /bin/sh

# script for dumping the contents of a zabbix MySQL database
# this script will create a compressed mysqldump of the
specified database
savePath=/zabbix/<span>   </span>fileName="ZabbixDBbackup" # filename for the
backup note the
dateVar=$(date +%Y-%m-%d) # date variable to append to
filename
mysqldump -u root -p@toor8 zabbix | gzip &gt;
$savePath$fileName-$dateVar.gz
####-Schedule cronjob
<strong>for Zabbix is as follows -####</strong>
@daily /bin/sh /zabbix/backupforzabbix.sh <span>        </span>#zabbix db backup daily midnight 

<strong>####-Append existing
zabbix db backup on zabbix db -######</strong>
Go to where is the zabbix db backup path ( i.e. /zabbix),
check date &amp; go for newer date when zabbix was running in good condition.
(ls -l commands output give you the newer date)
Unzip the compressed file and rename it to dbfilename.sql <span> </span>(with sql extension)Now go to mysql CLI prompt$ sudo mysql -u root -p

Type mysqlroot password

mysql&gt; use zabbix;
mysql&gt; \. filename.sqlabove command append the tables of zabbix database. 

Thanks
Ravi</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ravibhure.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ravibhure.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ravibhure.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ravibhure.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ravibhure.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ravibhure.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ravibhure.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ravibhure.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ravibhure.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ravibhure.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ravibhure.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ravibhure.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ravibhure.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ravibhure.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ravibhure.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ravibhure.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=15&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ravibhure.wordpress.com/2008/06/30/installing-zabbix-server-and-agent-on-ubuntu-gusty-710/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0255db247329d27cfa4b14db443ebdbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravibhure</media:title>
		</media:content>

		<media:content url="http://www.indiangnu.org/wp-content/uploads/2008/06/zabb1.PNG" medium="image">
			<media:title type="html">zabbix login </media:title>
		</media:content>

		<media:content url="http://www.indiangnu.org/wp-content/uploads/2008/06/zabb2.PNG" medium="image">
			<media:title type="html">zabbix config</media:title>
		</media:content>
	</item>
		<item>
		<title>How to wordpress on Ubuntu Gusty 7.10</title>
		<link>http://ravibhure.wordpress.com/2008/06/26/how-to-wordpress-on-ubuntu-gusty-710/</link>
		<comments>http://ravibhure.wordpress.com/2008/06/26/how-to-wordpress-on-ubuntu-gusty-710/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 13:15:33 +0000</pubDate>
		<dc:creator>ravibhure</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ravibhure.wordpress.com/?p=9</guid>
		<description><![CDATA[You should already have Apache, MySQL, and PHP installed (a typical LAMP setup). If you don’t have those installed yet, there are plenty of tutorials out there that will help you install them. Note that this walkthrough will probably also &#8230; <a href="http://ravibhure.wordpress.com/2008/06/26/how-to-wordpress-on-ubuntu-gusty-710/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=9&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE              MicrosoftInternetExplorer4              &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><br />
You should already have Apache, MySQL, and PHP installed (a typical LAMP setup). If you don’t have those installed yet, there are plenty of tutorials out there that will help you install them. Note that this walkthrough will probably also work for recent versions of Debian Linux (the distro that Ubuntu is based on)</p>
<p>The first thing to do is to install the wordpress package using apt-get.</p>
<p><code><span style="font-size:10pt;">$sudo apt-get install wordpress</span></code></p>
<p>If you get an error message that the package wordpress cannot be found, it is most likely because you do not have multiverse servers enabled for apt-get. Here’s how to add them. First, edit /etc/apt/sources.list</p>
<p><code><span style="font-size:10pt;">$sudo vi /etc/apt/sources.list</span></code></p>
<p>Add the following two lines (it doesn’t particularly matter where you add them, or even if you have duplicate lines).</p>
<p><code><span style="font-size:10pt;">deb http://us.archive.ubuntu.com/ubuntu/ gusty main restricted universe multiverse</span></code><span style="font-size:10pt;"><br />
<code>deb-src http://us.archive.ubuntu.com/ubuntu/ gusty main restricted universe multiverse</code></span></p>
<p>Now tell apt-get to update its package list and you should be able to find wordpress.</p>
<p><code><span style="font-size:10pt;">$sudo apt-get update</span></code></p>
<p>Okay, WordPress is now installed. Next we have to configure Apache to tell it about WordPress.</p>
<p><code><span style="font-size:10pt;">$sudo vi /etc/apache2/apache2.conf</span></code></p>
<p>At the bottom of the file add the following lines:</p>
<p><code><span style="font-size:10pt;">Alias /blog /usr/share/wordpress</span></code><span style="font-size:10pt;"><br />
<code>&lt;Directory /usr/share/wordpress&gt;</code><br />
<code>Options FollowSymLinks</code><br />
<code>AllowOverride Limit Options FileInfo</code><br />
<code>DirectoryIndex index.php</code><br />
<code>&lt;/Directory&gt;</code></span></p>
<p>This will install WordPress to http://yourdomain.com/blog/. If you want it to go somewhere else, just adjust the path accordingly.</p>
<p>Now we have to tell Apache to reload its configuration files.</p>
<p><code><span style="font-size:10pt;">$sudo /etc/init.d/apache2 reload</span></code></p>
<p>Next, we are going to create a database in MySQL for WordPress to use. First, login to MySQL.</p>
<p><code><span style="font-size:10pt;">$mysql -u root -p</span></code></p>
<p>If you have never used MySQL before, the default root password is blank. Now would be a good time to <a href="http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html">set one</a>.</p>
<p>Next we are going to create a database for WordPress to use. I’m going to be very imaginative and name the database “wordpress”.</p>
<p><code><span style="font-size:10pt;">mysql&gt; CREATE DATABASE wordpress;</span></code><span style="font-size:10pt;"><br />
<code>Query OK, 1 row affected (0.00 sec)</code></span></p>
<p>Now we have to create a database user for wordpress. This part is important; you could just use the same user for all of your applications, but if something went wrong, you could lose all of your data. By creating a separate MySQL user for each application, you are limiting your damage. I’m going to be imaginative again and choose the name “wordpress_user” for the WordPress database user account. You might want to pick a better password than fluffy; that’s simply what I’m using for this demonstration.</p>
<p><code><span style="font-size:10pt;">mysql&gt; GRANT ALL PRIVILEGES ON wordpress.* TO 'wordpress_DB_user'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;</span></code><span style="font-size:10pt;"><br />
<code>Query OK, 0 rows affected (0.00 sec)</code></span></p>
<p>Now let’s make sure that these changes took:</p>
<p><code><span style="font-size:10pt;">mysql&gt; FLUSH PRIVILEGES;</span></code><span style="font-size:10pt;"><br />
<code>Query OK, 0 rows affected (0.00 sec)</code></span></p>
<p>We are done with MySQL now, so let’s quit.</p>
<p><code><span style="font-size:10pt;">mysql&gt; quit;</span></code><span style="font-size:10pt;"><br />
<code>Bye</code></span></p>
<p>Next we are going to modify WordPress’s configuration file to tell it about the database and user we just created for it. But first, we have to deal with a little idiosyncrasy. The Ubuntu WordPress package creates a symbolic link to /etc/wordpress/ for its configuration file, but we aren’t going to be using anything in /etc/ for our installation. So first, get rid of the symbolic link. Don’t worry, this is just deleting a link, it’s not actually deleting any files. The default wp-config.php will remain in /etc/wordpress/ if you really want it.</p>
<p><code><span style="font-size:10pt;">$sudo rm /usr/share/wordpress/wp-config.php</span></code></p>
<p>Now copy the sample configuration over to the main configuration location.</p>
<p><code><span style="font-size:10pt;">$sudo cp /usr/share/wordpress/wp-config-sample.php /usr/share/wordpress/wp-config.php</span></code></p>
<p>Now let’s edit the configuration.</p>
<p><code><span style="font-size:10pt;">$sudo vi /usr/share/wordpress/wp-config.php</span></code></p>
<p>Remember the database name, user account, and password that we just set in MySQL? We are going to input these into the configuration file and save it.</p>
<p><code><span style="font-size:10pt;">define('DB_NAME', 'wordpress'); // The name of the database</span></code><span style="font-size:10pt;"><br />
<code>define('DB_USER', 'wordpress_DB_user'); // Your MySQL username</code><br />
<code>define('DB_PASSWORD', 'password'); // ...and password</code><br />
<code>define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value</code></span></p>
<p>We’re almost done. Now we just use WordPress’s built-in installation script. Go to http://yourdomain.com/blog/wp-admin/install.php and follow the directions. Write down the auto-generated password it gives you.</p>
<p>Now we’re going to login to WordPress. Go to http://yourdomain.com/blog/wp-login.php and login with the account ‘admin’ and the password you just wrote down. Now everything is working! The first thing you should do is change the password to the admin account. This option can be accessed from the “Users” tab along the top of the screen.</p>
<p>We have one more thing to do. We’re going to install a plugin for WordPress called “Spam Karma”. This plugin will defend your site from comment spam, which is a much bigger problem than you’d realize, especially if your site starts getting really popular. Luckily, it’s very easy to install the plugin. Go to the plugins directory, download the plugin using wget, and unzip it.</p>
<p><code><span style="font-size:10pt;">$cd /usr/share/wordpress/wp-content/plugins/</span></code><span style="font-size:10pt;"><br />
<code>$wget http://wp-plugins.net/sk2/sk2_final.zip</code><br />
<code>$unzip sk2_final.zip</code></span></p>
<p>Now, go back into the admin console of your blog, go to the Plugins tab, and click on the Activate button next to Spam Karma.</p>
<p>That’s it; you’re done! Try writing your first post on WordPress, or configure your site’s look and feel.</p>
<p>Thanks</p>
<p>Ravi</p>
<p class="MsoNormal">
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ravibhure.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ravibhure.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ravibhure.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ravibhure.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ravibhure.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ravibhure.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ravibhure.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ravibhure.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ravibhure.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ravibhure.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ravibhure.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ravibhure.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ravibhure.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ravibhure.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ravibhure.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ravibhure.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=9&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ravibhure.wordpress.com/2008/06/26/how-to-wordpress-on-ubuntu-gusty-710/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0255db247329d27cfa4b14db443ebdbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravibhure</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://ravibhure.wordpress.com/2008/03/26/hello-world/</link>
		<comments>http://ravibhure.wordpress.com/2008/03/26/hello-world/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 05:47:38 +0000</pubDate>
		<dc:creator>ravibhure</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[This is my first post, and always keep trying for write good posts. So everyone keep reading linux posts here. Thanking you, Ravi<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=1&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is my first post, and always keep trying for write good posts.</p>
<p>So everyone keep reading linux posts here.</p>
<p>Thanking you,</p>
<p>Ravi</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ravibhure.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ravibhure.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ravibhure.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ravibhure.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ravibhure.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ravibhure.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ravibhure.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ravibhure.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ravibhure.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ravibhure.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ravibhure.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ravibhure.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ravibhure.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ravibhure.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ravibhure.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ravibhure.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ravibhure.wordpress.com&amp;blog=3279140&amp;post=1&amp;subd=ravibhure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ravibhure.wordpress.com/2008/03/26/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0255db247329d27cfa4b14db443ebdbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravibhure</media:title>
		</media:content>
	</item>
	</channel>
</rss>
