<?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>usefulgeek &#187; jonmoore</title>
	<atom:link href="http://www.usefulgeek.com/blog/author/jonmoore/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.usefulgeek.com/blog</link>
	<description>rants, reviews and kind hearted messages from some geeks</description>
	<lastBuildDate>Mon, 19 Jul 2010 16:48:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Moving /home to new partition</title>
		<link>http://www.usefulgeek.com/blog/2010/07/moving-home-to-new-partition/</link>
		<comments>http://www.usefulgeek.com/blog/2010/07/moving-home-to-new-partition/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 16:48:21 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=269</guid>
		<description><![CDATA[If /home is just a folder under / and you have a reason to put this on it&#8217;s own partition the process isn&#8217;t that difficult.  Here is the steps I followed to do this.
First, create the new partition on the drive.  I was using LVM, so I created a new logical volume, do [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>If /home is just a folder under / and you have a reason to put this on it&#8217;s own partition the process isn&#8217;t that difficult.  Here is the steps I followed to do this.</p>
<p>First, create the new partition on the drive.  I was using LVM, so I created a new logical volume, do whatever makes sense for your system here.</p>
<p>Make a place for the new home partition to be mounted while we transfer files.</p>
<pre>mkdir /mnt/newhome
mount -t   /mnt/newhome</pre>
</p>
<p>Move files from current /home to this new location.</p>
<pre>cd /home
cp -ax * /mnt/newhome</pre>
</p>
<p>Once all the files have copied, remove the old home directory, and mount the new partition in its place.</p>
<pre>rm -r /home
mount  -t   /home</pre>
</p>
<p>Edit /etc/fstab for the new partition, and you&#8217;re done.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2010/07/moving-home-to-new-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lock and Unlock Linux accounts</title>
		<link>http://www.usefulgeek.com/blog/2010/04/lock-and-unlock-linux-accounts/</link>
		<comments>http://www.usefulgeek.com/blog/2010/04/lock-and-unlock-linux-accounts/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 13:37:06 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=264</guid>
		<description><![CDATA[Using passwd it is possible to quickly lock and unlock Linux accounts.
To lock an account.
passwd -l username
To unlock an account.
passwd -u username


Related posts:Quick install of Tomcat5 on CentOS At the office, we&#8217;re in the process of doing some...

Related posts brought to you by Yet Another Related Posts Plugin.


Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2009/11/quick-install-of-tomcat5-on-centos/' rel='bookmark' title='Permanent Link: Quick install of Tomcat5 on CentOS'>Quick install of Tomcat5 on CentOS</a> <small>At the office, we&#8217;re in the process of doing some...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Using <code>passwd</code> it is possible to quickly lock and unlock Linux accounts.</p>
<p>To lock an account.</p>
<pre>passwd -l <code>username</code></pre>
<p>To unlock an account.</p>
<pre>passwd -u <code>username</code></pre>


<p>Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2009/11/quick-install-of-tomcat5-on-centos/' rel='bookmark' title='Permanent Link: Quick install of Tomcat5 on CentOS'>Quick install of Tomcat5 on CentOS</a> <small>At the office, we&#8217;re in the process of doing some...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2010/04/lock-and-unlock-linux-accounts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using telnet to test POP server</title>
		<link>http://www.usefulgeek.com/blog/2010/04/using-telnet-to-test-pop-server/</link>
		<comments>http://www.usefulgeek.com/blog/2010/04/using-telnet-to-test-pop-server/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 14:52:28 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=261</guid>
		<description><![CDATA[Using telnet (or putty) it&#8217;s possible to some simple tests against a POP server.  By no means exhaustive, it can give you insights in where to start troubleshooting.
First, using telnet and open a connection the remote POP server
telnet mailserver 110
Where mailserver is the mail server you want to connect to.  Note that port [...]


Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2009/11/quick-install-of-tomcat5-on-centos/' rel='bookmark' title='Permanent Link: Quick install of Tomcat5 on CentOS'>Quick install of Tomcat5 on CentOS</a> <small>At the office, we&#8217;re in the process of doing some...</small></li>
<li><a href='http://www.usefulgeek.com/blog/2009/10/open-source-storage-server/' rel='bookmark' title='Permanent Link: Open Source storage server'>Open Source storage server</a> <small>This is not going to be a full review, but...</small></li>
<li><a href='http://www.usefulgeek.com/blog/2010/01/remote-packet-capture/' rel='bookmark' title='Permanent Link: Remote packet capture'>Remote packet capture</a> <small>Had a need to capture some traffic on the remote...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Using telnet (or putty) it&#8217;s possible to some simple tests against a POP server.  By no means exhaustive, it can give you insights in where to start troubleshooting.</p>
<p>First, using telnet and open a connection the remote POP server</p>
<pre>telnet mailserver 110</pre>
<p>Where <code>mailserver</code> is the mail server you want to connect to.  Note that port <code>110</code> is the default port for POP, but could be different depending on your servers settings.</p>
<p>Once connected, use <code>USER</code> and <code>PASS</code> to login.</p>
<pre>
[root@ms1 ~] # telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK POP3 localhost v2001.78rh server ready
USER <code>username</code>
+OK User name accepted, password please
PASS <code>password</code>
+OK Mailbox open, 1 messages
QUIT
+OK Sayonara
Connection closed by foreign host.
</pre>


<p>Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2009/11/quick-install-of-tomcat5-on-centos/' rel='bookmark' title='Permanent Link: Quick install of Tomcat5 on CentOS'>Quick install of Tomcat5 on CentOS</a> <small>At the office, we&#8217;re in the process of doing some...</small></li>
<li><a href='http://www.usefulgeek.com/blog/2009/10/open-source-storage-server/' rel='bookmark' title='Permanent Link: Open Source storage server'>Open Source storage server</a> <small>This is not going to be a full review, but...</small></li>
<li><a href='http://www.usefulgeek.com/blog/2010/01/remote-packet-capture/' rel='bookmark' title='Permanent Link: Remote packet capture'>Remote packet capture</a> <small>Had a need to capture some traffic on the remote...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2010/04/using-telnet-to-test-pop-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux IPv6 Neighbor Discovery</title>
		<link>http://www.usefulgeek.com/blog/2010/04/linux-ipv6-neighbor-discovery/</link>
		<comments>http://www.usefulgeek.com/blog/2010/04/linux-ipv6-neighbor-discovery/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 21:37:54 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[quickfire]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ipv6]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=252</guid>
		<description><![CDATA[Using ping6 and ip neigh it&#8217;s possible to discover other IPv6 hosts on your local network using the link-local addresses.
First, use ping6 to ping all hosts on the local network using the IPv6 link-local address
ping6 -c 2 -I eth0 ff02::1
Then, use ip neigh to show a list of IPv6 enable hosts on the local network
ip [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Using <code>ping6</code> and <code>ip neigh</code> it&#8217;s possible to discover other IPv6 hosts on your local network using the link-local addresses.<br />
First, use ping6 to ping all hosts on the local network using the IPv6 link-local address</p>
<pre>ping6 -c 2 -I eth0 ff02::1</pre>
<p>Then, use <code>ip neigh</code> to show a list of IPv6 enable hosts on the local network</p>
<pre>ip -f inet6 neigh</pre>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2010/04/linux-ipv6-neighbor-discovery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why use ZFS with FreeNAS?</title>
		<link>http://www.usefulgeek.com/blog/2010/03/why-use-zfs-with-freenas/</link>
		<comments>http://www.usefulgeek.com/blog/2010/03/why-use-zfs-with-freenas/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 03:43:29 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[quickfire]]></category>
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=230</guid>
		<description><![CDATA[I recently started using FreeNAS again after exploring other options that existed, such as openfiler, and now that I&#8217;ve returned, ZFS seems to be the cool thing to do.  After reading, watching videos and playing with ZFS I&#8217;m sold on all the features it offers.  However, I must ask, is there a compelling reason to [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I recently started using FreeNAS again after exploring other options that existed, such as openfiler, and now that I&#8217;ve returned, ZFS seems to be the cool thing to do.  After reading, watching videos and playing with ZFS I&#8217;m sold on all the features it offers.  However, I must ask, is there a compelling reason to use ZFS over UFS for a single disk?  I&#8217;d really like to see some comments on this.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2010/03/why-use-zfs-with-freenas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rewrite incoming CallerID</title>
		<link>http://www.usefulgeek.com/blog/2010/02/rewrite-incoming-callerid/</link>
		<comments>http://www.usefulgeek.com/blog/2010/02/rewrite-incoming-callerid/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 21:38:27 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[quickfire]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[asterisk]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=231</guid>
		<description><![CDATA[We&#8217;re using asterisk, and as part of the dial plan, a 9 is required before the number to make calls out to the PSTN.  Since our phones have a incoming call log, it would be very convient to have asterisk rewrite the CallerID value on calls from the PSTN to include this leading digit.  I [...]


Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2010/01/asterisk-gotoif-application/' rel='bookmark' title='Permanent Link: Asterisk GotoIf Application'>Asterisk GotoIf Application</a> <small>The description from asterisk for this is GotoIf(condition?[labeliftrue]:[labeliffalse]), however for...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re using asterisk, and as part of the dial plan, a 9 is required before the number to make calls out to the PSTN.  Since our phones have a incoming call log, it would be very convient to have asterisk rewrite the CallerID value on calls from the PSTN to include this leading digit.  I found this was rather easy to accomplish.  Adding something similar to the following to whatever extension handles your incoming calls, all CallerID numbers will have a 9 added to the front.<br />
<code><br />
exten =&gt; s,1,Set(<span style="color: green;">CALLERID(num)</span>=9<span style="color: purple;">${CALLERID(num)</span>})<br />
</code><br />
And proceed with your normal call routing logic.  Change the preceding digit to whatever matches your system.  If you have several extensions this is going to be used with, you could benefit from using a global variable for the leading digit.</p>


<p>Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2010/01/asterisk-gotoif-application/' rel='bookmark' title='Permanent Link: Asterisk GotoIf Application'>Asterisk GotoIf Application</a> <small>The description from asterisk for this is GotoIf(condition?[labeliftrue]:[labeliffalse]), however for...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2010/02/rewrite-incoming-callerid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asterisk GotoIf Application</title>
		<link>http://www.usefulgeek.com/blog/2010/01/asterisk-gotoif-application/</link>
		<comments>http://www.usefulgeek.com/blog/2010/01/asterisk-gotoif-application/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 15:12:20 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[quickfire]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[asterisk]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=211</guid>
		<description><![CDATA[The description from asterisk for this is GotoIf(condition?[labeliftrue]:[labeliffalse]), however for me (being somewhat new to asterisk, and not fully understanding all the little bits, this was a bit confusing. A better way of describing this, at least for those of use new to asterisk, might be GotoIf(condition?[context,priority,labeliftrue]:[context,priority,labeliffalse]).
I have not used labels in the dial plan [...]


Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2010/02/rewrite-incoming-callerid/' rel='bookmark' title='Permanent Link: Rewrite incoming CallerID'>Rewrite incoming CallerID</a> <small>We&#8217;re using asterisk, and as part of the dial plan,...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>The description from asterisk for this is <code>GotoIf(condition?[labeliftrue]:[labeliffalse])</code>, however for me (being somewhat new to asterisk, and not fully understanding all the little bits, this was a bit confusing. A better way of describing this, at least for those of use new to asterisk, might be <code>GotoIf(condition?[context,priority,labeliftrue]:[context,priority,labeliffalse])</code>.<br />
I have not used labels in the dial plan before, and when starting out with this application I read label to be a context.  This lead me to write my dial plan similar to this..</p>
<pre>[default]
exten =&gt; 100,1,GoToIf(condition?true,false)
[true]
exten =&gt; s,1,...
[false]
exten =&gt; s,1,...
</pre>
<p>In retrospect, it&#8217;s obvious what the documentation is saying, but as I said, not being familiar with labels, I was a bit lost.</p>


<p>Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2010/02/rewrite-incoming-callerid/' rel='bookmark' title='Permanent Link: Rewrite incoming CallerID'>Rewrite incoming CallerID</a> <small>We&#8217;re using asterisk, and as part of the dial plan,...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2010/01/asterisk-gotoif-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote packet capture</title>
		<link>http://www.usefulgeek.com/blog/2010/01/remote-packet-capture/</link>
		<comments>http://www.usefulgeek.com/blog/2010/01/remote-packet-capture/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 19:52:43 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=209</guid>
		<description><![CDATA[Had a need to capture some traffic on the remote machine and analyze it in Real Time &#8482;.  Found to solutions to this.  The first, involved just sending the output of tcpdump across the ssh session.

ssh host.example.org tcpump - eth0 -w - &#62; capture.pcap

The other method, picked up from the wireshark wiki allows for the captured traffic [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Had a need to capture some traffic on the remote machine and analyze it in Real Time &#8482;.  Found to solutions to this.  The first, involved just sending the output of tcpdump across the ssh session.<br />
<code><br />
ssh host.example.org tcpump - eth0 -w - &gt; capture.pcap<br />
</code></p>
<p>The other method, picked up from the <a href="http://wiki.wireshark.org/CaptureSetup/Pipes">wireshark wiki</a> allows for the captured traffic to be viewed as it&#8217;s being captured in wireshark.  This is done using a combination of ssh and a fifo pipe.  The exact command can very slightly, and I suggest reading the relevant man pages, but something similar to the following (taken from their wiki) should do the trick.<br />
<code><br />
mkfifo /tmp/pipe<br />
ssh user@remote-host "tshark -w - not port 22" &gt; /tmp/pipe<br />
wireshark -k -i /tmp/pipe<br />
</code></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2010/01/remote-packet-capture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to use pvmove</title>
		<link>http://www.usefulgeek.com/blog/2009/11/unable-to-use-pvmove/</link>
		<comments>http://www.usefulgeek.com/blog/2009/11/unable-to-use-pvmove/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 22:50:25 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=201</guid>
		<description><![CDATA[I needed to remove a physical volume from a LVM volume group, and found this is done using the pvmove command.  However, trying to run this, resulted in an immediate, and suprising error
# pvmove /dev/sdb1 /dev/sdc1
Required device-mapper target(s) not detected in your kernel
After some quick google&#8217;ing I found on this list a cause, and a [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I needed to remove a physical volume from a LVM volume group, and found this is done using the pvmove command.  However, trying to run this, resulted in an immediate, and suprising error</p>
<pre># pvmove /dev/sdb1 /dev/sdc1
Required device-mapper target(s) not detected in your kernel</pre>
<p>After some quick google&#8217;ing I found on this <a href="http://linux.derkeiler.com/Mailing-Lists/Debian/2005-05/2660.html">list</a> a cause, and a fix.  Appreantly, pvmove uses something provided by the raid1 module to do it&#8217;s magic.  So, loading loading the dm-mirror kernel module fixes the issue and pvmove works as expected.  Thanks debian-user list <img src='http://www.usefulgeek.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2009/11/unable-to-use-pvmove/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick install of Tomcat5 on CentOS</title>
		<link>http://www.usefulgeek.com/blog/2009/11/quick-install-of-tomcat5-on-centos/</link>
		<comments>http://www.usefulgeek.com/blog/2009/11/quick-install-of-tomcat5-on-centos/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:19:27 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[quickfire]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=198</guid>
		<description><![CDATA[At the office, we&#8217;re in the process of doing some work where we need a tomcat server.  Without having to get into things to much, I found this simple method for getting tomcat5 up and running pretty quickly.  I&#8217;m sure I&#8217;ve left out some important things, and I&#8217;m doubtful as to how production ready this [...]


Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2010/04/using-telnet-to-test-pop-server/' rel='bookmark' title='Permanent Link: Using telnet to test POP server'>Using telnet to test POP server</a> <small>Using telnet (or putty) it&#8217;s possible to some simple tests...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>At the office, we&#8217;re in the process of doing some work where we need a tomcat server.  Without having to get into things to much, I found this simple method for getting tomcat5 up and running pretty quickly.  I&#8217;m sure I&#8217;ve left out some important things, and I&#8217;m doubtful as to how production ready this is, but for our testing, it&#8217;s working out fine.</p>
<p>I&#8217;m using CentOS 5.3 for all of this, but I&#8217;m sure it will work with CentOS 5.4</p>
<pre>yum install tomcat5 tomcat5-admin-webapps tomcat5-webapps</pre>
<p>After this, you need to edit the tomcat-users.xml file to create a new user.Using the above, this file ends up in <code>/etc/tomcat5/tomcat5-users.xml</code> and all that needs to be added is a line similar to the following..</p>
<pre>user username="admin" password="p@ssw0rd" roles="admin,manager"</pre>
<p>I can&#8217;t get wordpress to work with me on this, so you&#8217;ll need to wrap the above in angle brackets, the same as all the other lines in that file.<br />
You can set username and password to whatever you&#8217;d like.  After this, restart tomcat (not sure if this is needed) with <code>service tomcat5 restart</code> and off you go.</p>


<p>Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2010/04/using-telnet-to-test-pop-server/' rel='bookmark' title='Permanent Link: Using telnet to test POP server'>Using telnet to test POP server</a> <small>Using telnet (or putty) it&#8217;s possible to some simple tests...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2009/11/quick-install-of-tomcat5-on-centos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
