<?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>Dhydrated's Weblog</title>
	<atom:link href="http://dhydrated.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dhydrated.wordpress.com</link>
	<description>Just another pathetic weblog</description>
	<lastBuildDate>Wed, 25 Nov 2009 10:29:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dhydrated.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/cc10cae923a4198a7ac9d616c617e384?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Dhydrated's Weblog</title>
		<link>http://dhydrated.wordpress.com</link>
	</image>
			<item>
		<title>WordPress in Your iPhone</title>
		<link>http://dhydrated.wordpress.com/2009/11/24/wordpress-in-your-iphone/</link>
		<comments>http://dhydrated.wordpress.com/2009/11/24/wordpress-in-your-iphone/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 00:53:50 +0000</pubDate>
		<dc:creator>dhydrated</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://dhydrated.wordpress.com/2009/11/24/wordpress-in-your-iphone/</guid>
		<description><![CDATA[I&#8217;m glad that WordPress has an iPhone app. Now I can start blogging from anywhere. 
Blog away&#8230; 




       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=295&subd=dhydrated&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m glad that WordPress has an iPhone app. Now I can start blogging from anywhere. </p>
<p>Blog away&#8230; </p>
<p><a href="http://dhydrated.files.wordpress.com/2009/11/p_480_320_32b25f0c-7da0-4a22-9c70-5941d6437755.jpeg"><img src="http://dhydrated.files.wordpress.com/2009/11/p_480_320_32b25f0c-7da0-4a22-9c70-5941d6437755.jpeg?w=200&#038;h=300" alt="" width="200" height="300" class="alignnone size-full wp-image-364" /></a></p>
<p><a href="http://dhydrated.files.wordpress.com/2009/11/p_480_320_4ab0ea74-fd22-4d7c-928e-362e41d440a6.jpeg"><img src="http://dhydrated.files.wordpress.com/2009/11/p_480_320_4ab0ea74-fd22-4d7c-928e-362e41d440a6.jpeg?w=200&#038;h=300" alt="" width="200" height="300" class="alignnone size-full wp-image-364" /></a></p>
<p><a href="http://dhydrated.files.wordpress.com/2009/11/p_480_320_ca7f5d51-7c1e-4de1-97e1-41bcd5ded68d.jpeg"><img src="http://dhydrated.files.wordpress.com/2009/11/p_480_320_ca7f5d51-7c1e-4de1-97e1-41bcd5ded68d.jpeg?w=200&#038;h=300" alt="" width="200" height="300" class="alignnone size-full wp-image-364" /></a></p>
<p><a href="http://dhydrated.files.wordpress.com/2009/11/p_480_320_34e9b151-b85b-4e5a-ab6f-cf3c06c162d5.jpeg"><img src="http://dhydrated.files.wordpress.com/2009/11/p_480_320_34e9b151-b85b-4e5a-ab6f-cf3c06c162d5.jpeg?w=200&#038;h=300" alt="" width="200" height="300" class="alignnone size-full wp-image-364" /></a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhydrated.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhydrated.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhydrated.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhydrated.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhydrated.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhydrated.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhydrated.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhydrated.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhydrated.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhydrated.wordpress.com/295/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=295&subd=dhydrated&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dhydrated.wordpress.com/2009/11/24/wordpress-in-your-iphone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d138fc0bed16ea414f1cb1ff8000560f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">dhydrated</media:title>
		</media:content>

		<media:content url="http://dhydrated.files.wordpress.com/2009/11/p_480_320_32b25f0c-7da0-4a22-9c70-5941d6437755.jpeg" medium="image" />

		<media:content url="http://dhydrated.files.wordpress.com/2009/11/p_480_320_4ab0ea74-fd22-4d7c-928e-362e41d440a6.jpeg" medium="image" />

		<media:content url="http://dhydrated.files.wordpress.com/2009/11/p_480_320_ca7f5d51-7c1e-4de1-97e1-41bcd5ded68d.jpeg" medium="image" />

		<media:content url="http://dhydrated.files.wordpress.com/2009/11/p_480_320_34e9b151-b85b-4e5a-ab6f-cf3c06c162d5.jpeg" medium="image" />
	</item>
		<item>
		<title>Installing Bugzilla in Ubuntu</title>
		<link>http://dhydrated.wordpress.com/2009/11/06/installing-bugzilla-in-ubuntu/</link>
		<comments>http://dhydrated.wordpress.com/2009/11/06/installing-bugzilla-in-ubuntu/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 12:39:50 +0000</pubDate>
		<dc:creator>dhydrated</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[bugzilla]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://dhydrated.wordpress.com/?p=287</guid>
		<description><![CDATA[As a developer, never thought one day I would install Bugzilla. I guess, developer always hates bug tracker. But I was appointed as a tester in a project, a there is no budget for any bug tracker. Thus, there is Bugzilla.
Several things you need to download using aptitude. Run below command in the terminal:

sudo apt-get [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=287&subd=dhydrated&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As a developer, never thought one day I would install Bugzilla. I guess, developer always hates bug tracker. But I was appointed as a tester in a project, a there is no budget for any bug tracker. Thus, there is Bugzilla.</p>
<p>Several things you need to download using aptitude. Run below command in the terminal:</p>
<pre class="brush: bash;">
sudo apt-get perl apache2 libapache2-mod-perl2 build-essential mysql-server-5.1
</pre>
<p>Then download the latest Bugzilla from www.bugzilla.org. You may download it from Ubuntu repository, but I prefer to get the latest release, fresh from the oven. Once you have the bugzilla archived file. Unarchived it and you should get the <strong>bugzilla</strong> folder. Place the <strong>bugzilla</strong> folder in <strong>/var/www</strong> path and you should get <strong>/var/www/bugzilla</strong>.</p>
<p>Then you need to configure your apache2. Then open <strong>apache2 </strong>default file by command below:</p>
<pre class="brush: bash;">
sudo vi /etc/apache2/sites-available/default
</pre>
<p>Add this entry in your default file:</p>
<pre class="brush: bash;">
&lt;Directory /var/www/bugzilla/ &gt;
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit
&lt;/Directory&gt;
</pre>
<p>Then go to <strong>/var/www/bugzilla</strong> folder. Run below command:</p>
<pre class="brush: bash;">
sudo ./checksetup.pl --check-modules
</pre>
<p>It will list out which perl modules you need to install. You can install one-by-one depending on your needs. To keep things simple, we just install everything by running below command:</p>
<pre class="brush: bash;">
sudo perl install-module.pl -all
</pre>
<p>Perl will download, compile and install all the required and additional components for Bugzilla. Then open a file called localconfig by below command.</p>
<pre class="brush: bash;">
sudo vi /var/www/bugzilla/localconfig
</pre>
<p>Edit below attributes in the file:</p>
<pre class="brush: bash;">
#No .htacess file will be created. If set to 1, it will be created.
$create_htaccess=0;
#Web Server (Apache2) Group. Since I don't have one, I set to empty value.
$webservergroup='';
#Database type (default)
$db_driver='mysql';
#Database Host (default)
$db_host='localhost';
#Database Name (default)
$db_name='bugs';
#Database User (default)
$db_user='bugs';
#Database Password
$db_pass='';
</pre>
<p>Then enter your mysql console, and type below command to create a user named <strong>bugs </strong>and to set the privileges.</p>
<pre class="brush: bash;">
mysql &gt; GRANT SELECT, INSERT,
UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES,
CREATE TEMPORARY TABLES, DROP, REFERENCES ON bugs.*
TO bugs@localhost IDENTIFIED BY ’buggafool’;

mysql &gt; FLUSH PRIVILEGES;
</pre>
<p>Run below command and the script will generate the necessary tables in your mysql server:</p>
<pre class="brush: bash;">
sudo /var/www/bugzilla/checksetup.pl
</pre>
<p>Restart your apache2 server by below command:</p>
<pre class="brush: bash;">
sudo service apache2 restart
</pre>
<p>Now you&#8217;re good to go. Browse your local bugzilla @ <strong>http://&lt;ip-address&gt;/bugzilla/</strong>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhydrated.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhydrated.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhydrated.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhydrated.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhydrated.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhydrated.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhydrated.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhydrated.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhydrated.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhydrated.wordpress.com/287/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=287&subd=dhydrated&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dhydrated.wordpress.com/2009/11/06/installing-bugzilla-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d138fc0bed16ea414f1cb1ff8000560f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">dhydrated</media:title>
		</media:content>
	</item>
		<item>
		<title>Adempiere Startup Script in Ubuntu Server</title>
		<link>http://dhydrated.wordpress.com/2009/10/09/adempiere-startup-script-in-ubuntu-server/</link>
		<comments>http://dhydrated.wordpress.com/2009/10/09/adempiere-startup-script-in-ubuntu-server/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 08:19:44 +0000</pubDate>
		<dc:creator>dhydrated</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[adempiere]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://dhydrated.wordpress.com/?p=282</guid>
		<description><![CDATA[Below is the script I used to startup Adempiere in my Ubuntu Server.

#! /bin/sh -e
# /etc/init.d startup script for ADempiere
#

# Script layout borrowed from anachron.

# path to JAVA_HOME
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.16

# path to ADEMPIERE_HOME
ADEMPIERE_HOME=/opt/Adempiere

# add to path
PATH=$JAVA_HOME/bin:$ADEMPIERE_HOME/utils:$PATH

export JAVA_HOME ADEMPIERE_HOME

test -x $ADEMPIERE_HOME/utils/RUN_Server2.sh &#124;&#124; exit 0

# Get lsb functions
. /lib/lsb/init-functions

case &#34;$1&#34; in
 start)
 log_daemon_msg &#34;Starting Adempiere server&#34; &#34;adempiere&#34;

 start-stop-daemon --start [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=282&subd=dhydrated&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Below is the script I used to startup Adempiere in my Ubuntu Server.</p>
<pre class="brush: bash;">
#! /bin/sh -e
# /etc/init.d startup script for ADempiere
#

# Script layout borrowed from anachron.

# path to JAVA_HOME
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.16

# path to ADEMPIERE_HOME
ADEMPIERE_HOME=/opt/Adempiere

# add to path
PATH=$JAVA_HOME/bin:$ADEMPIERE_HOME/utils:$PATH

export JAVA_HOME ADEMPIERE_HOME

test -x $ADEMPIERE_HOME/utils/RUN_Server2.sh || exit 0

# Get lsb functions
. /lib/lsb/init-functions

case &quot;$1&quot; in
 start)
 log_daemon_msg &quot;Starting Adempiere server&quot; &quot;adempiere&quot;

 start-stop-daemon --start --exec $ADEMPIERE_HOME/utils/RUN_Server2.sh &gt;&gt; /dev/null &amp;
#    $ADEMPIERE_HOME/utils/RUN_Server2.sh

 log_end_msg 0
 ;;
 stop)
 log_daemon_msg &quot;Stopping Adempiere server&quot; &quot;adempiere&quot;

 start-stop-daemon --stop --oknodo --quiet --exec $ADEMPIERE_HOME/utils/RUN_Server2Stop.sh &gt;&gt; /dev/null &amp;

 log_end_msg 0
 ;;
 *)
 echo &quot;Usage: /etc/init.d/adempiere {start|stop}&quot;
 exit 2
 ;;
esac

exit 0
</pre>
<p>I saved above script in a file named <strong>adempiere</strong> and placed it in <strong>/etc/init.d</strong> folder. Just need to change the <strong>JAVA_HOME</strong> and <strong>ADEMPIERE_HOME</strong> values according to your server settings. Then I register startup script with Ubuntu with below command:</p>
<pre class="brush: bash;">
sudo update-rc.d /etc/init.d/adempiere defaults
</pre>
<p>Restart your server, and you should see your Adempiere will startup during server bootup.</p>
<p>References:<br />
<a href="http://www.adempiere.com/index.php/ADempiere_Dedicated_Server">http://www.adempiere.com/index.php/ADempiere_Dedicated_Server</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhydrated.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhydrated.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhydrated.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhydrated.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhydrated.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhydrated.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhydrated.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhydrated.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhydrated.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhydrated.wordpress.com/282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=282&subd=dhydrated&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dhydrated.wordpress.com/2009/10/09/adempiere-startup-script-in-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d138fc0bed16ea414f1cb1ff8000560f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">dhydrated</media:title>
		</media:content>
	</item>
		<item>
		<title>Backup and Restore SVN repository</title>
		<link>http://dhydrated.wordpress.com/2009/09/29/backup-n-restore-svn-repository/</link>
		<comments>http://dhydrated.wordpress.com/2009/09/29/backup-n-restore-svn-repository/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 08:58:52 +0000</pubDate>
		<dc:creator>dhydrated</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://dhydrated.wordpress.com/?p=273</guid>
		<description><![CDATA[To backup your svn repository, you just type below command:

svnadmin dump [REPO_PATH] &#62; [DUMP_FILE_PATH]

Replace [REPO_PATH] with your repository path and [DUMP_FILE_PATH] with your dump file path in your machine.
To backup only your latest revision, first you need to find out the latest revision number from your repository. To do that just run below command:

svnadmin verify [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=273&subd=dhydrated&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To backup your svn repository, you just type below command:</p>
<pre class="brush: bash;">
svnadmin dump [REPO_PATH] &gt; [DUMP_FILE_PATH]
</pre>
<p>Replace [REPO_PATH] with your repository path and [DUMP_FILE_PATH] with your dump file path in your machine.</p>
<p>To backup only your latest revision, first you need to find out the latest revision number from your repository. To do that just run below command:</p>
<pre class="brush: bash;">
svnadmin verify [REPO_PATH]
</pre>
<p>It will list out the revision number and the most bottom will be your latest revision number. That will be referenced by [LATEST_REVISION_NUM] from now on. Run below command to backup only the latest revision from [REPO_PATH].</p>
<p>Then run below command to backup the latest revision from your repository:</p>
<pre class="brush: bash;">
svnadmin dump -r [LATEST_REVISION_NUM] [REPO_PATH] &gt; [DUMP_FILE_PATH]
</pre>
<p>To restore your repository from a dump file, run following command:</p>
<pre class="brush: bash;">
svnadmin load [REPO_PATH] &lt; [DUMP_FILE_PATH]
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhydrated.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhydrated.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhydrated.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhydrated.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhydrated.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhydrated.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhydrated.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhydrated.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhydrated.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhydrated.wordpress.com/273/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=273&subd=dhydrated&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dhydrated.wordpress.com/2009/09/29/backup-n-restore-svn-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d138fc0bed16ea414f1cb1ff8000560f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">dhydrated</media:title>
		</media:content>
	</item>
		<item>
		<title>Change Timezone via Command Line in Ubuntu</title>
		<link>http://dhydrated.wordpress.com/2009/09/28/change-timezone-via-cli-in-ubuntu/</link>
		<comments>http://dhydrated.wordpress.com/2009/09/28/change-timezone-via-cli-in-ubuntu/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 01:09:07 +0000</pubDate>
		<dc:creator>dhydrated</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://dhydrated.wordpress.com/?p=270</guid>
		<description><![CDATA[To change your timezone via command line in Ubuntu, just run the following command in your terminal:

sudo dpkg-reconfigure tzdata

Just follow the process by selecting the country and city and you are done.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=270&subd=dhydrated&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To change your timezone via command line in Ubuntu, just run the following command in your terminal:</p>
<pre class="brush: bash;">
sudo dpkg-reconfigure tzdata
</pre>
<p>Just follow the process by selecting the country and city and you are done.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhydrated.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhydrated.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhydrated.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhydrated.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhydrated.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhydrated.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhydrated.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhydrated.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhydrated.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhydrated.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=270&subd=dhydrated&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dhydrated.wordpress.com/2009/09/28/change-timezone-via-cli-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d138fc0bed16ea414f1cb1ff8000560f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">dhydrated</media:title>
		</media:content>
	</item>
		<item>
		<title>Setup JBoss5 in Ubuntu</title>
		<link>http://dhydrated.wordpress.com/2009/09/25/setup-jboss5-in-ubuntu/</link>
		<comments>http://dhydrated.wordpress.com/2009/09/25/setup-jboss5-in-ubuntu/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 06:46:44 +0000</pubDate>
		<dc:creator>dhydrated</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[java-ee]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://dhydrated.wordpress.com/?p=265</guid>
		<description><![CDATA[Related softwares:

JBoss 5.1.0
Ubuntu 9.04

As of time of writing, Ubuntu repository only provides JBoss AS 4. So, to install the latest JBoss (5.1.0), you need to manually download it from:
http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA-jdk6.zip/download
Once you downloaded the jboss-5.1.0.GA-jdk6.zip archive file, unzip it and put the folder jboss-5.1.0.GA in /opt folder. Thus, I&#8217;ve chosen /opt/jboss-5.1.0.GA path as my $JBOSS_HOME.
To setup the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=265&subd=dhydrated&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Related softwares:</p>
<ol>
<li>JBoss 5.1.0</li>
<li>Ubuntu 9.04</li>
</ol>
<p>As of time of writing, Ubuntu repository only provides JBoss AS 4. So, to install the latest JBoss (5.1.0), you need to manually download it from:<br />
<a href="http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA-jdk6.zip/download">http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA-jdk6.zip/download</a></p>
<p>Once you downloaded the <strong>jboss-5.1.0.GA-jdk6.zip</strong> archive file, unzip it and put the folder <strong>jboss-5.1.0.GA</strong> in<strong> /opt</strong> folder. Thus, I&#8217;ve chosen <strong>/opt/jboss-5.1.0.GA</strong> path as my <strong>$JBOSS_HOME</strong>.</p>
<p>To setup the JBoss to startup on machine bootup, below are the steps.</p>
<p>Create a system user named <strong>jboss</strong> by running below command in the terminal:</p>
<pre class="brush: bash;">
sudo adduser --system jboss
</pre>
<p>Change the owner of $JBOSS_HOME and its subfolders to jboss user by typing below command:</p>
<pre class="brush: bash;">
 sudo chown jboss /opt/jboss-5.1.0.GA -R
 </pre>
<p>Create a script file named <strong>jboss</strong> in<strong> /etc/init.d</strong> folder. Type in below content into the jboss script:</p>
<pre class="brush: bash;">
#! /bin/sh

JBOSS_HOME=/opt/jboss-5.1.0.GA

start(){
 echo &quot;Starting jboss..&quot;

 sudo -u jboss ${JBOSS_HOME}/bin/run.sh -b 0.0.0.0 &gt; /dev/null &amp;
}

stop(){
 echo &quot;Stopping jboss..&quot;

 sudo -u jboss ${JBOSS_HOME}/bin/shutdown.sh -S &gt; /dev/null &amp;
 #give time to shutdown jboss services.
 sleep 60
 #kill all java services started by user jboss
 su -l jboss -c 'killall java'
}

restart(){
 stop
 start
}

case &quot;$1&quot; in
 start)
 start
 ;;
 stop)
 stop
 ;;
 restart)
 restart
 ;;
 *)
 echo &quot;Usage: jboss {start|stop|restart}&quot;
 exit 1
esac

exit 0
</pre>
<p>Include above startup script into Ubuntu bootup sequence by typing command below:</p>
<pre class="brush: bash;">
sudo update-rc.d /etc/init.d/jboss defaults
sudo service jboss start
</pre>
<p>And you&#8217;re done.</p>
<p>References:</p>
<ol>
<li><a href="http://www.jboss.org/community/wiki/StartJBossOnBootWithLinux">http://www.jboss.org/community/wiki/StartJBossOnBootWithLinux</a></li>
</ol>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhydrated.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhydrated.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhydrated.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhydrated.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhydrated.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhydrated.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhydrated.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhydrated.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhydrated.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhydrated.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=265&subd=dhydrated&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dhydrated.wordpress.com/2009/09/25/setup-jboss5-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d138fc0bed16ea414f1cb1ff8000560f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">dhydrated</media:title>
		</media:content>
	</item>
		<item>
		<title>Shutter: Screenshot Tool in Ubuntu</title>
		<link>http://dhydrated.wordpress.com/2009/09/24/shutter-screenshot-tool-in-ubuntu/</link>
		<comments>http://dhydrated.wordpress.com/2009/09/24/shutter-screenshot-tool-in-ubuntu/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 02:21:49 +0000</pubDate>
		<dc:creator>dhydrated</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[shutter]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://dhydrated.wordpress.com/?p=257</guid>
		<description><![CDATA[Want to capture your screen in Ubuntu?  I recommend you to use Shutter. Although Ubuntu comes with a default screen capture tool, but Shutter has more functions.
To install it, you need to add below Shutter PPA (Personal Package Archive) into your repository list. Run below command to add the PPA.

sudo echo
'deb http://ppa.launchpad.net/shutter/ppa/ubuntu
jaunty main' &#62;&#62; /etc/sources.list

You [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=257&subd=dhydrated&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Want to capture your screen in Ubuntu?  I recommend you to use Shutter. Although Ubuntu comes with a default screen capture tool, but Shutter has more functions.</p>
<p>To install it, you need to add below Shutter PPA (Personal Package Archive) into your repository list. Run below command to add the PPA.</p>
<pre class="brush: bash;">
sudo echo
'deb http://ppa.launchpad.net/shutter/ppa/ubuntu
jaunty main' &gt;&gt; /etc/sources.list
</pre>
<p>You might need to change to <strong>root</strong> user if you getting <strong>Permission denied</strong> error message for above command.<br />
Then run below command to authenticate the PPA:</p>
<pre class="brush: bash;">
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 009ED615
</pre>
<p>Update your repository list:</p>
<pre class="brush: bash;">
sudo apt-get update
</pre>
<p>Install Shutter from the new PPA:</p>
<pre class="brush: bash;">
sudo apt-get install Shutter
</pre>
<p>If everything went well, you should get a new Shutter menu in your Applications &gt; Accessories &gt; Shutter &#8211; Screenshot Tool as show below.<br />
<img class="alignnone size-full wp-image-259" title="Shutter from Main Menu" src="http://dhydrated.files.wordpress.com/2009/09/screenshot_0012.png?w=407&#038;h=364" alt="Shutter from Main Menu" width="407" height="364" /><br />
FYI, above screenshot was taken with Shutter. I was able to set a delay for several seconds and capture my screen including the mouse pointer. This is great to show to user which point on the picture I was referring to. Now, give it a try yourself and enjoy!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhydrated.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhydrated.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhydrated.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhydrated.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhydrated.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhydrated.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhydrated.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhydrated.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhydrated.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhydrated.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=257&subd=dhydrated&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dhydrated.wordpress.com/2009/09/24/shutter-screenshot-tool-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d138fc0bed16ea414f1cb1ff8000560f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">dhydrated</media:title>
		</media:content>

		<media:content url="http://dhydrated.files.wordpress.com/2009/09/screenshot_0012.png" medium="image">
			<media:title type="html">Shutter from Main Menu</media:title>
		</media:content>
	</item>
		<item>
		<title>Rename Hostname in Ubuntu</title>
		<link>http://dhydrated.wordpress.com/2009/09/24/rename-hostname-in-ubuntu/</link>
		<comments>http://dhydrated.wordpress.com/2009/09/24/rename-hostname-in-ubuntu/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 01:30:01 +0000</pubDate>
		<dc:creator>dhydrated</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://dhydrated.wordpress.com/?p=252</guid>
		<description><![CDATA[Did you regret giving a horrible name for your machine when installing your Ubuntu? Well, I did, several times. But don&#8217;t worry, the steps to change your hostname are simple. Caveat, if you have any other softwares pointing to your machine by its hostname, you must change those softwares setting yourself.
Your machine hostname resides in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=252&subd=dhydrated&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Did you regret giving a horrible name for your machine when installing your Ubuntu? Well, I did, several times. But don&#8217;t worry, the steps to change your hostname are simple. Caveat, if you have any other softwares pointing to your machine by its hostname, you must change those softwares setting yourself.</p>
<p>Your machine hostname resides in <strong>/etc/hostname</strong> file. Change the value inside the file to your new hostname. To make the change to take effect, run the following command in your terminal.</p>
<pre class="brush: bash;">
sudo /etc/hostname.sh start
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhydrated.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhydrated.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhydrated.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhydrated.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhydrated.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhydrated.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhydrated.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhydrated.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhydrated.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhydrated.wordpress.com/252/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=252&subd=dhydrated&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dhydrated.wordpress.com/2009/09/24/rename-hostname-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d138fc0bed16ea414f1cb1ff8000560f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">dhydrated</media:title>
		</media:content>
	</item>
		<item>
		<title>Setup Maven2 in Eclipse</title>
		<link>http://dhydrated.wordpress.com/2009/09/23/setup-maven2-in-eclipse/</link>
		<comments>http://dhydrated.wordpress.com/2009/09/23/setup-maven2-in-eclipse/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 10:05:45 +0000</pubDate>
		<dc:creator>dhydrated</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java-ee]]></category>
		<category><![CDATA[maven2]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://dhydrated.wordpress.com/?p=187</guid>
		<description><![CDATA[Related softwares:

Eclipse 3.5
JDK 1.6
Maven 2.2.1

First, install M2clipse-plugin in Eclipse via below M2clipse update site:
http://m2eclipse.sonatype.org/update/
If you don&#8217;t know how, please refer to this article on how to install Eclipse plugin via update site.
To use the latest Maven2, which is version 2.2.1 at the point of writing this article, you need to download the binaries from below [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=187&subd=dhydrated&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Related softwares:</p>
<ol>
<li>Eclipse 3.5</li>
<li>JDK 1.6</li>
<li>Maven 2.2.1</li>
</ol>
<p>First, install M2clipse-plugin in Eclipse via below M2clipse update site:</p>
<p><a href="http://m2eclipse.sonatype.org/update/">http://m2eclipse.sonatype.org/update/</a></p>
<p>If you don&#8217;t know how, please refer to this article on <a href="http://agile.csc.ncsu.edu/SEMaterials/tutorials/install_plugin/index_v35.html">how to install Eclipse plugin via update site</a>.</p>
<p>To use the latest Maven2, which is version 2.2.1 at the point of writing this article, you need to download the binaries from below site:</p>
<p><a href="http://lawyersdb.com/mirrors/apache/maven/binaries/apache-maven-2.2.1-bin.tar.gz">http://lawyersdb.com/mirrors/apache/maven/binaries/apache-maven-2.2.1-bin.tar.gz</a></p>
<p>Once downloaded the <strong>apache-maven-2.2.1.tar.gz</strong> archive file, unzip/untar it and place the<strong> apache-maven-2.2.1</strong> folder in <strong>/opt</strong>. So, <strong>/opt/apache-maven-2.2.1</strong> will be known as <strong>$M2_HOME</strong>. To set this environment variable manuallly into the system, add this below line in <strong>/etc/environment</strong> file.</p>
<pre class="brush: bash;">
JAVA_HOME=/usr/lib/jvm/java-6-sun
M2_HOME=/opt/apache-maven-2.2.1
</pre>
<p>Add also the $JAVA_HOME variable, if you haven&#8217;t done so. But make sure it is pointing to your JDK home folder. You need to re-login into your Ubuntu for this new environment variable to take effect</p>
<p>After re-login, create a <strong>mvn</strong> link in <strong>/usr/bin</strong>, for you to run the <strong>mvn</strong> command globally. Type the following:</p>
<pre class="brush: bash;">
cd /usr/bin
ln $M2_HOME/bin/mvn /usr/bin/mvn
</pre>
<p>To check Maven2 installation status, type below command in your console:</p>
<pre class="brush: bash;">
mvn -version
</pre>
<p>You should see Maven2 printing some info regarding the version.</p>
<p>Back to the Eclipse. Now, you need to setup External Tools to point to this new <strong>/usr/bin/mvn</strong> command we just created. At Eclipse main menu, choose Run &gt; External Tools &gt; External Tools Configuration&#8230;</p>
<p><img class="alignnone size-full wp-image-239" title="Create External Tools" src="http://dhydrated.files.wordpress.com/2009/09/screenshot_0021.png?w=510&#038;h=563" alt="Create External Tools" width="510" height="563" /></p>
<p>External Tools Configuration dialog will be prompted as below.</p>
<p><img class="alignnone size-full wp-image-240" title="Empty External Tools Configuration" src="http://dhydrated.files.wordpress.com/2009/09/screenshot_0031.png?w=510&#038;h=309" alt="Empty External Tools Configuration" width="510" height="309" /></p>
<p>Right-click on <strong>Program</strong> and choose <strong>New</strong>.</p>
<p><img class="alignnone size-full wp-image-241" title="Create New External Tool Menu" src="http://dhydrated.files.wordpress.com/2009/09/screenshot_004.png?w=215&#038;h=217" alt="Create New External Tool Menu" width="215" height="217" /></p>
<p>A new program form will be displayed. Enter the following details:</p>
<ol>
<li>Name : Maven</li>
<li>Location : /usr/bin/mvn</li>
<li>Working Directory : ${project_loc}</li>
<li>Arguments : ${string_prompt}</li>
</ol>
<p><img class="alignnone size-full wp-image-242" title="Maven2 External Tools Config Setup" src="http://dhydrated.files.wordpress.com/2009/09/screenshot_005.png?w=510&#038;h=531" alt="Maven2 External Tools Config Setup" width="510" height="531" /></p>
<p>Click on <strong>Apply</strong> and <strong>Close</strong> buttons.</p>
<p>To use the newly created External Tools we just created, click to highlight your Maven2 project.</p>
<p><img class="alignnone size-full wp-image-243" title="Choose Maven2 Project" src="http://dhydrated.files.wordpress.com/2009/09/screenshot_007.png?w=184&#038;h=125" alt="Choose Maven2 Project" width="184" height="125" /></p>
<p>On the Eclipse main menu, choose Run &gt; External Tools &gt; External Tools Configuration&#8230;</p>
<p><img class="alignnone size-full wp-image-244" title="Choose External Configuration Menu to Run Maven2" src="http://dhydrated.files.wordpress.com/2009/09/screenshot_008.png?w=510&#038;h=723" alt="Choose External Configuration Menu to Run Maven2" width="510" height="723" /></p>
<p>Then, on the <strong>External Tools Configuration</strong> dialog, choose <strong>Maven</strong> and click on <strong>Run</strong> button.</p>
<p><img class="alignnone size-full wp-image-246" title="Choose Maven to Run External Tools" src="http://dhydrated.files.wordpress.com/2009/09/screenshot_009.png?w=510&#038;h=531" alt="Choose Maven to Run External Tools" width="510" height="531" /></p>
<p>A <strong>Variable input</strong> dialog will be prompted. Key in your <strong>mvn</strong> parameter you wish to pass and click <strong>OK</strong> button.</p>
<p><img class="alignnone size-full wp-image-247" title="Variable Input dialog" src="http://dhydrated.files.wordpress.com/2009/09/screenshot_010.png?w=482&#038;h=209" alt="Variable Input dialog" width="482" height="209" /></p>
<p>You will see your Maven2 console is running and processing your command as shown in below.</p>
<p><img class="alignnone size-full wp-image-248" title="Maven2 console" src="http://dhydrated.files.wordpress.com/2009/09/screenshot_011.png?w=510&#038;h=420" alt="Maven2 console" width="510" height="420" /></p>
<p>If you had setup a private remote repository, you can save the hassle for downloading artifacts from the public remote repository (central repo). Your private remote repository will download it for you and cache it on the private server. If you want to download from your private remote repository, you need to update or create your Maven2 <strong>settings.xml</strong> file. This file should be located at <strong>${USER_HOME}/.m2</strong> folder. The content of the file is as following:</p>
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;

&lt;settings xmlns=&quot;http://maven.apache.org/SETTINGS/1.0.0&quot;
 xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
 xsi:schemaLocation=&quot;http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd&quot;&gt;
 &lt;pluginGroups/&gt;
 &lt;proxies/&gt;
 &lt;servers/&gt;
 &lt;mirrors&gt;
   &lt;mirror&gt;
     &lt;id&gt;myPrivateRemoteRepository&lt;/id&gt;
     &lt;mirrorOf&gt;*&lt;/mirrorOf&gt;
     &lt;name&gt;My Private Remote Repository&lt;/name&gt;
     &lt;url&gt;[PRIVATE_REMOTE_REPOSITORY_URL]&lt;/url&gt;
   &lt;/mirror&gt;
 &lt;/mirrors&gt;
 &lt;profiles/&gt;
&lt;/settings&gt;
</pre>
<p>Replace the<strong> [PRIVATE_REMOTE_REPOSITORY_URL] </strong>with your private remote repository URL. You can put any value on the <strong>id</strong> and <strong>name</strong> elements, but it just need to be unique between other <strong>mirrors</strong>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhydrated.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhydrated.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhydrated.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhydrated.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhydrated.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhydrated.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhydrated.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhydrated.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhydrated.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhydrated.wordpress.com/187/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=187&subd=dhydrated&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dhydrated.wordpress.com/2009/09/23/setup-maven2-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d138fc0bed16ea414f1cb1ff8000560f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">dhydrated</media:title>
		</media:content>

		<media:content url="http://dhydrated.files.wordpress.com/2009/09/screenshot_0021.png" medium="image">
			<media:title type="html">Create External Tools</media:title>
		</media:content>

		<media:content url="http://dhydrated.files.wordpress.com/2009/09/screenshot_0031.png" medium="image">
			<media:title type="html">Empty External Tools Configuration</media:title>
		</media:content>

		<media:content url="http://dhydrated.files.wordpress.com/2009/09/screenshot_004.png" medium="image">
			<media:title type="html">Create New External Tool Menu</media:title>
		</media:content>

		<media:content url="http://dhydrated.files.wordpress.com/2009/09/screenshot_005.png" medium="image">
			<media:title type="html">Maven2 External Tools Config Setup</media:title>
		</media:content>

		<media:content url="http://dhydrated.files.wordpress.com/2009/09/screenshot_007.png" medium="image">
			<media:title type="html">Choose Maven2 Project</media:title>
		</media:content>

		<media:content url="http://dhydrated.files.wordpress.com/2009/09/screenshot_008.png" medium="image">
			<media:title type="html">Choose External Configuration Menu to Run Maven2</media:title>
		</media:content>

		<media:content url="http://dhydrated.files.wordpress.com/2009/09/screenshot_009.png" medium="image">
			<media:title type="html">Choose Maven to Run External Tools</media:title>
		</media:content>

		<media:content url="http://dhydrated.files.wordpress.com/2009/09/screenshot_010.png" medium="image">
			<media:title type="html">Variable Input dialog</media:title>
		</media:content>

		<media:content url="http://dhydrated.files.wordpress.com/2009/09/screenshot_011.png" medium="image">
			<media:title type="html">Maven2 console</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Adempiere in Ubuntu</title>
		<link>http://dhydrated.wordpress.com/2009/09/23/installing-adempiere-in-ubuntu/</link>
		<comments>http://dhydrated.wordpress.com/2009/09/23/installing-adempiere-in-ubuntu/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 07:08:49 +0000</pubDate>
		<dc:creator>dhydrated</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[adempiere]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://dhydrated.wordpress.com/?p=227</guid>
		<description><![CDATA[Related softwares:

Ubuntu 9.04
Postgresql 8.3
Adempiere 3.4.2

Pre-requisite of installing Adempiere, is to setup a supported database which could be Oracle or Postgresql. In this article, I&#8217;ll be using Postgresql 8.3. To learn more on how to install Postgresql in Ubuntu, you can go here. Also, in Postgresql, create a login-role named adempiere and create a database named [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=227&subd=dhydrated&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Related softwares:</p>
<ol>
<li>Ubuntu 9.04</li>
<li>Postgresql 8.3</li>
<li>Adempiere 3.4.2</li>
</ol>
<p>Pre-requisite of installing Adempiere, is to setup a supported database which could be Oracle or Postgresql. In this article, I&#8217;ll be using Postgresql 8.3. To learn more on how to install Postgresql in Ubuntu, you can go <a href="http://dhydrated.wordpress.com/2009/09/23/install-postgresql-in-ubuntu/">here</a>. Also, in Postgresql, create a login-role named <strong>adempiere</strong> and create a database named <strong>adempiere</strong>. Assign the owner of this <strong>adempiere</strong> database to<strong> adempiere</strong> login-role.</p>
<p>You need to download the Adempiere archive file from sourceforge.net URL below:<br />
<a href="http://sourceforge.net/projects/adempiere/files/ADempiere%20Official%20Release/Adempiere%203.4.2-stable/Adempiere_342s.tar.gz/download">http://sourceforge.net/projects/adempiere/files/ADempiere%20Official%20Release/Adempiere%203.4.2-stable/Adempiere_342s.tar.gz/download</a></p>
<p>Unzip the archive file and you will get a folder named <strong>Adempiere</strong>. Place it anywhere to your liking. As for me, I will put it under <strong>/opt</strong>, so my <strong>$ADEMPIERE_HOME</strong> will be <strong>/opt/Adempiere</strong>.</p>
<p>First, you need to restore the database from the provided dump file. Run the command below:</p>
<pre class="brush: bash;">
sudo  -u postgres psql adempiere &lt; $ADEMPIERE_HOME/data/Adempiere_pg.dmp
</pre>
<p>You will see in the console, the Postgresql script is running and creating the necessary tables and data into adempiere database.</p>
<p>Second, you need to execute the setup script. I found that before running the setup script, I need to give execution permission to the script. So type the following to do so:</p>
<pre class="brush: bash;">
sudo chmod +x $ADEMPIERE_HOME/RUN_setup.sh
</pre>
<p>Then I execute the setup script as below:</p>
<pre class="brush: bash;">
sudo $ADEMPIERE_HOME/RUN_setup.sh
</pre>
<p>You will get the Adempiere Server Setup dialog as below:<br />
<img class="alignnone size-full wp-image-228" title="Adempiere Server Setup" src="http://dhydrated.files.wordpress.com/2009/09/screenshot_0011.png?w=510&#038;h=426" alt="Adempiere Server Setup" width="510" height="426" /></p>
<p>If you don&#8217;t wish to use the default values, you can change it to below values:</p>
<ol>
<li>Web Port : 8088</li>
<li>SSL : 4443</li>
<li>Database Server : localhost</li>
<li>Database Type : postgresql</li>
<li>Database Name: adempiere</li>
<li>System Password: [postgres password in Postgresql]</li>
<li>Database User: adempiere</li>
<li>Database Password: [adempiere password in Postgresql]</li>
</ol>
<p>Click on the <strong>Test</strong> button, if everything goes well you should be able to see the <strong>Save</strong> button is enabled. Click on the <strong>Save</strong> button. A License Agreement dialog will pop-up. Click on <strong>Yes, I Understand and Accept</strong> button. You should be able to see on the console, where your ran the RUN_setup.sh script, is running and processing as shown below:<br />
<img class="alignnone size-full wp-image-234" title="Adempiere Setup Console" src="http://dhydrated.files.wordpress.com/2009/09/screenshot_003.png?w=509&#038;h=382" alt="Adempiere Setup Console" width="509" height="382" /></p>
<p>Once you see, BUILD SUCCESSFUL in the console, you can close everything.</p>
<p>Next you can run the Adempiere script like below:</p>
<pre class="brush: bash;">
$ADEMPIERE_HOME/RUN_Adempiere.sh
</pre>
<p>By default, Adempiere comes with default data, so you can login with sample data. Try login with username and password as <strong>GardenAdmin</strong>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhydrated.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhydrated.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhydrated.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhydrated.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhydrated.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhydrated.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhydrated.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhydrated.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhydrated.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhydrated.wordpress.com/227/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhydrated.wordpress.com&blog=3673735&post=227&subd=dhydrated&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dhydrated.wordpress.com/2009/09/23/installing-adempiere-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d138fc0bed16ea414f1cb1ff8000560f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">dhydrated</media:title>
		</media:content>

		<media:content url="http://dhydrated.files.wordpress.com/2009/09/screenshot_0011.png" medium="image">
			<media:title type="html">Adempiere Server Setup</media:title>
		</media:content>

		<media:content url="http://dhydrated.files.wordpress.com/2009/09/screenshot_003.png" medium="image">
			<media:title type="html">Adempiere Setup Console</media:title>
		</media:content>
	</item>
	</channel>
</rss>