<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3053352583694970340</id><updated>2026-06-08T23:39:46.150-07:00</updated><title type='text'>iT Geek Help</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>70</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-7318943527855359315</id><published>2012-12-12T19:32:00.000-08:00</published><updated>2013-04-15T03:00:34.102-07:00</updated><title type='text'>Git reference command listing</title><content type='html'>This post will be updated to reflect common used GIT command&lt;br /&gt;
Replace &#39;value&#39; with yours.&lt;br /&gt;
&lt;br /&gt;
# GIT clone repo&lt;br /&gt;
git clone &#39;git repo&#39; &lt;br /&gt;
&lt;br /&gt;
# GIT remote information&lt;br /&gt;
git remote -v &lt;br /&gt;
&lt;br /&gt;
# GIT commit&lt;br /&gt;
git commit -m &#39;comment&#39; &lt;br /&gt;
&lt;br /&gt;
# GIT checkout&lt;br /&gt;
git checkout -b &#39;branchname&#39; &lt;br /&gt;
&lt;br /&gt;
# GIT checkout from remote&lt;br /&gt;
git checkout -b &#39;branchname&#39; origin/&#39;branchname&#39;&lt;br /&gt;
&lt;br /&gt;
# GIT checkout branch with tag&lt;br /&gt;
git checkout -b &#39;branchname&#39; &#39;tag_name&#39;&lt;br /&gt;
&lt;br /&gt;
# GIT create branch&lt;br /&gt;
git branch &#39;branchname&#39; &lt;br /&gt;
&lt;br /&gt;
# GIT list branches &lt;br /&gt;
git branch &lt;br /&gt;
&lt;br /&gt;
# GIT list tag&lt;br /&gt;
git tag &lt;br /&gt;
&lt;br /&gt;
# GIT create tag&lt;br /&gt;
git tag -a &#39;tag number&#39; -m &#39;comment&#39; &lt;br /&gt;
&lt;br /&gt;
# GIT remove local tag&lt;br /&gt;
git tag -d &#39;tag number&#39; &lt;br /&gt;
&lt;br /&gt;
# GIT remove remote tag&lt;br /&gt;
git push &#39;remote repo&#39; :refs/tags/&#39;tag number&#39; &lt;br /&gt;
&lt;br /&gt;
# GIT push&lt;br /&gt;
git push &#39;remote repo&#39; &#39;local branch&#39;:&#39;remote branch&#39; &lt;br /&gt;
&lt;br /&gt;
# GIT push tags to remote&lt;br /&gt;
git push &#39;remote repo&#39; --tags //e.g., git push origin --tags&lt;br /&gt;
&lt;br /&gt;
# GIT merge&lt;br /&gt;
git merge &#39;from branch&#39; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
If you want to revert changes made to your working copy, do this:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;git checkout .
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
If you want to revert changes made to the index (i.e., that you have added), do this:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;git reset
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
If you want to revert a change that you have committed, do this:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;git revert ...&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;add changes including deletion, etc.&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;git add -u&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Remove added changes&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;git rm -r --cached .&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;=================================================&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;Add command alias to git in &#39;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 21px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;.gitconfig&#39;&lt;/code&gt;&lt;span style=&quot;font-family: Georgia, serif; line-height: 21px;&quot;&gt;&amp;nbsp;file in your&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 21px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;$&lt;span class=&quot;caps&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-transform: uppercase; vertical-align: baseline;&quot;&gt;HOME&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-family: Georgia, serif; line-height: 21px;&quot;&gt;&amp;nbsp;directory.&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;pre class=&quot;file&quot; style=&quot;background-attachment: scroll; background-clip: initial; background-image: none; background-origin: initial; background-position: 0px 0px; background-repeat: repeat repeat; border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(229, 229, 229); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(229, 229, 229); border-top-style: solid; border-top-width: 1px; color: #222222; font-family: &#39;Courier New&#39;, Monaco, &#39;Nimbus Mono L&#39;, monospace; line-height: 21px; margin-bottom: 14px; margin-left: -31px; margin-right: -31px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 15px; padding-left: 30px; padding-right: 15px; padding-top: 15px; text-align: -webkit-auto; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;[alias]
  co = checkout
  ci = commit
  st = status
  br = branch
  hist = log --pretty=format:\&quot;%h %ad | %s%d [%an]\&quot; --graph --date=short
  type = cat-file -t
  dump = cat-file -p&lt;/pre&gt;
&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;h2 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #222222; font-family: Georgia, serif; font-size: 1.9em; font-weight: normal; line-height: 1.3; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 32px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: relative; text-align: -webkit-auto; vertical-align: baseline; white-space: normal;&quot;&gt;
Getting hashes for the previous versions&lt;/h2&gt;
&lt;pre class=&quot;instructions&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(229, 229, 229); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(229, 229, 229); border-top-style: solid; border-top-width: 1px; font-family: &#39;Courier New&#39;, Monaco, &#39;Nimbus Mono L&#39;, monospace; line-height: 21px; margin-bottom: 14px; margin-left: -31px; margin-right: -31px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 15px; padding-left: 30px; padding-right: 15px; padding-top: 15px; text-align: -webkit-auto; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;git hist&lt;/pre&gt;
&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
&lt;/code&gt;
&lt;pre class=&quot;sample&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(229, 229, 229); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(229, 229, 229); border-top-style: solid; border-top-width: 1px; font-family: &#39;Courier New&#39;, Monaco, &#39;Nimbus Mono L&#39;, monospace; font-weight: bold; line-height: 21px; margin-bottom: 14px; margin-left: -31px; margin-right: -31px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 15px; padding-left: 30px; padding-right: 15px; padding-top: 15px; text-align: -webkit-auto; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;$ git hist
* fa3c141 2011-03-09 | Added HTML header (HEAD, master) [Marina Pushkova]
* 8c32287 2011-03-09 | Added standard HTML page tags [Marina Pushkova]
* 43628f7 2011-03-09 | Added h1 tag [Marina Pushkova]
* 911e8c9 2011-03-09 | First Commit [Marina Pushkova]&lt;/pre&gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;pre class=&quot;instructions&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(229, 229, 229); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(229, 229, 229); border-top-style: solid; border-top-width: 1px; font-family: &#39;Courier New&#39;, Monaco, &#39;Nimbus Mono L&#39;, monospace; font-size: 14px; line-height: 21px; margin-bottom: 14px; margin-left: -31px; margin-right: -31px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 15px; padding-left: 30px; padding-right: 15px; padding-top: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;git checkout &lt;hash&gt; e.g., git checkout 911e8c9&lt;hash&gt;&lt;/hash&gt;&lt;/hash&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;h2 style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #222222; font-family: Georgia, serif; font-size: 1.9em; font-weight: normal; line-height: 1.3; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 32px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: relative; vertical-align: baseline;&quot;&gt;
Returning to the latest version in the master branch&lt;/h2&gt;
&lt;h4 style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-left-radius: 5px; border-top-right-radius: 5px; border-top-width: 0px; color: white; display: inline-block; font-family: &#39;Trebuchet MS&#39;, &#39;Myriad Pro&#39;, &#39;Bitstream Vera Sans&#39;, FreeSans, sans-serif; font-size: 1.167em; line-height: 21px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 10px; padding-bottom: 0px; padding-left: 10px; padding-right: 10px; padding-top: 0px; text-shadow: rgb(204, 204, 204) 1px 1px; text-transform: uppercase; vertical-align: bottom;&quot;&gt;
RUN:&lt;/h4&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, serif; font-size: 14px; line-height: 21px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;instructions&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(229, 229, 229); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(229, 229, 229); border-top-style: solid; border-top-width: 1px; font-family: &#39;Courier New&#39;, Monaco, &#39;Nimbus Mono L&#39;, monospace; font-size: 14px; line-height: 21px; margin-bottom: 14px; margin-left: -31px; margin-right: -31px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 15px; padding-left: 30px; padding-right: 15px; padding-top: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;git checkout development&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/7318943527855359315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2012/12/git-reference-command-listing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/7318943527855359315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/7318943527855359315'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2012/12/git-reference-command-listing.html' title='Git reference command listing'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-8229588216912224965</id><published>2012-09-09T20:06:00.004-07:00</published><updated>2012-09-09T20:06:40.565-07:00</updated><title type='text'>Include external jar in Blackberry</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: small; text-align: left;&quot;&gt;
1. Obfuscate the library jar using proguard. Somehow blackberry do not allow deep obfuscation (Crap). E.g.,&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-size: small; text-align: left;&quot;&gt;
**********************************************************************************&lt;/div&gt;
&lt;div style=&quot;background-color: white; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;-libraryjars WTK2.5.2\lib\midpapi21.jar;WTK2.5.2\lib\cldcapi11.jar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;-forceprocessing&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;-useuniqueclassmembernames&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;-keepparameternames&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;-renamesourcefileattribute SourceFile&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;-keepattributes Exceptions,InnerClasses,Signature,Deprecated, SourceFile,LineNumberTable,EnclosingMethod&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;# Keep - Library. Keep all public and protected classes, fields, and methods.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;-keep public class com.* { public protected *; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;**********************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;2. Preverify the jar located in your blackberry simulator plugin.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;**********************************************************************************&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;SET RIM_EMUL_DIR=eclipse\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.30\components&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;%RIM_EMUL_DIR%\bin\preverify &amp;nbsp;-classpath %RIM_EMUL_DIR%\lib\net_rim_api.jar %OUTJAR%&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;**********************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
3. Add the preverified jar(located in the output folder) to your blackberry project.</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/8229588216912224965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2012/09/include-external-jar-in-blackberry.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/8229588216912224965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/8229588216912224965'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2012/09/include-external-jar-in-blackberry.html' title='Include external jar in Blackberry'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-2069729897928170255</id><published>2012-08-01T21:22:00.001-07:00</published><updated>2012-08-01T21:22:36.744-07:00</updated><title type='text'>Developing J2ME on eclipse m2e with Bouncycastle LW library</title><content type='html'>&lt;br /&gt;
Q:&amp;nbsp;java.lang.NoClassDefFoundError: java/security/SecureRandom: Cannot create class in system package&lt;br /&gt;
A:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Make sure the source folders and output folders are set to &quot;src&quot; and &quot;bin&quot; respectively.  This is important:  my habit is to use the project folder for both source and class files, but your built packages will have errors if you do this.  EclipseME seems to put all the contents of the &quot;source&quot; directory (which, if it&#39;s the package directory, includes things like &quot;deployed&quot; and &quot;.settings&quot; and other stuff) in your jar, which causes problems.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Go to: Project -&amp;gt; Java Build Path -&amp;gt; Source.  Click &quot;Add Folder&quot;, and select &quot;src&quot; (create it if you need to).  Remove the project folder from the build path.&lt;/li&gt;
&lt;li&gt;Next, select &quot;projectFolder/bin&quot; as the default output folder.&lt;/li&gt;
&lt;li&gt;Go to Window -&amp;gt; Preferences -&amp;gt; J2ME.  Set &quot;bin/deployed&quot; as the deployment directory.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Install and set up the BouncyCastle crypto library.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Download the bouncycastle j2me files from &lt;a href=&quot;http://www.bouncycastle.org/latest_releases.html.&quot;&gt;http://www.bouncycastle.org/latest&lt;em&gt;releases.html&lt;/em&gt;&lt;/a&gt;&lt;em&gt;.  The easiest way is to download the complete package (named something like &quot;crypto-139.tar.gz&quot;).  Expand the archive, and look for the file &quot;cldc&lt;/em&gt;classes.zip&quot;.  This is the library the J2ME apps will use.&lt;/li&gt;
&lt;li&gt;Add the clcd_classes.zip library to your project:  Project -&amp;gt; Properties -&amp;gt; Java Build Path -&amp;gt; Libraries.&lt;/li&gt;
&lt;li&gt;Be sure to check &quot;cldc_classes.zip&quot; under &quot;Order and Export&quot; in Project -&amp;gt; Properties -&amp;gt; Java Build Path.  It must be built with your package for obfuscation, etc. to work.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Set up obfuscation.  BouncyCastle includes some classes that are reimplementations of system classes (such as java.security.SecureRandom and java.lang.BigInteger).  You will receive runtime security errors if your application tries to add these classes to the system.  To avoid this, it is necessary to obfuscate the classes (which renames them, and places them in the default package).&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Install ProGuard.  Note that EclipseME doesn&#39;t seem to work right with proguard from the debian/ubuntu package repository, you probably have to download it manually from &lt;a href=&quot;http://proguard.sourceforge.net/&quot;&gt;http://proguard.sourceforge.net&lt;/a&gt;.  Extract the archive, and set up the ProGuard preferences in eclipse.&lt;/li&gt;
&lt;li&gt;Go to:  Window -&amp;gt; Preferences -&amp;gt; J2ME -&amp;gt; Packaging -&amp;gt; Obfuscation.  Under &quot;Proguard Root Directory&quot;, put the root directory of the proguard files downloaded from sourceforge (it should contain &quot;lib&quot;, &quot;src&quot;, &quot;examples&quot;, &quot;docs&quot;, etc).   While there, also check the box so that the specified arguments include &quot;-dontusemixedcaseclassnames -dontnote -defaultpackage &#39;&#39;&quot;.  Ensure that &quot;Proguard Keep Expressions&quot; includes &quot;public class * extends javax.microedition.midlet.MIDlet&quot;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Now you are ready to write your crypto code!  But note that your development process and debugging are now different.  Because bouncycastle depends on obfuscation for the code to run at all, and obfuscation only runs during the &quot;packaging&quot; stage, you can no longer simply run your emulated MIDlet with the WTK emulator to debug.  Instead, you must use the following steps to test your program:&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Right-click on the project folder, and select &quot;J2ME -&amp;gt; Create Obfuscated Package&quot;.&lt;/li&gt;
&lt;li&gt;Select &quot;Run&quot; from the &quot;Run&quot; menu (the first time, you can&#39;t just do &quot;Run last launched&quot; - you need to edit the configuration).  Check the &quot;Jad URL&quot; radio button, and put in the path to the built JAD file (project/bin/deployed/yourJad.jad).  Finally, click &quot;Run&quot;, and you can run your project.  The emulator will start listing the applications present in your JAD/JAR, and you have to launch one to test it.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;u&gt;Source:&amp;nbsp;http://tirl.org/blogs/media-lab-blog/46/&lt;/u&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Q:&amp;nbsp;could not find jar tool executable&lt;br /&gt;
A: Configure the default Java to a JDK instead of JRE&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Source:&amp;nbsp;http://jclik.wordpress.com/2009/10/28/eclipse-could-not-find-jar-tool-executable-solution/&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/2069729897928170255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2012/08/developing-j2me-on-eclipse-m2e-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/2069729897928170255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/2069729897928170255'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2012/08/developing-j2me-on-eclipse-m2e-with.html' title='Developing J2ME on eclipse m2e with Bouncycastle LW library'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-722238447724502226</id><published>2012-06-05T19:34:00.001-07:00</published><updated>2012-06-05T19:34:49.645-07:00</updated><title type='text'>Fixing &quot;Could not update ICEauthority file /var/lib/gdm/.ICEauthority&quot;</title><content type='html'>&gt; Press Crtl, Alt and F2 to get into CLI mode.
&gt; Login as Root
&gt; sudo chown -R gdm: /var/lib/gdm</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/722238447724502226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2012/06/fixing-could-not-update-iceauthority.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/722238447724502226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/722238447724502226'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2012/06/fixing-could-not-update-iceauthority.html' title='Fixing &quot;Could not update ICEauthority file /var/lib/gdm/.ICEauthority&quot;'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-1507817609626728354</id><published>2012-06-05T19:09:00.002-07:00</published><updated>2012-06-05T19:09:35.807-07:00</updated><title type='text'>How to reset a Root Password In Fedora</title><content type='html'>Entering Recovery Mode 

1. While you system is starting up, hold down the Ctrl key or Esc to see the boot loader menu. After you see the menu:
2. Use the arrows to select the boot entry you want to modify. 
3. Press e to edit the entry. 
4. Use the arrows to go to kernel line. 
5. Press a or e to append this entry. 
6. At the end of the line add the word single or the number 1. 
7. Press Enter to accept the changes. 
8. Press b to boot this kernel. 

As root, changing password does not ask for your old password. Run the command: # passwd</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/1507817609626728354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2012/06/how-to-reset-root-password-in-fedora.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/1507817609626728354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/1507817609626728354'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2012/06/how-to-reset-root-password-in-fedora.html' title='How to reset a Root Password In Fedora'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-4301389051495072386</id><published>2012-03-28T08:50:00.003-07:00</published><updated>2012-03-28T09:27:31.521-07:00</updated><title type='text'>VMWare extend boot partition</title><content type='html'>i. Open up a command prompt and issue the following command: vmware-vdiskmanager -x 12GB “Windows Server 2003 Standard Edition.vmdk” where 12GB is the desired size of the expanded volume.&lt;br /&gt;&lt;br /&gt;ii. Mount harddisk with another image.&lt;br /&gt;&lt;br /&gt;iii.</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/4301389051495072386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2012/03/vmware-extend-boot-partition.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/4301389051495072386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/4301389051495072386'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2012/03/vmware-extend-boot-partition.html' title='VMWare extend boot partition'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-2374449679458119415</id><published>2012-01-18T23:46:00.001-08:00</published><updated>2012-01-18T23:46:23.169-08:00</updated><title type='text'>SVN Installation on Fedora</title><content type='html'>References:&lt;br /&gt;http://www.if-not-true-then-false.com/2010/install-svn-subversion-server-on-fedora-centos-red-hat-rhel/</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/2374449679458119415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2012/01/svn-installation-on-fedora.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/2374449679458119415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/2374449679458119415'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2012/01/svn-installation-on-fedora.html' title='SVN Installation on Fedora'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-8104320833218348229</id><published>2011-10-28T21:12:00.000-07:00</published><updated>2011-10-28T21:13:20.773-07:00</updated><title type='text'>Fedora install tomcat 6</title><content type='html'>yum install tomcat6 tomcat6-admin-webapps tomcat6-webapps&lt;br /&gt;chmod g+x /usr/share/tomcat6/logs&lt;br /&gt;chmod g+x /etc/tomcat6&lt;br /&gt;chmod g+x /usr/share/tomcat6/webapps/&lt;br /&gt;chmod g+x /usr/share/tomcat6/temp&lt;br /&gt;chmod g+x /usr/share/tomcat6/work&lt;br /&gt;chmod g+x /var/cache/tomcat6&lt;br /&gt;chown -R tomcat:tomcat /etc/tomcat6/Catalina&lt;br /&gt;chmod g+x /var/lib/tomcat6/&lt;br /&gt;&lt;br /&gt;Ok. Now try start tomcat again:&lt;br /&gt;service tomcat6 restart&lt;br /&gt;Open browser: http://localhost:8080/</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/8104320833218348229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2011/10/fedora-install-tomcat-6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/8104320833218348229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/8104320833218348229'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2011/10/fedora-install-tomcat-6.html' title='Fedora install tomcat 6'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-5953018676425858210</id><published>2011-10-09T20:45:00.001-07:00</published><updated>2011-10-09T20:45:35.304-07:00</updated><title type='text'>How to list the files installed by a yum package</title><content type='html'>If you don’t have repoquery you’ll need to install it first:&lt;br /&gt;&lt;br /&gt;% yum install yum-utilsThen you can run it like so:&lt;br /&gt;&lt;br /&gt;% repoquery --list *package*repoquery writes the list of files for the specified package to standard output. For example, to see the files installed by the nmh package, use:&lt;br /&gt;&lt;br /&gt;% repoquery --list nmh&lt;br /&gt;/etc/nmh&lt;br /&gt;/etc/nmh/MailAliases&lt;br /&gt;/etc/nmh/components&lt;br /&gt;/etc/nmh/digestcomps&lt;br /&gt;/etc/nmh/distcomps&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;#Referenced from http://cimarron-taylor.appspot.com/html/0901/090107-yum.html</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/5953018676425858210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2011/10/how-to-list-files-installed-by-yum.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/5953018676425858210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/5953018676425858210'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2011/10/how-to-list-files-installed-by-yum.html' title='How to list the files installed by a yum package'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-219102277833749931</id><published>2011-10-09T20:21:00.000-07:00</published><updated>2011-10-09T20:22:34.736-07:00</updated><title type='text'>YUM command</title><content type='html'>yum gets the list of packages from repository /etc/yum.repos.d&lt;br /&gt;&lt;br /&gt;install additional repository into top folder&lt;br /&gt;- wsget *.repo</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/219102277833749931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2011/10/yum-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/219102277833749931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/219102277833749931'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2011/10/yum-command.html' title='YUM command'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-2454018985362480049</id><published>2011-04-16T00:19:00.003-07:00</published><updated>2011-04-16T00:19:52.844-07:00</updated><title type='text'>JavaServlet\WebService Security Constraint</title><content type='html'>Reference: http://blogs.sun.com/monzillo/entry/web_xml_security_constraints_best</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/2454018985362480049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2011/04/javaservletwebservice-security.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/2454018985362480049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/2454018985362480049'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2011/04/javaservletwebservice-security.html' title='JavaServlet\WebService Security Constraint'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-7276203652955891679</id><published>2011-04-14T06:36:00.000-07:00</published><updated>2011-04-14T06:39:07.879-07:00</updated><title type='text'>Javascript Get browser\OS version</title><content type='html'>*** browser\other version ***&lt;br /&gt;&lt;br /&gt;&lt;script&gt;&lt;br /&gt;w=window.open(&quot;&quot;);&lt;br /&gt;for(i in navigator){&lt;br /&gt;w.document.write(&quot;&lt;li&gt;&quot;+i+&quot; = &quot;+eval(&#39;navigator.&#39;+i));&lt;br /&gt;}&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;Ref: http://www.webdeveloper.com/forum/archive/index.php/t-127667.html&lt;br /&gt;&lt;br /&gt;*** OS version ***&lt;br /&gt;&lt;br /&gt;// This script sets OSName variable as follows:&lt;br /&gt;// &quot;Windows&quot;    for all versions of Windows&lt;br /&gt;// &quot;MacOS&quot;      for all versions of Macintosh OS&lt;br /&gt;// &quot;Linux&quot;      for all versions of Linux&lt;br /&gt;// &quot;UNIX&quot;       for all other UNIX flavors &lt;br /&gt;// &quot;Unknown OS&quot; indicates failure to detect the OS&lt;br /&gt;&lt;br /&gt;var OSName=&quot;Unknown OS&quot;;&lt;br /&gt;if (navigator.appVersion.indexOf(&quot;Win&quot;)!=-1) OSName=&quot;Windows&quot;;&lt;br /&gt;if (navigator.appVersion.indexOf(&quot;Mac&quot;)!=-1) OSName=&quot;MacOS&quot;;&lt;br /&gt;if (navigator.appVersion.indexOf(&quot;X11&quot;)!=-1) OSName=&quot;UNIX&quot;;&lt;br /&gt;if (navigator.appVersion.indexOf(&quot;Linux&quot;)!=-1) OSName=&quot;Linux&quot;;&lt;br /&gt;&lt;br /&gt;document.write(&#39;Your OS: &#39;+OSName);&lt;br /&gt;&lt;br /&gt;Ref: http://www.javascripter.net/faq/operatin.htm&lt;br /&gt;&lt;br /&gt;Others: https://developer.mozilla.org/En/Browser_Detection_and_Cross_Browser_Support</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/7276203652955891679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2011/04/javascript-get-browseros-version.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/7276203652955891679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/7276203652955891679'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2011/04/javascript-get-browseros-version.html' title='Javascript Get browser\OS version'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-4251148881964019506</id><published>2011-01-23T20:08:00.000-08:00</published><updated>2011-01-23T20:09:16.251-08:00</updated><title type='text'>Setting Java System Properties in JBoss</title><content type='html'>I like using JVM system properties as a way to access non hard coded resources. Typing System.getProperty(&quot;myPropertyName&quot;) is convenient and clean. The best part is that these properties have JVM scope, so you don&#39;t have to worry about class loaders.&lt;br /&gt;&lt;br /&gt;For convenience let me define a couple of variables:&lt;br /&gt;&lt;br /&gt;%JBOSS_HOME= directory where JBoss is installed&lt;br /&gt;%JBOSS_SERVER= server instance name&lt;br /&gt;&lt;br /&gt;There are 2 ways to define system properties in JBoss:&lt;br /&gt;&lt;br /&gt;a) By specifying them in %JBOSS_HOME/bin/run.conf&lt;br /&gt;&lt;br /&gt;You use run.conf, don&#39;t you? Don&#39;t change run.sh or run.bat directly. That makes your application less portable. The file run.conf is used by run.sh or run.bat to setup a number of properties. To setup system properties you need modify the JAVA_OPTS variable. Find this section in run.conf and modify it accordingly:&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;# Specify options to pass to the Java VM.&lt;br /&gt;#&lt;br /&gt;if [ &quot;x$JAVA_OPTS&quot; = &quot;x&quot; ]; then&lt;br /&gt;     JAVA_OPTS=&quot;-Xms500m -Xmx500m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -DyourPropertyName=yourPropertyValue&quot;   &lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;As you can see I added the property yourPropertyName to the System Properties. So, once you restart the server, you will able to simply call System.getProperty(&quot;yourPropertyName&quot;) and get the value of it in any application running in JBoss.&lt;br /&gt;&lt;br /&gt;The problem with this approach is that to change the values of the properties, or add values, you need to restart the server.&lt;br /&gt;&lt;br /&gt;b) Use properties-service.xml&lt;br /&gt;&lt;br /&gt;This is my favorite method. In $JBOSS_HOME/server/$JBOSS_SERVER/deploy you will find the file properties-service.xml . In this file you can specify new system properties, modify existing ones and even remove old ones. All you need to do is uncomment the following block in properties-service.xml:&lt;br /&gt;&lt;br /&gt;    &lt;!--&lt;br /&gt;       | Set raw properties file style properties. --&gt;&lt;br /&gt;&lt;br /&gt;    &lt;attribute name=&quot;Properties&quot;&gt;&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;yourPropertyName=yourPropertyValue&lt;br /&gt;&lt;br /&gt;    &lt;/attribute&gt;&lt;br /&gt;&lt;br /&gt;You don&#39;t need to restart the server for defined properties or changed in properties-service.xml to take effect. Placing properties with links to web services endpoints, LDAP servers and other resources in properties-service.xml makes an application EAR or WAR more portable and easier to move from a development environment to a production environment since the properties are outside of the deployment instruments.&lt;br /&gt;&lt;br /&gt;Reference from: http://www.hugotroche.com/my_weblog/2008/07/setting-java-sy.html</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/4251148881964019506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2011/01/setting-java-system-properties-in-jboss.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/4251148881964019506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/4251148881964019506'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2011/01/setting-java-system-properties-in-jboss.html' title='Setting Java System Properties in JBoss'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-8577456299940691735</id><published>2011-01-12T02:16:00.000-08:00</published><updated>2011-01-28T01:28:07.421-08:00</updated><title type='text'>JBOSS 5 on Java 5 Unsupported Operation...Set ....</title><content type='html'>from 5.0.0.GA&lt;br /&gt;JBossAS 5.0.0.GA can be compiled with both Java5 &amp; Java6. The Java5 compiled binary is our primary/recommended binary distribution. It has undergone rigorous testing and can run under both a Java 5 and a Java 6 runtime. When running under Java 6 you need to manually copy the following libraries from the JBOSS_HOME/common/lib directory to the JBOSS_HOME/lib/endorsed directory, so that the JAX-WS 2.0 apis supported by JBossWS are used:&lt;br /&gt;&lt;br /&gt;    * jbossws-native-saaj.jar&lt;br /&gt;    * jbossws-native-jaxrpc.jar&lt;br /&gt;    * jbossws-native-jaxws.jar&lt;br /&gt;    * jbossws-native-jaxws-ext.jar</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/8577456299940691735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2011/01/jboss-5-on-java-5-unsupported.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/8577456299940691735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/8577456299940691735'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2011/01/jboss-5-on-java-5-unsupported.html' title='JBOSS 5 on Java 5 Unsupported Operation...Set ....'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-4894871447743302801</id><published>2011-01-06T20:37:00.000-08:00</published><updated>2011-01-06T20:38:23.101-08:00</updated><title type='text'>Linux change hostname</title><content type='html'>Display Hostname&lt;br /&gt;Type the following command:&lt;br /&gt;&lt;br /&gt;hostnameSample ouputs:&lt;br /&gt;&lt;br /&gt;server.nixcraft.net.inStep # 1: Change Hostname&lt;br /&gt;You need to update two files:&lt;br /&gt;&lt;br /&gt;Linux Distribution specific file. Edit appropriate file as per your distribution as follows. &lt;br /&gt;/etc/hosts &lt;br /&gt;Redhat / CentOS / Fedora: Change Hostname&lt;br /&gt;Edit /etc/sysconfig/network, enter:&lt;br /&gt;&lt;br /&gt;vi /etc/sysconfig/networkSet HOSTNAME=newhost.example.com, enter:&lt;br /&gt;&lt;br /&gt;HOSTNAME=server2.nixcraft.comSave and close the file. Type the following command:&lt;br /&gt;&lt;br /&gt;hostname server2.nixcraft.com&lt;br /&gt;hostname&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step #2: Update /etc/hosts&lt;br /&gt;Now, you need to edit /etc/hosts file, enteR:&lt;br /&gt;&lt;br /&gt;vi /etc/hostsChange all old hostname with newer one.</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/4894871447743302801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2011/01/linux-change-hostname.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/4894871447743302801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/4894871447743302801'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2011/01/linux-change-hostname.html' title='Linux change hostname'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-6321918974627034709</id><published>2010-07-26T03:06:00.001-07:00</published><updated>2010-07-26T03:07:43.662-07:00</updated><title type='text'>Android System properties</title><content type='html'>Reference:&lt;br /&gt;http://android-er.blogspot.com/2009/09/read-android-system-info-using.html&lt;br /&gt;http://android-er.blogspot.com/2009/09/read-android-cpu-info.html&lt;br /&gt;http://android-er.blogspot.com/2009/09/read-android-os-version.html&lt;br /&gt;http://d.hatena.ne.jp/Kazzz/20100113/p1&lt;br /&gt;&lt;br /&gt;http://strazzere.com/blog/?p=116&lt;br /&gt;http://www.androidsoftwaredeveloper.com/2009/04/02/how-to-get-the-phone-imei/</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/6321918974627034709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2010/07/android-system-properties.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/6321918974627034709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/6321918974627034709'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2010/07/android-system-properties.html' title='Android System properties'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-4794847367609548604</id><published>2010-07-05T20:25:00.001-07:00</published><updated>2010-07-05T20:28:14.350-07:00</updated><title type='text'>Unix mail commands</title><content type='html'>Extracted from: http://www.cyberciti.biz/faq/linux-send-email-from-console/&lt;br /&gt;&lt;br /&gt;To send an email from console you need to use mail command, which is an intelligent mail processing system which has a command syntax reminiscent of ed with lines replaced by messages. To send an email to somewhere@domain.com you need to type following command:&lt;br /&gt;&lt;br /&gt;$ mail somewhere@domain.comOutput:&lt;br /&gt;&lt;br /&gt;Subject: Hello&lt;br /&gt;Hai,&lt;br /&gt;&lt;br /&gt;How are you? Hope so you are fine :)&lt;br /&gt;&lt;br /&gt;Take care&lt;br /&gt;&lt;br /&gt;Babai&lt;br /&gt;&lt;br /&gt;Vivek&lt;br /&gt;. &lt;Type  DOT (.) followed by ENTER KEY&gt;&lt;br /&gt;Cc: &lt;Press ENTER KEY&gt;&lt;br /&gt;&lt;br /&gt;You need to type . (dot) to send an email. To send contains of file (such as /tmp/message) as mail body then use following command:&lt;br /&gt;$ mail -s &#39;Hai&#39; somewhere@domain.com &lt; /tmp/messagePlease note that above command will NOT route an email if you do not have properly configured MTA/mail server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*** Read mail ***&lt;br /&gt;&gt;&gt;mail -f /var/spool/mail/&lt;user&gt; e.g., mail -f /var/spool/mail/root //root email&lt;br /&gt;&gt;&gt;mbox //list all mails&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reference: http://www.computerhope.com/unix/umail.htm</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/4794847367609548604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2010/07/unix-mail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/4794847367609548604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/4794847367609548604'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2010/07/unix-mail.html' title='Unix mail commands'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-6821381852485661129</id><published>2010-07-05T20:23:00.000-07:00</published><updated>2010-07-05T20:24:28.243-07:00</updated><title type='text'>Forward root email to external email</title><content type='html'>Extracted from: http://dettox.blogspot.com/2008/01/automatic-forward-to-another-email.html&lt;br /&gt;&lt;br /&gt;Root account&lt;br /&gt;editing the file /etc/aliases we can add an email alias for every account on the server&lt;br /&gt;&lt;br /&gt;    ...&lt;br /&gt;    ftp-adm: ftp&lt;br /&gt;    ftp-admin: ftp&lt;br /&gt;    www: webmaster&lt;br /&gt;    webmaster: root&lt;br /&gt;    noc: root&lt;br /&gt;    security: root&lt;br /&gt;    hostmaster: root&lt;br /&gt;    info: postmaster&lt;br /&gt;    marketing: postmaster&lt;br /&gt;    sales: postmaster&lt;br /&gt;    support: postmaster&lt;br /&gt;    # Person who should get root&#39;s mail&lt;br /&gt;    root: root&lt;br /&gt;    ...&lt;br /&gt;&lt;br /&gt;so in this case we can write:&lt;br /&gt;&lt;br /&gt;    ...&lt;br /&gt;    root: root, example@domain.com&lt;br /&gt;    ...&lt;br /&gt;&lt;br /&gt;running the command newaliases the change will take effect:&lt;br /&gt;&lt;br /&gt;    [root@localhost ~]# newaliases&lt;br /&gt;    /etc/aliases: 77 aliases, longest 22 bytes, 791 bytes total&lt;br /&gt;    [root@localhost ~]# &lt;br /&gt;&lt;br /&gt;every mail to root@localhost will be forwarded to example@domain.com leaving a copy on the server.&lt;br /&gt;&lt;br /&gt;User account&lt;br /&gt;&lt;br /&gt;to forward user address without root privileges, just create the file .forward in the home directory with inside the name of the mail address:&lt;br /&gt;&lt;br /&gt;    [dettox@localhost ~]$ pwd&lt;br /&gt;    /home/dettox&lt;br /&gt;    [dettox@localhost ~]$ echo &quot;example@domain.com&quot; &gt; .forward&lt;br /&gt;    [dettox@localhost ~]$ chmod 644 .forward&lt;br /&gt;    [dettox@localhost ~]$&lt;br /&gt;&lt;br /&gt;every mail to dettox@localhost will be forwarded to example@domain.com without leaving a copy on the server.</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/6821381852485661129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2010/07/forward-root-email-to-external-email.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/6821381852485661129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/6821381852485661129'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2010/07/forward-root-email-to-external-email.html' title='Forward root email to external email'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-7988247934242237479</id><published>2010-06-30T20:27:00.000-07:00</published><updated>2010-07-01T02:21:52.024-07:00</updated><title type='text'>Android Eclipse ADT</title><content type='html'>FAQ&lt;br /&gt;&lt;br /&gt;Q: &#39;Gen&#39; Folder missing. Set build path&lt;br /&gt;A: Set the following&lt;br /&gt;   Project &gt; Properties &gt; Java Compiler &gt; JDK Compliance &gt; Compiler compliance level: 1.6&lt;br /&gt;&lt;br /&gt;Q: Installation and uninstallation of Android application&lt;br /&gt;A: &lt;br /&gt;&lt;br /&gt;1. Start emulator and wait for bootup completion&lt;br /&gt; C:\android-sdk-windows\tools\emulator.exe -avd1.5&lt;br /&gt;&lt;br /&gt;2. Install application&lt;br /&gt; C:\android-sdk-windows\tools\adb install F:\Projects\Citibank\CitiE2E_Android\library_export\CitiE2ETest.apk&lt;br /&gt;&lt;br /&gt;3. Uninstall application&lt;br /&gt; i)  adb shell&lt;br /&gt; ii) ls //Show all package installed.&lt;br /&gt; iii) rm &lt;package_name&gt;</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/7988247934242237479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2010/06/android-eclipse-adt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/7988247934242237479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/7988247934242237479'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2010/06/android-eclipse-adt.html' title='Android Eclipse ADT'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-1836416381966816521</id><published>2010-06-01T18:53:00.000-07:00</published><updated>2010-06-01T18:54:36.757-07:00</updated><title type='text'>How to setup a Mobile Browser Emulator in Windows Mobile 6</title><content type='html'>http://www.lancelhoff.com/how-to-emulate-windows-mobile-6/</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/1836416381966816521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2010/06/how-to-setup-mobile-browser-emulator-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/1836416381966816521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/1836416381966816521'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2010/06/how-to-setup-mobile-browser-emulator-in.html' title='How to setup a Mobile Browser Emulator in Windows Mobile 6'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-6119332553142792723</id><published>2010-05-25T23:14:00.000-07:00</published><updated>2010-05-25T23:15:47.100-07:00</updated><title type='text'>c\c++ compiler w. netbeans</title><content type='html'>references:&lt;br /&gt;&lt;br /&gt;http://cygwin.com/&lt;br /&gt;http://royalexander.wordpress.com/2009/03/20/configuring-cygwin-cc-compiler-for-netbeans-65-under-windows/&lt;br /&gt;http://netbeans.org/community/releases/68/cpp-setup-instructions.html&lt;br /&gt;http://netbeans.org/kb/trails/cnd.html</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/6119332553142792723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2010/05/cc-compiler-w-netbeans.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/6119332553142792723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/6119332553142792723'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2010/05/cc-compiler-w-netbeans.html' title='c\c++ compiler w. netbeans'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-5758319456985632941</id><published>2010-04-15T19:05:00.000-07:00</published><updated>2010-05-24T23:37:50.059-07:00</updated><title type='text'>Signed Applet to Javascript</title><content type='html'>&lt;pre&gt;String lineSeparator = java.security.AccessController.doPrivileged(&lt;br /&gt;new java.security.PrivilegedAction&lt;String&gt;(){&lt;br /&gt;public String run() {return System.getProperty(&quot;line.separator&quot;);}});&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;prettyprint&quot;&gt;&lt;code&gt;&lt;span class=&quot;pun&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;http://www.raditha.com/java/sandbox/unsigned.php&lt;br /&gt;http://stackoverflow.com/questions/852453/accesscontroller-doprivileged&lt;br /&gt;http://chriswongdevblog.blogspot.com/2009/08/invisible-applet.html&lt;br /&gt;http://forums.sun.com/thread.jspa?threadID=5434324&lt;br /&gt;http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4406607&lt;br /&gt;http://forums.devshed.com/java-help-9/saving-file-into-local-disc-using-applet-613357.html&lt;br /&gt;http://lwjgl.org/forum/index.php?action=printpage;topic=3186.0&lt;br /&gt;http://stackoverflow.com/questions/1068271/signed-applet-gives-accesscontrolexception-access-denied-when-calling-from-java&lt;br /&gt;http://www.snowbound.com/tech_tips/g_security_applet_java.html&lt;br /&gt;http://java.sun.com/j2se/1.4.2/docs/api/java/security/AccessController.html</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/5758319456985632941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2010/04/signed-applet-to-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/5758319456985632941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/5758319456985632941'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2010/04/signed-applet-to-javascript.html' title='Signed Applet to Javascript'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-4220722293148854648</id><published>2010-01-20T01:56:00.000-08:00</published><updated>2010-01-20T19:44:58.145-08:00</updated><title type='text'>RPM commands</title><content type='html'>Some common rpm commands&lt;br /&gt;&lt;br /&gt;1. Install&lt;br /&gt;rpm -i &lt;rpm files=&quot;&quot;&gt;&lt;br /&gt;&lt;br /&gt;2. Remove&lt;br /&gt;rpm -e&lt;package&gt;&lt;br /&gt;&lt;br /&gt;3. List all installed packages&lt;br /&gt;rpm -qa[ i &lt;more information=&quot;&quot;&gt;]&lt;/more&gt;&lt;/package&gt;&lt;/rpm&gt;</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/4220722293148854648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2010/01/rpm-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/4220722293148854648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/4220722293148854648'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2010/01/rpm-commands.html' title='RPM commands'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-3324380822905633241</id><published>2010-01-18T00:45:00.000-08:00</published><updated>2010-01-18T06:02:54.389-08:00</updated><title type='text'>Installing default EJBCA on Fedora 10</title><content type='html'>Installation packages&lt;br /&gt;- jdk 1.5&lt;br /&gt;- ejbca 3.9.2&lt;br /&gt;- JBOSS 5.1&lt;br /&gt;- Ant 1.7.1 &gt;= 1.6.5&lt;br /&gt;- install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 5.0 http://java.sun.com/j2se/1.5.0/download.jsp&lt;br /&gt;&lt;br /&gt;-----------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;1) Install the following packages:&lt;br /&gt;&lt;br /&gt;yum install ant-nodeps&lt;br /&gt;yum install xdoclet&lt;br /&gt;yum install xjavadoc //optional&lt;br /&gt;&lt;br /&gt;2) install sun java 1.5 and Unlimited strength policy(readme.txt in zip).&lt;br /&gt;3) unzip jboss 1.5 and ejbca to required folder.&lt;br /&gt;4) Add the following lines to /etc/profile&lt;br /&gt;&lt;br /&gt;# User specific aliases and functions&lt;br /&gt;# The following are the environment variables for Java and JBOSS&lt;br /&gt;&lt;br /&gt;export JAVA_HOME=/usr/java/jdk1.5.0_22&lt;br /&gt;export PATH=$PATH:$JAVA_HOME/bin&lt;br /&gt;&lt;br /&gt;export JBOSS_HOME=/opt/jboss-5.1.0.GA&lt;br /&gt;export PATH=$PATH:$JBOSS_HOME/bin&lt;br /&gt;&lt;br /&gt;export APPSRV_HOME=$JBOSS_HOME&lt;br /&gt;export ANT_OPTS=-Xmx512m&lt;br /&gt;&lt;br /&gt;export EJBCA_HOME=ejbca_3_9_2&lt;br /&gt;&lt;br /&gt;5) In $APPSRV_HOME/bin/run.conf, edit the following:&lt;br /&gt;JAVA_OPTS=&quot;-server -Xms128m -Xmx512m&quot; //Optional&lt;br /&gt;&lt;br /&gt;6) JBoss 5.x have a bug causing issues with the BC JCE provider. To work around this you can copy the files EJBCA_HOME/lib/bc*.jar to JBOSS_HOME/server/default/lib/. &lt;br /&gt;cp -s EJBCA_HOME/lib/bc*.jar JBOSS_HOME/server/default/lib/.&lt;br /&gt;&lt;br /&gt;7) $EJBCA_HOME/ant bootstrap //Compile, jar, war, ear everything and deploy it to JBoss. &lt;br /&gt;&lt;br /&gt;8) Start JBOSS&lt;br /&gt;$APPSRV_HOME/bin/./run.sh -b 0.0.0.0 //bind(b) allow access via ip address instead of localhost only.&lt;br /&gt;JBoss should deploy the ear without errors.&lt;br /&gt;&lt;br /&gt;9) $EJBCA_HOME/ant install //generate all certificates, keys, etc &lt;br /&gt;admin keys will be stored in ${ejbca.home}/p12&lt;br /&gt;Adds data to jboss/server/default/data/hypersonic database&lt;br /&gt;*Only run once.&lt;br /&gt;tomcat.jks is for the servlet container (don&#39;t bother with it) &lt;br /&gt;truststore.jks is for the servlet container (don&#39;t bother with it) &lt;br /&gt;superadmin.p12 should be imported in your browser, that&#39;s your administration certificate.&lt;br /&gt;&lt;br /&gt;10) Stop JBoss&lt;br /&gt;&lt;br /&gt;11) $EJBCA_HOME/ant deploy&lt;br /&gt;deploy everything again and configure the servlet container with the keystore file(HTTPS) (this is why we needed to stop the container). &lt;br /&gt;&lt;br /&gt;12) Import the certificate from $EJBCA_HOME/p12/superadmin.p12 into the browser. This is for administration access.&lt;br /&gt;Default password for superadmin.p12: ejbca //configured in ejbca.properties&lt;br /&gt;&lt;br /&gt;13) Start JBoss&lt;br /&gt;https://&lt;ipaddress&gt;:8443/ejbca //admin-GUI *superadmin.p12 provide the admin login.&lt;br /&gt;http://localhost:8080/ejbca //public page w/o administration&lt;br /&gt;&lt;br /&gt;*To add recognised CA signed SSL&lt;br /&gt;$ant -Dca.name=&quot;My CA Name&quot; javatruststore&lt;br /&gt;- adds the CA certificate to p12/truststore.jks &lt;br /&gt;- copies this &#39;truststore.jks&#39; to $JBOSS_HOME/server/default/conf/keystore&lt;br /&gt;- Stop and start tomcat&lt;br /&gt;&lt;br /&gt;------------------------------------------------------------------------------------&lt;br /&gt;Tips:&lt;br /&gt;version of EJBCA - $EJBCA_HOME/ant ejbcaversion&lt;br /&gt;&lt;br /&gt;EJB CA properties - conf/ejbca.properties &lt;br /&gt;Database properties - conf/database.properties &lt;br /&gt;&lt;br /&gt;Files deployed &lt;br /&gt;- ant bootstrap &lt;br /&gt; - deploy/ejbca-ds.xml &lt;br /&gt; - deploy/ejbca-mail-service.xml &lt;br /&gt; - deploy/ejbca.ear &lt;br /&gt;&lt;br /&gt;- ant deploy &lt;br /&gt; - Files from ant bootstrap &lt;br /&gt; - conf/keystore/keystore.jk &lt;br /&gt; - conf/keystore/truststore.jks &lt;br /&gt; - deploy/jboss-web.deployer/server.xml &lt;br /&gt;&lt;br /&gt;------------------------------------------------------------------------------------&lt;br /&gt;Reference&lt;br /&gt;http://www.ejbca.org/installation.html</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/3324380822905633241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2010/01/installing-default-ejbca-on-fedora-10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/3324380822905633241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/3324380822905633241'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2010/01/installing-default-ejbca-on-fedora-10.html' title='Installing default EJBCA on Fedora 10'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3053352583694970340.post-5940800649278565544</id><published>2009-12-01T05:57:00.001-08:00</published><updated>2009-12-01T06:25:33.708-08:00</updated><title type='text'>gcc library missing during run</title><content type='html'>&lt;tt class=&quot;FILENAME&quot;&gt;edit /etc/ld.so.conf and &lt;/tt&gt;run &lt;code class=&quot;literal&quot;&gt;ldconfig.&lt;/code&gt;&lt;br /&gt;&lt;tt class=&quot;FILENAME&quot;&gt;&lt;br /&gt;In fedora&lt;br /&gt;&lt;/tt&gt;&lt;tt class=&quot;FILENAME&quot;&gt;/etc/ld.so.conf -&gt; include &lt;/tt&gt;&lt;tt class=&quot;FILENAME&quot;&gt;/etc/ld.so.conf.d/&lt;br /&gt;&lt;br /&gt;all config in the above folder should include lib directory&lt;br /&gt;&lt;br /&gt;e.g. pbc.conf&lt;br /&gt;/usr/local/lib&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;http://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/dlls.html</content><link rel='replies' type='application/atom+xml' href='http://itgeekhelp.blogspot.com/feeds/5940800649278565544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itgeekhelp.blogspot.com/2009/12/gcc-library-missing-during-run.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/5940800649278565544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3053352583694970340/posts/default/5940800649278565544'/><link rel='alternate' type='text/html' href='http://itgeekhelp.blogspot.com/2009/12/gcc-library-missing-during-run.html' title='gcc library missing during run'/><author><name>Pedric Kng Aka Boon</name><uri>http://www.blogger.com/profile/07979744237794291200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>