<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ruzdi&#039;s Webblog</title>
	<atom:link href="http://ruzdi.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruzdi.wordpress.com</link>
	<description>welcome to my blog</description>
	<lastBuildDate>Sat, 28 Jan 2012 07:00:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ruzdi.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ruzdi&#039;s Webblog</title>
		<link>http://ruzdi.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ruzdi.wordpress.com/osd.xml" title="Ruzdi&#039;s Webblog" />
	<atom:link rel='hub' href='http://ruzdi.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Simple way to install ns2 in ubuntu 10.10</title>
		<link>http://ruzdi.wordpress.com/2011/09/04/simple-way-to-install-ns2-in-ubuntu-10-10/</link>
		<comments>http://ruzdi.wordpress.com/2011/09/04/simple-way-to-install-ns2-in-ubuntu-10-10/#comments</comments>
		<pubDate>Sat, 03 Sep 2011 19:05:07 +0000</pubDate>
		<dc:creator>Md. Ruzdi Islam</dc:creator>
				<category><![CDATA[ns2]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[simulator]]></category>

		<guid isPermaLink="false">http://ruzdi.wordpress.com/?p=313</guid>
		<description><![CDATA[Following is the 10 easy steps of installing ns2  on Ubuntu-<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=313&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Following is the 10 easy steps of installing ns2  on Ubuntu-10.10</p>
<p>Step1 : Download <a href="http://space.dl.sourceforge.net/project/nsnam/allinone/ns-allinone-2.34/ns-allinone-2.34.tar.gz" title="ns-allinone-2.34.tar.gz" target="_blank">ns-allinone-2.34</a> package .</p>
<p>Step2 : Place the ns-allinone-2.34.tar.gz file in under your home folder and extract it using following command </p>
<p><pre class="brush: plain;">
tar xvfz ./ns-allinone-2.34.tar.gz
</pre><br />
in  my case location is &#8211; /home/ruzdi/program/ns-allinone-2.34</p>
<p>step3 : Using command line go to this folder /home/ruzdi/program/ns-allinone-2.34</p>
<p>step4 : use the following command<br />
<pre class="brush: plain;">
sudo apt-get install build-essential autoconf automake libxmu-dev gcc-4.3 
</pre><br />
step5 : change the following line in ns-allinone-2.34/otcl-1.13/Makefile.in file<br />
<pre class="brush: plain;">
change CC= @CC@ to CC= gcc-4.3 
</pre><br />
step6 : then install using<br />
<pre class="brush: plain;">
./install
</pre></p>
<p>Step7: Once the installation is successful without any errors, we need to add the path information to the file ~/.bashrc<br />
<pre class="brush: plain;">
  $ gedit   ~/.bashrc 
</pre><br />
Step8: Add the following lines to the file ~/.bashrc</p>
<p><pre class="brush: plain;">
# LD_LIBRARY_PATH
OTCL_LIB=/home/ruzdi/program/ns-allinone-2.34/otcl-1.13
NS2_LIB=/home/ruzdi/program/ns-allinone-2.34/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB

# TCL_LIBRARY

TCL_LIB=/home/ruzdi/program/ns-allinone-2.34/tcl8.4.18/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB

# PATH

XGRAPH=/home/ruzdi/program/ns-allinone-2.34/bin:/home/ruzdi/program/ns-allinone-2.34/tcl8.4.18/unix:/home/ruzdi/program/ns-allinone-2.34/tk8.4.18/unix

# Note: the above two lines starting from XGRAPH should come in the same line

NS=/home/ruzdi/program/ns-allinone-2.34/ns-2.34/
NAM=/home/ruzdi/program/ns-allinone-2.34/nam-1.14/
PATH=$PATH:$XGRAPH:$NS:$NAM
</pre><br />
Here replace /home/ruzdi/program/ with the path to your ns2 folder path.</p>
<p>Step9: For the changes to take effect immediately, do the following:<br />
<pre class="brush: plain;">
$ source      ~/.bashrc 
</pre><br />
10. nw use the &#8216;ns&#8217; command to check that it is installed correctly or not if your ns2 is instaled correctly then it show % sign . You can exit from this using &#8216;exxit&#8217; command</p>
<p>Thats all cheers &#8230;</p>
<p>This post is written with the help of two blog post &#8211;</p>
<p><a href="http://wsnsimulators.blogspot.com/2010/06/how-to-install-ns2-with-ubuntu-1004-by.html" title="How to install NS2 with Ubuntu 10.04 By Noor Zaman " target="_blank">link1</a></p>
<p><a href="http://getch.wordpress.com/2010/10/25/installing-network-simulator-in-ubuntu10-10/" title="Installing Network Simulator(ns2.34) in Ubuntu10.10" target="_blank">link2</a></p>
<br />Filed under: <a href='http://ruzdi.wordpress.com/category/networking/ns2/'>ns2</a> Tagged: <a href='http://ruzdi.wordpress.com/tag/networking-2/'>networking</a>, <a href='http://ruzdi.wordpress.com/tag/ns2/'>ns2</a>, <a href='http://ruzdi.wordpress.com/tag/simulator/'>simulator</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruzdi.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruzdi.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruzdi.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruzdi.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruzdi.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruzdi.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruzdi.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruzdi.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruzdi.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruzdi.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruzdi.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruzdi.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruzdi.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruzdi.wordpress.com/313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=313&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruzdi.wordpress.com/2011/09/04/simple-way-to-install-ns2-in-ubuntu-10-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ef65dbca26b2524baab3e6eb3cb146c5?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Ruzdi</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple solution to complex where clause brace problen in Code-igniter</title>
		<link>http://ruzdi.wordpress.com/2011/08/17/simple-solution-to-complex-where-clause-brace-problen-in-code-igniter/</link>
		<comments>http://ruzdi.wordpress.com/2011/08/17/simple-solution-to-complex-where-clause-brace-problen-in-code-igniter/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 18:00:38 +0000</pubDate>
		<dc:creator>Md. Ruzdi Islam</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Active Record Pattern]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://ruzdi.wordpress.com/?p=304</guid>
		<description><![CDATA[In Code-Igniter How do you make a query with where clause with a brace like following ---
SELECT * FROM props 
WHERE `active` = 1
AND (rent &#62;= 25 OR price &#62;=25) AND 1=  1
AND `props`.`id` = '1'<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=304&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Code-Igniter How do you make a query with where clause with a brace like following &#8212;<br />
<pre class="brush: plain;">
SELECT * FROM props 
WHERE `active` = 1
AND (rent &gt;= 25 OR price &gt;=25) AND 1=  1
AND `props`.`id` = '1'
</pre><br />
Code-Igniter active record pattern does not generally support this type of query as far i searched.</p>
<p>I found a surprising solution for this type of query. for this query i make the where clause like following  &#8211;<br />
<pre class="brush: plain;">
$this-&gt;db-&gt;where('(rent &gt;= 25 OR price &gt;=25) AND 1= ',1); 
$this-&gt;db-&gt;where('props.id',1); 
</pre><br />
Which does the tricks.</p>
<p>I don&#8217;t actually know this is the fault of the developers or a feature but it is good for my work to move on.</p>
<p>so the total query for this SQL becomes &#8211;<br />
<pre class="brush: plain;">
$this-&gt;db-&gt;where('(rent &gt;= 25 OR price &gt;=25) AND 1= ',1); 
$this-&gt;db-&gt;where('props.id',1); 
$this-&gt;db-&gt;get('props');
</pre><br />
cheers&#8230;&#8230;&#8230;</p>
<br />Filed under: <a href='http://ruzdi.wordpress.com/category/codeigniter/'>CodeIgniter</a>, <a href='http://ruzdi.wordpress.com/category/database/'>Database</a>, <a href='http://ruzdi.wordpress.com/category/database/mysql/'>MySql</a>, <a href='http://ruzdi.wordpress.com/category/php/'>PHP</a> Tagged: <a href='http://ruzdi.wordpress.com/tag/active-record-pattern/'>Active Record Pattern</a>, <a href='http://ruzdi.wordpress.com/tag/codeigniter/'>CodeIgniter</a>, <a href='http://ruzdi.wordpress.com/tag/php/'>PHP</a>, <a href='http://ruzdi.wordpress.com/tag/sql/'>SQL</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruzdi.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruzdi.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruzdi.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruzdi.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruzdi.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruzdi.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruzdi.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruzdi.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruzdi.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruzdi.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruzdi.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruzdi.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruzdi.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruzdi.wordpress.com/304/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=304&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruzdi.wordpress.com/2011/08/17/simple-solution-to-complex-where-clause-brace-problen-in-code-igniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ef65dbca26b2524baab3e6eb3cb146c5?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Ruzdi</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple solution to complex where clause brace problen in Code-igniter</title>
		<link>http://ruzdi.wordpress.com/2011/08/16/simple-solution-complex-where-clause-brace-in-code-igniter/</link>
		<comments>http://ruzdi.wordpress.com/2011/08/16/simple-solution-complex-where-clause-brace-in-code-igniter/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 17:58:06 +0000</pubDate>
		<dc:creator>Md. Ruzdi Islam</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Active Record Pattern]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://ruzdi.wordpress.com/?p=305</guid>
		<description><![CDATA[In Code-Igniter How do you make a query with where clause with a brace like following ---
SELECT * FROM props 
WHERE `active` = 1
AND (rent &#62;= 25 OR price &#62;=25) AND 1=  1
AND `props`.`id` = '1'<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=305&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Code-Igniter How do you make a query with where clause with a brace like following &#8212;<br />
<pre class="brush: plain;">
SELECT * FROM props 
WHERE `active` = 1
AND (rent &gt;= 25 OR price &gt;=25) AND 1=  1
AND `props`.`id` = '1'
</pre><br />
Code-Igniter active record pattern does not generally support this type of query as far i searched.</p>
<p>I found a surprising solution for this type of query. for this query i make the where clause like following  &#8211;<br />
<pre class="brush: plain;">
$this-&gt;db-&gt;where('(rent &gt;= 25 OR price &gt;=25) AND 1= ',1); 
$this-&gt;db-&gt;where('props.id',1); 
</pre><br />
Which does the tricks.</p>
<p>I don&#8217;t actually know this is the fault of the developers or a feature but it is good for my work to move on.</p>
<p>so the total query for this SQL becomes &#8211;<br />
<pre class="brush: plain;">
$this-&gt;db-&gt;where('(rent &gt;= 25 OR price &gt;=25) AND 1= ',1); 
$this-&gt;db-&gt;where('props.id',1); 
$this-&gt;db-&gt;get('props');
</pre><br />
cheers&#8230;&#8230;&#8230;</p>
<br />Filed under: <a href='http://ruzdi.wordpress.com/category/codeigniter/'>CodeIgniter</a>, <a href='http://ruzdi.wordpress.com/category/php/'>PHP</a> Tagged: <a href='http://ruzdi.wordpress.com/tag/active-record-pattern/'>Active Record Pattern</a>, <a href='http://ruzdi.wordpress.com/tag/codeigniter/'>CodeIgniter</a>, <a href='http://ruzdi.wordpress.com/tag/php/'>PHP</a>, <a href='http://ruzdi.wordpress.com/tag/sql/'>SQL</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruzdi.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruzdi.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruzdi.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruzdi.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruzdi.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruzdi.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruzdi.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruzdi.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruzdi.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruzdi.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruzdi.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruzdi.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruzdi.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruzdi.wordpress.com/305/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=305&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruzdi.wordpress.com/2011/08/16/simple-solution-complex-where-clause-brace-in-code-igniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ef65dbca26b2524baab3e6eb3cb146c5?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Ruzdi</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple solution to Fast duplicate key press problem on keyboard in Ubuntu10.10</title>
		<link>http://ruzdi.wordpress.com/2011/01/18/simple-solution-to-fast-duplicate-key-press-problem-on-keyboard-in-ubuntu10-10/</link>
		<comments>http://ruzdi.wordpress.com/2011/01/18/simple-solution-to-fast-duplicate-key-press-problem-on-keyboard-in-ubuntu10-10/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 03:37:46 +0000</pubDate>
		<dc:creator>Md. Ruzdi Islam</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[keybord]]></category>

		<guid isPermaLink="false">http://ruzdi.wordpress.com/?p=290</guid>
		<description><![CDATA[In my Ubuntu10.10 suddenly got some problem. The problem is that &#8212; When i was pressing duplicate key very fast then it accepts only the fast key and escape the other duplicate keys. Such as if i type &#8220;http://&#8221; then it write &#8220;htp:/&#8221;, &#8220;teen&#8221; becomes &#8220;ten&#8221; etc. To solve this problem go to System-&#62;Preferences-&#62;Keybord Then <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=290&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my Ubuntu10.10 suddenly got some problem. The problem is that &#8212;</p>
<blockquote><p>When i was pressing duplicate key very fast then it accepts only the fast key and escape the other duplicate keys. Such as if i type &#8220;http://&#8221; then it write &#8220;htp:/&#8221;, &#8220;teen&#8221; becomes &#8220;ten&#8221; etc. </p></blockquote>
<p>To solve this problem go to </p>
<blockquote><p>System-&gt;Preferences-&gt;Keybord<br />
Then go to &#8220;accessibility&#8221; tab and uncheck the &#8220;Ignore fast duplicate keypresses&#8221; under &#8220;Bounce Keys&#8221; section.</p></blockquote>
<div id="attachment_289" class="wp-caption aligncenter" style="width: 310px"><a href="http://ruzdi.files.wordpress.com/2011/01/keybord-accessibility.png"><img src="http://ruzdi.files.wordpress.com/2011/01/keybord-accessibility.png?w=300&#038;h=291" alt="Keybord-Accessibility" title="Keybord-Accessibility" width="300" height="291" class="size-medium wp-image-289" /></a><p class="wp-caption-text">Keybord-Accessibility</p></div>
<p>Thats it&#8230;</p>
<br />Filed under: <a href='http://ruzdi.wordpress.com/category/ubuntu/'>ubuntu</a> Tagged: <a href='http://ruzdi.wordpress.com/tag/keybord/'>keybord</a>, <a href='http://ruzdi.wordpress.com/tag/ubuntu/'>ubuntu</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruzdi.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruzdi.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruzdi.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruzdi.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruzdi.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruzdi.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruzdi.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruzdi.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruzdi.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruzdi.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruzdi.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruzdi.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruzdi.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruzdi.wordpress.com/290/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=290&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruzdi.wordpress.com/2011/01/18/simple-solution-to-fast-duplicate-key-press-problem-on-keyboard-in-ubuntu10-10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ef65dbca26b2524baab3e6eb3cb146c5?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Ruzdi</media:title>
		</media:content>

		<media:content url="http://ruzdi.files.wordpress.com/2011/01/keybord-accessibility.png?w=300" medium="image">
			<media:title type="html">Keybord-Accessibility</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple solution to android when running on ubuntu 10.10 &#8211; Failed to get the adb version: Cannot run program: java.io.IOException: error=2, No such file or directory</title>
		<link>http://ruzdi.wordpress.com/2011/01/17/android-when-running-on-ubuntu-failed-to-get-the-adb-version/</link>
		<comments>http://ruzdi.wordpress.com/2011/01/17/android-when-running-on-ubuntu-failed-to-get-the-adb-version/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 04:02:45 +0000</pubDate>
		<dc:creator>Md. Ruzdi Islam</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ruzdi.wordpress.com/?p=278</guid>
		<description><![CDATA[Simple solution to android when running on ubuntu 10.10- Failed to get the adb version: Cannot run program "/usr/src/android-sdk-linux_x86/tools/adb": ava.io.IOException: error=2, No such file or directory<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=278&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After installing android i got some problem when i was going to create a project and problem is &#8212;</p>
<blockquote><p>Failed to get the adb version: Cannot run program &#8220;/usr/src/android-sdk-linux_x86/tools/adb&#8221;: java.io.IOException: error=2, No such file or directory</p></blockquote>
<p> After that <br />
1. download getlibs from http://frozenfox.freehostia.com/cappy/getlibs-all.deb<br />
2. open terminal and go to your download folder where getlibs-all.deb is placed <br />
3. then on terminal use the following command &#8212;      <br />
<pre class="brush: plain;">
getlibs aapt
</pre></p>
<br />Filed under: <a href='http://ruzdi.wordpress.com/category/android/'>Android</a>, <a href='http://ruzdi.wordpress.com/category/ubuntu/'>ubuntu</a> Tagged: <a href='http://ruzdi.wordpress.com/tag/android/'>Android</a>, <a href='http://ruzdi.wordpress.com/tag/ubuntu/'>ubuntu</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruzdi.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruzdi.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruzdi.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruzdi.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruzdi.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruzdi.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruzdi.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruzdi.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruzdi.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruzdi.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruzdi.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruzdi.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruzdi.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruzdi.wordpress.com/278/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=278&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruzdi.wordpress.com/2011/01/17/android-when-running-on-ubuntu-failed-to-get-the-adb-version/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ef65dbca26b2524baab3e6eb3cb146c5?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Ruzdi</media:title>
		</media:content>
	</item>
		<item>
		<title>How to login ubuntu as root user</title>
		<link>http://ruzdi.wordpress.com/2010/08/18/how-to-login-ubuntu-as-root-user/</link>
		<comments>http://ruzdi.wordpress.com/2010/08/18/how-to-login-ubuntu-as-root-user/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 09:38:52 +0000</pubDate>
		<dc:creator>Md. Ruzdi Islam</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ruzdi.wordpress.com/?p=244</guid>
		<description><![CDATA[here the tricks of how to login ubuntu as root user&#8230; Open the terminal and type: When you see the prompt that says &#8220;Enter new UNIX password&#8221;, enter the password you want for the root user and confirm it. Save the file. Click other and type your user name: root, and enter the password of <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=244&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>here the tricks of how to login ubuntu as root user&#8230;<br />
Open the terminal and type:</p>
<p><pre class="brush: plain;">sudo passwd root</pre></p>
<blockquote><p>When you see the prompt that says &#8220;Enter new UNIX password&#8221;, enter the password you want for the root user and confirm it.<br />
Save the file.</p>
<p>Click other and type your user name: root, and enter the password of root you have set.</p></blockquote>
<p>Thats it &#8230;&#8230;&#8230;<br />
***Note this is a bad Idea to do if you are connected to the Internet while logged in as root. Any malicious scripts execute themselves with out user permissions.</p>
<br />Filed under: <a href='http://ruzdi.wordpress.com/category/ubuntu/'>ubuntu</a> Tagged: <a href='http://ruzdi.wordpress.com/tag/ubuntu/'>ubuntu</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruzdi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruzdi.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruzdi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruzdi.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruzdi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruzdi.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruzdi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruzdi.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruzdi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruzdi.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruzdi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruzdi.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruzdi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruzdi.wordpress.com/244/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=244&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruzdi.wordpress.com/2010/08/18/how-to-login-ubuntu-as-root-user/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ef65dbca26b2524baab3e6eb3cb146c5?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Ruzdi</media:title>
		</media:content>
	</item>
		<item>
		<title>Browse folder as root user on Ubuntu</title>
		<link>http://ruzdi.wordpress.com/2010/08/18/browse-folder-as-root-user-on-ubuntu/</link>
		<comments>http://ruzdi.wordpress.com/2010/08/18/browse-folder-as-root-user-on-ubuntu/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 09:24:45 +0000</pubDate>
		<dc:creator>Md. Ruzdi Islam</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ruzdi.wordpress.com/?p=241</guid>
		<description><![CDATA[Open you terminal and use the following command which will open a  new window that one allow you to browse folder as root user&#8212; Filed under: ubuntu Tagged: ubuntu<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=241&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Open you terminal and use the following command which will open a <br />
new window that one allow you to browse folder as root user&#8212;<br />
<pre class="brush: plain;">gksudo nautilus</pre></p>
<br />Filed under: <a href='http://ruzdi.wordpress.com/category/ubuntu/'>ubuntu</a> Tagged: <a href='http://ruzdi.wordpress.com/tag/ubuntu/'>ubuntu</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruzdi.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruzdi.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruzdi.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruzdi.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruzdi.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruzdi.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruzdi.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruzdi.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruzdi.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruzdi.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruzdi.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruzdi.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruzdi.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruzdi.wordpress.com/241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=241&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruzdi.wordpress.com/2010/08/18/browse-folder-as-root-user-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ef65dbca26b2524baab3e6eb3cb146c5?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Ruzdi</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing default apache page on Ubuntu</title>
		<link>http://ruzdi.wordpress.com/2010/08/18/changing-default-apache-page-on-ubuntu/</link>
		<comments>http://ruzdi.wordpress.com/2010/08/18/changing-default-apache-page-on-ubuntu/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 09:16:24 +0000</pubDate>
		<dc:creator>Md. Ruzdi Islam</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://ruzdi.wordpress.com/?p=237</guid>
		<description><![CDATA[Open your Apache configuration file httpd.conf on ubuntu it is in /etc/apache2/httpd.conf and open it using then put your desired filename on directory index&#8212; Changing default apache page on Ubuntu Open your Apache configuration file httpd.conf on ubuntu it is in /etc/apache2/httpd.conf and open it using sudo gedit /etc/apache2/httpd.conf then put your desired filename on <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=237&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Open your Apache configuration file httpd.conf</p>
<p>on ubuntu it is in /etc/apache2/httpd.conf and open it using</p>
<p><span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;line-height:18px;font-size:12px;white-space:pre;"> </span></p>
<p><pre class="brush: plain;">
sudo gedit /etc/apache2/httpd.conf
</pre></p>
<p><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;">then put your desired filename on directory index&#8212;</span><br />
<span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;"> </span></p>
<p><pre class="brush: plain;">
DirectoryIndex index.html index.htm default.htm index.php index.pl
</pre></p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;overflow:hidden;"><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		CODE.cjk { font-family: "DejaVu Sans", monospace } --></p>
<p style="margin-bottom:0;">Changing default apache page <code class="western">on Ubuntu</code></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Open your Apache configuration file httpd.conf</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">on ubuntu it is in /etc/apache2/httpd.conf and open it using</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">sudo gedit /etc/apache2/httpd.conf</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">then put your desired filename on directory index&#8212;</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;"><code class="western">DirectoryIndex index.html index.htm default.htm index.php index.pl </code></p>
</div>
<br />Filed under: <a href='http://ruzdi.wordpress.com/category/apache-2/'>Apache</a>, <a href='http://ruzdi.wordpress.com/category/php/'>PHP</a>, <a href='http://ruzdi.wordpress.com/category/ubuntu/'>ubuntu</a>, <a href='http://ruzdi.wordpress.com/category/web/'>Web</a> Tagged: <a href='http://ruzdi.wordpress.com/tag/apache/'>apache</a>, <a href='http://ruzdi.wordpress.com/tag/php/'>PHP</a>, <a href='http://ruzdi.wordpress.com/tag/ubuntu/'>ubuntu</a>, <a href='http://ruzdi.wordpress.com/tag/web/'>Web</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruzdi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruzdi.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruzdi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruzdi.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruzdi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruzdi.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruzdi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruzdi.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruzdi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruzdi.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruzdi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruzdi.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruzdi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruzdi.wordpress.com/237/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=237&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruzdi.wordpress.com/2010/08/18/changing-default-apache-page-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ef65dbca26b2524baab3e6eb3cb146c5?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Ruzdi</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing English date format to Bangla date format</title>
		<link>http://ruzdi.wordpress.com/2010/08/18/changing-english-date-format-to-bangla-date-format/</link>
		<comments>http://ruzdi.wordpress.com/2010/08/18/changing-english-date-format-to-bangla-date-format/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 18:55:40 +0000</pubDate>
		<dc:creator>Md. Ruzdi Islam</dc:creator>
				<category><![CDATA[Date]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[bangla]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[date format]]></category>

		<guid isPermaLink="false">http://ruzdi.wordpress.com/?p=230</guid>
		<description><![CDATA[i use here the following function to change English date format to Bangla date format when displaying &#8212;- calling procedure is like &#8211; So when if send a date format like  &#8220;28 July, 2010, 12:00 am&#8221;  then it returns   &#8220;২৮ জুলাই, ২০১০, সকাল ১২:০০&#8221;    date format Cheers&#8230;&#8230;&#8230; Filed under: Date, PHP, Web Tagged: <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=230&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>i use here the following function to change English date format to Bangla date format when displaying &#8212;-</p>
<p><pre class="brush: plain;">

&lt;?php
function getBanglaDate($date){
 $engArray = array(
 1,2,3,4,5,6,7,8,9,0,
 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December',
 'am', 'pm'
 );
 $bangArray = array(
 '১','২','৩','৪','৫','৬','৭','৮','৯','০',
 'জানুয়ারি', 'ফেব্রুয়ারি', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর',
 'সকাল', 'দুপুর'
 );

 $converted = str_replace($engArray, $bangArray, $date);
 return $converted;
}

?&gt;

</pre></p>
<p>calling procedure is like &#8211;</p>
<p><pre class="brush: plain;">

&lt;?php

 if($GLOBALS['lang'] == &quot;bn&quot;){
 $date = date( 'j F, Y, a g:i',strtotime($publisheddate) ) ;
 $date = getBanglaDate($date);
 }else if($GLOBALS['lang'] == &quot;en&quot;){
 $date = date( 'j F, Y, g:i a',strtotime($publisheddate) ) ;
 }
 ?&gt;

</pre></p>
<p>So when if send a date format like  &#8220;28 July, 2010, 12:00 am&#8221;  then it returns   &#8220;২৮ জুলাই, ২০১০, সকাল ১২:০০&#8221;    date format</p>
<p>Cheers&#8230;&#8230;&#8230;</p>
<br />Filed under: <a href='http://ruzdi.wordpress.com/category/php/date/'>Date</a>, <a href='http://ruzdi.wordpress.com/category/php/'>PHP</a>, <a href='http://ruzdi.wordpress.com/category/web/'>Web</a> Tagged: <a href='http://ruzdi.wordpress.com/tag/bangla/'>bangla</a>, <a href='http://ruzdi.wordpress.com/tag/date-2/'>date</a>, <a href='http://ruzdi.wordpress.com/tag/date-format/'>date format</a>, <a href='http://ruzdi.wordpress.com/tag/php/'>PHP</a>, <a href='http://ruzdi.wordpress.com/tag/web/'>Web</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruzdi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruzdi.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruzdi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruzdi.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruzdi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruzdi.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruzdi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruzdi.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruzdi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruzdi.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruzdi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruzdi.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruzdi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruzdi.wordpress.com/230/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=230&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruzdi.wordpress.com/2010/08/18/changing-english-date-format-to-bangla-date-format/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ef65dbca26b2524baab3e6eb3cb146c5?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Ruzdi</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple steps to setting up virtual host host on Ubuntu Server</title>
		<link>http://ruzdi.wordpress.com/2010/08/17/setting-up-virtual-host-host-on-ubuntu/</link>
		<comments>http://ruzdi.wordpress.com/2010/08/17/setting-up-virtual-host-host-on-ubuntu/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 11:26:15 +0000</pubDate>
		<dc:creator>Md. Ruzdi Islam</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Virtual Host]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[virtual host]]></category>

		<guid isPermaLink="false">http://ruzdi.wordpress.com/?p=203</guid>
		<description><![CDATA[Virtual host is a virtual environment over the top of your current web server to simulate a separate hosting environment. Using virtual host you can enable site specific features and keep your development environment totally separate from another one. For tutorial you need to mod_rewrite enabled. Step 1: setup hosts file open /etc/hosts and add <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=203&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->Virtual host is  a virtual environment over the top of your current web server to simulate a separate hosting environment. Using virtual host you can enable site specific features and keep your development environment totally separate from another one.</p>
<p>For tutorial you need to mod_rewrite enabled.</p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		PRE.cjk { font-family: "DejaVu Sans", monospace } 		CODE.cjk { font-family: "DejaVu Sans", monospace } 		A:link { so-language: zxx } --><strong>Step 1: setup hosts file</strong></p>
<p>open /etc/hosts and add a virtual domain with a specific local IP.</p>
<p>Lets assume that our virtual domain name is “ruzdi.com”  and It will listen to the ip “127.0.0.2″</p>
<p>so on /etc/hosts file we will add</p>
<p><pre class="brush: plain;">
127.0.0.2 ruzdi.com
</pre></p>
<p><code>now whenever you browse  http://ruzdi.com your browser will actually hit </code><code><a href="http://127.0.0.2/">http://127.0.0.2</a></code></p>
<p><strong>Step2: configure virtual host with apache</strong><br />
Now  goto /etc/apache2/sites-available and create a file named “r<code>uzdi.com</code>”</p>
<p><pre class="brush: plain;">
sudo touch ruzdi
sudo gedit /etc/apache2/sites-available/ruzdi
</pre></p>
<p>write the following contents inside. but please note to create the appropriate directory before linking your virtual host with that, for example we’ve create a folder named “/var/opt/ruzdi” and linked that directory as my document root in the following configuration file.</p>
<pre><!-- 		@page { margin: 0.79in } 		PRE.cjk { font-family: "DejaVu Sans", monospace } 		P { margin-bottom: 0.08in } 		CODE.cjk { font-family: "DejaVu Sans", monospace } -->
<blockquote>
<pre><code>&lt;VirtualHost 127.0.0.2:80&gt;</code>
<code>        </code><code>ServerName  r</code><code>uzdi.com</code>
<code>        </code><code>ServerAlias  ruzdi.com</code>
<code>        </code><code>ServerAdmin admin@ruzdi.com</code>
<code>        </code><code>DocumentRoot /opt/ruzdi</code>
<code>        </code><code>&lt;Directory /opt/ruzdi/&gt;</code>
<code>                </code><code>Options FollowSymLinks</code>
<code>                </code><code>AllowOverride All</code>
<code>        </code><code>&lt;/Directory&gt;</code>

<code>&lt;/VirtualHost&gt;</code></pre>
</blockquote>
</pre>
<p>now create a symbolic link of this file to /etc/apache2/sites-enabled directory as “r<code>uzdi.com</code>”</p>
<p><pre class="brush: plain;">
sudo ln -s /etc/apache2/sites-available/ruzdi /etc/apache2/sites-enabled/ruzdi
</pre></p>
<p><code>**** here look directory location is /opt/ruzdi so you must create a directory named “ruzdi” on /opt location </code></p>
<p><strong>Step 3: restart apache </strong></p>
<p>simple, either one of the followings</p>
<p><pre class="brush: plain;">
sudo a2ensite ruzdi
</pre></p>
<p>And</p>
<p><pre class="brush: plain;">
sudo /etc/init.d/apache2 restart
</pre></p>
<p>now on your browser to <strong>http:// r</strong><code>uzdi.com</code></p>
<p><code>***This is post is similar <a href="http://hasin.wordpress.com/2008/05/29/setting-up-virtual-host-with-mod-rewrite-in-ubuntu-hardy-heron/" target="_blank">Hasin Hyder</a> blog post I just change a little. In my case on the hosts file port was not working so I removed it and I got everything all right.</code></p>
<p><code>source :</code></p>
<p><a href="http://httpd.apache.org/docs/2.0/vhosts/examples.html" target="_blank"><code>Apache</code></a></p>
<p><code> <a href="http://hasin.wordpress.com/2008/05/29/setting-up-virtual-host-with-mod-rewrite-in-ubuntu-hardy-heron/" target="_blank">Hasin  Hyder</a> </code></p>
<p><a href="http://httpd.apache.org/docs/2.0/vhosts/examples.html" target="_blank"></a></p>
<br />Filed under: <a href='http://ruzdi.wordpress.com/category/apache-2/'>Apache</a>, <a href='http://ruzdi.wordpress.com/category/php/'>PHP</a>, <a href='http://ruzdi.wordpress.com/category/ubuntu/'>ubuntu</a>, <a href='http://ruzdi.wordpress.com/category/virtual-host/'>Virtual Host</a>, <a href='http://ruzdi.wordpress.com/category/web/'>Web</a> Tagged: <a href='http://ruzdi.wordpress.com/tag/apache/'>apache</a>, <a href='http://ruzdi.wordpress.com/tag/php/'>PHP</a>, <a href='http://ruzdi.wordpress.com/tag/ubuntu/'>ubuntu</a>, <a href='http://ruzdi.wordpress.com/tag/virtual-host-2/'>virtual host</a>, <a href='http://ruzdi.wordpress.com/tag/web/'>Web</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruzdi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruzdi.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruzdi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruzdi.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruzdi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruzdi.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruzdi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruzdi.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruzdi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruzdi.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruzdi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruzdi.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruzdi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruzdi.wordpress.com/203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruzdi.wordpress.com&amp;blog=5105059&amp;post=203&amp;subd=ruzdi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruzdi.wordpress.com/2010/08/17/setting-up-virtual-host-host-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ef65dbca26b2524baab3e6eb3cb146c5?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Ruzdi</media:title>
		</media:content>
	</item>
	</channel>
</rss>
