<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux, Programming, Telephony, Asterisk, Apache, Tips &#38; Tricks &#187; Micellanious</title>
	<atom:link href="http://shahidz.com/category/micellanious/feed/" rel="self" type="application/rss+xml" />
	<link>http://shahidz.com</link>
	<description>Passionate About Technology</description>
	<lastBuildDate>Sun, 10 Jan 2010 17:38:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu 8.04 Desktop to look like Mac OS X</title>
		<link>http://shahidz.com/ubuntu-804-desktop-to-look-like-mac-os-x/</link>
		<comments>http://shahidz.com/ubuntu-804-desktop-to-look-like-mac-os-x/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 18:48:16 +0000</pubDate>
		<dc:creator>Shahid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Micellanious]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://shahidz.com/?p=31</guid>
		<description><![CDATA[MAC OS is one of the OS which gives impresive graphical ability and interface. My friends where planning to buy an apple laptop only because of its graphics, I myself attracted to MAC OS. There are some hardware compatibility issues for running MAC OS on Intel Hardware. So well other alternative to using MAC OS [...]]]></description>
			<content:encoded><![CDATA[<p>MAC OS is one of the OS which gives impresive graphical ability and interface. My friends where planning to buy an apple laptop only because of its graphics, I myself attracted to MAC OS. There are some hardware compatibility issues for running MAC OS on Intel Hardware. So well other alternative to using MAC OS is either to purchase MAC hardware(which would be naturally expensive) and run full fledged MAC OS or you could tweak and customize your Ubuntu desktop to look more like MAC OS X.</p>
<p><strong>Installing Cursor, GTK and Icon Theme</strong></p>
<p>To install cursor,gtk and icon theme first download the package from the link given below :</p>
<p><a href="http://rapidshare.de/files/38210507/MyTheme.tar.gz.html">http://rapidshare.de/files/38210507/MyTheme.tar.gz.html</a></p>
<p><span style="color: #000000">To install the theme package we have downloaded fro the above link, go to </span><span style="font-weight: bold; color: #000000">(System -&gt; Preferences -&gt; Appearance) </span><span style="color: #000000"> and click <strong>Install</strong>  and point to our newly downloaded Mytheme.tar.gz archive.</span></p>
<p><a href="http://shahidz.com/wp-content/uploads/2008/06/apperarences.png" title="Appearence"><img src="http://shahidz.com/wp-content/uploads/2008/06/apperarences.png" alt="Appearence" /></a></p>
<p><span style="color: #000000">This should start installing the theme package (Cursors/Icons/Theme) once installation is completed . Chose Customize in theme and click on <strong>Customize</strong>.</span></p>
<p><a href="http://shahidz.com/wp-content/uploads/2008/06/screenshot-3.png" title="Customize Theme"><img src="http://shahidz.com/wp-content/uploads/2008/06/screenshot-3.png" alt="Customize Theme" /></a></p>
<p><span style="color: #000000">In this window  in Icons chose <span style="color: #000066">LeopardX</span> , in  Controls <span style="color: #000066">Mac4Lin_GTK_Aqua_v0.3</span> , in Window Border <span style="color: #000066">Mac4Lin_GTK_Aqua_v0.3 </span>and in Pointers <span style="color: #000066">White Cursor</span> .</span></p>
<p><a href="http://shahidz.com/wp-content/uploads/2008/06/screenshot-4.png" title="Window"><img src="http://shahidz.com/wp-content/uploads/2008/06/screenshot-4.png" alt="Window" /></a></p>
<p><a href="http://shahidz.com/wp-content/uploads/2008/06/screenshot-5.png" title="Icons"><img src="http://shahidz.com/wp-content/uploads/2008/06/screenshot-5.png" alt="Icons" /></a><a href="http://shahidz.com/wp-content/uploads/2008/06/screenshot-6.png" title="Pointers"><img src="http://shahidz.com/wp-content/uploads/2008/06/screenshot-6.png" alt="Pointers" /></a></p>
<p><span style="color: #000000">If you have followed the steps properly the theme and icons should have been installed , and you should be able to see the new theme applied to your default desktop.</span></p>
<p><strong>Enabling Compiz Graphic Effects and installing Mac$lin Theme</strong></p>
<p>First Step is to install compiconf-settings-managerusing apt-get</p>
<pre>shahid@shahid-laptop:~$ sudo apt-get install compizconfig-settings-manager</pre>
<p>Before customizing Compiz you have to change <strong>Appearance Preference</strong> to <strong>Extra</strong> <strong>( System -&gt; Preferences -&gt; Appearence )</strong></p>
<p><a href="http://shahidz.com/wp-content/uploads/2008/06/screenshot-7.png" title="Appearence"><img src="http://shahidz.com/wp-content/uploads/2008/06/screenshot-7.png" alt="Appearence" /></a></p>
<p><span style="color: #000000">After completing above steps , you can customize compiz by going to </span><strong><span style="color: #000000">System -&gt; Preferences -&gt; Advanced Desktop Effects Settings .</span></strong></p>
<p><a href="http://shahidz.com/wp-content/uploads/2008/06/screenshot-8.png" title="Compiz Advanced Effects"><img src="http://shahidz.com/wp-content/uploads/2008/06/screenshot-8.png" alt="Compiz Advanced Effects" /></a></p>
<p>After this Install <strong>Emerald Theme Manager</strong> <span style="color: #000000"><span style="font-weight: bold">using apt-get</span></span></p>
<pre>shahid@shahid-laptop:~$ sudo apt-get install emerald</pre>
<p><span style="color: #000000">After installation is over download <strong>MacOS X Emerald theme</strong> from <a href="http://gnome-look.org/content/show.php/Mac4Lin+Leopard+Emerald+Theme?content=68409">this</a>  link : <a href="http://gnome-look.org/content/show.php/Mac4Lin+Leopard+Emerald+Theme?content=68409">http://gnome-look.org/content/show.php/Mac4Lin+Leopard+Emerald+Theme?content=68409</a></span></p>
<p><span style="color: #000000">Now open (<span style="font-weight: bold">System -&gt; Preferences -&gt; Emerald Theme Manager </span>)</span></p>
<p><span style="color: #000000">After Emerald theme manager opens click on import and point to the downloaded theme package from withing the Theme Manager , you will find Mac4Lin Theme listed select the theme , click on refresh and quit the application</span></p>
<p><a href="http://shahidz.com/wp-content/uploads/2008/06/screenshot-9.png" title="Emerald Theme"><img src="http://shahidz.com/wp-content/uploads/2008/06/screenshot-9.png" alt="Emerald Theme" /></a></p>
<p><strong> Mav like Dock with Avant Navigator</strong><span style="font-weight: bold"><span style="font-weight: bold; font-size: 130%"></span></span></p>
<p><span style="font-weight: bold"><span style="font-weight: bold; font-size: 130%"></span></span>After the above steps Install Avant Window Navigator.</p>
<p><span style="color: #000000">Avant Windows Navigator is cool little tool that allows you to have a cute looking dock at the bottom of the screen . Even though AWN is still very buggy, still because it is so feature rich and cool looking you could install it .</span><adsense></adsense></p>
<p>To install AWN you need to <span style="color: #990000">add extra repositories, now adding any additional repository carries certain amount of risk of screwing up your system </span>so follow these step at your own risk.</p>
<p>To add  repository:</p>
<pre>shahid@shahid-laptop:~$ echo "deb  http://ppa.launchpad.net/awn-testing/ubuntu hardy main" | sudo tee -a /etc/apt/sources.list
shahid@shahid-laptop:~$ echo "deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main" | sudo tee -a /etc/apt/sources.list</pre>
<p>After issuing above command type the following command to update your repositories :</p>
<pre>shahid@shahid-laptop:~$ sudo apt-get update</pre>
<p>and finally to install AWN issue the following command in the terminal window :</p>
<pre>shahid@shahid-laptop:~$ sudo apt-get install awn-manager-trunk awn-extras-applets-trunk</pre>
<p><span style="color: #000000">Now after completing above mentioned steps AWN should be properly installed ,  To Launch AWN go to (<span style="font-weight: bold">Applications -&gt; Accessories -&gt; Avant Window Navigator </span>) </span><span style="color: #000000"><br />
Now you could customize AWN by choosing to add more applets , configuring 3D effects for AWN etc by going to AWN Manager ( </span><span style="font-weight: bold; color: #000000">System -&gt; Preferences -&gt; Awn Manager </span><span style="color: #000000">)</span></p>
<p><a href="http://shahidz.com/wp-content/uploads/2008/06/screenshot-2.png" title="Install Theme"><br />
</a></p>
<p><a href="http://shahidz.com/wp-content/uploads/2008/06/awan_manager.png" title="Awan Manager"><img src="http://shahidz.com/wp-content/uploads/2008/06/awan_manager.png" alt="Awan Manager" /></a></p>
<p><span style="color: #000000">Though the theme which AWN comes with preinstalled is also good , you might like to try this it&#8217;s cool and very Mac like </span><br />
<a href="http://rapidshare.com/files/71511920/Transparent.tgz.html" style="color: #000000">http://rapidshare.com/files/71511920/Transparent.tgz.html</a><br />
<span style="color: #000000">you could install this theme through AWN Manager go to <span style="font-weight: bold">(System-&gt;Preferences-&gt;AWN manager</span>) and go to themes there and click on &#8220;Add&#8221; and point it to the downloaded theme.</span></p>
<p><a href="http://shahidz.com/wp-content/uploads/2008/06/awan_theme.png" title="Awm Theme"><img src="http://shahidz.com/wp-content/uploads/2008/06/awan_theme.png" alt="Awm Theme" /></a></p>
<p>You will see a confirmation dialog box that theme has been added properly. Close AWN Manager and start it again and chose the theme just installed and press apply button to make this theme default theme of AWN.<span style="font-weight: bold"><br />
This is how my AWN Dock looks(with the above theme installed) like : -</span></p>
<p><a href="http://shahidz.com/wp-content/uploads/2008/06/dock.png" title="Dock"><img src="http://shahidz.com/wp-content/uploads/2008/06/dock.png" alt="Dock" /></a></p>
<p><a href="http://shahidz.com/wp-content/uploads/2008/06/screenshot-5.png" title="Icons"></a><span style="font-size: 130%"><span style="font-weight: bold"></span></span></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fshahidz.com%2Fubuntu-804-desktop-to-look-like-mac-os-x%2F&amp;linkname=Ubuntu%208.04%20Desktop%20to%20look%20like%20Mac%20OS%20X"><img src="http://shahidz.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://shahidz.com/ubuntu-804-desktop-to-look-like-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Make Webcam Woking On HP Pavilion dv2000</title>
		<link>http://shahidz.com/webcam-woking-on-ph-pavilion-dv2000/</link>
		<comments>http://shahidz.com/webcam-woking-on-ph-pavilion-dv2000/#comments</comments>
		<pubDate>Sat, 24 May 2008 07:07:02 +0000</pubDate>
		<dc:creator>Shahid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Micellanious]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[dv2000]]></category>
		<category><![CDATA[ekiga]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[linux-uvc]]></category>
		<category><![CDATA[web cam]]></category>
		<category><![CDATA[xawtv]]></category>

		<guid isPermaLink="false">http://shahidz.com/?p=25</guid>
		<description><![CDATA[Well, webcam started working on Ubuntu in my HP Pavilion dv2000 model.
Here is the details of what did to get the webcam running on  using Ubuntu.
$ svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/
$ cd linux-uvc/linux-uvc/trunk/
$ make
$ sudo make install
$ modprobe uvcvideo
Tested with &#8216;ekiga &#8216; and &#8216;xawtv&#8217;
]]></description>
			<content:encoded><![CDATA[<p>Well, webcam started working on Ubuntu in my HP Pavilion dv2000 model.</p>
<p>Here is the details of what did to get the webcam running on  using Ubuntu.</p>
<pre>$ svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/
$ cd linux-uvc/linux-uvc/trunk/
$ make
$ sudo make install
$ modprobe uvcvideo</pre>
<p>Tested with &#8216;ekiga &#8216; and &#8216;xawtv&#8217;</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fshahidz.com%2Fwebcam-woking-on-ph-pavilion-dv2000%2F&amp;linkname=Make%20Webcam%20Woking%20On%20HP%20Pavilion%20dv2000"><img src="http://shahidz.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://shahidz.com/webcam-woking-on-ph-pavilion-dv2000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>404 Error &#8211; File Not Found</title>
		<link>http://shahidz.com/custom-404-error-page-file-not-found/</link>
		<comments>http://shahidz.com/custom-404-error-page-file-not-found/#comments</comments>
		<pubDate>Fri, 23 May 2008 16:25:51 +0000</pubDate>
		<dc:creator>Shahid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Micellanious]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[cferror]]></category>
		<category><![CDATA[error page]]></category>
		<category><![CDATA[file not found]]></category>
		<category><![CDATA[rewriteengine]]></category>
		<category><![CDATA[rewriterule]]></category>

		<guid isPermaLink="false">http://shahidz.com/?p=24</guid>
		<description><![CDATA[The 404 or Not Found error message is an HTTP standard response code indicating that the client was able to communicate with the server but either the server could not find what was requested, or it was configured not to fulfill the request and not reveal the reason why. 404 errors should not be confused [...]]]></description>
			<content:encoded><![CDATA[<p>The <strong>404</strong> or <strong>Not Found</strong> <a href="http://en.wikipedia.org/wiki/Error_message" title="Error message">error message</a> is an <a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol" title="Hypertext Transfer Protocol">HTTP</a> <a href="http://en.wikipedia.org/wiki/List_of_HTTP_status_codes" title="List of HTTP status codes">standard response code</a> indicating that the <a href="http://en.wikipedia.org/wiki/Web_Browser" class="mw-redirect" title="Web Browser">client</a> was able to communicate with the server but either the server could not find what was requested, or it was configured not to fulfill the request and not reveal the reason why. 404 errors should not be confused with &#8220;<a href="http://en.wikipedia.org/wiki/Web_server" title="Web server">server</a> not found&#8221; or similar errors, in which a connection to the destination server cannot be made at all.</p>
<p>If you request a non existent page on a server .It will not show up your normal Apache custom 404 page.</p>
<p>A trick to show a custom page ( eg: cferror.cfm ) when a non existant cfm page is accessed. This can be done with the <strong>.htaccess</strong> file. <strong>.htaccess</strong>                is a regular text file that contains &#8220;scripts&#8221; that allow                you to override certain things on your server &#8211; like creating a                custom 404 error document that replaces the server&#8217;s default 404                document.</p>
<p><strong>Method 1</strong></p>
<p>To be able to create your own 404 error document, first you need                to create the actual document (use your HTML editor of choice or                hand code it if you like), upload the document to the root directory                on your server, and finally include the following in your document root <strong>.htaccess</strong>                file:</p>
<pre>ErrorDocument 404 http://www.yourdomain.com/404.html</pre>
<ul></ul>
<p><strong> Method 2</strong></p>
<p>Add the following entry to the .htaccess file in your DocumentRoot</p>
<pre>RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /cferror.cfm?%{REQUEST_URI}</pre>
<p>All request to the non existent pages are passed to cferror.cfm page with the requested URL as argument.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fshahidz.com%2Fcustom-404-error-page-file-not-found%2F&amp;linkname=404%20Error%20%26%238211%3B%20File%20Not%20Found"><img src="http://shahidz.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://shahidz.com/custom-404-error-page-file-not-found/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing VMWare Server on Ubuntu 8.04</title>
		<link>http://shahidz.com/installing-vmware-server-on-ubuntu-804-hardy/</link>
		<comments>http://shahidz.com/installing-vmware-server-on-ubuntu-804-hardy/#comments</comments>
		<pubDate>Mon, 19 May 2008 17:17:25 +0000</pubDate>
		<dc:creator>Shahid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Micellanious]]></category>
		<category><![CDATA[Hardy vmware-server]]></category>
		<category><![CDATA[Ubuntu 8.04]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://shahidz.com/?p=22</guid>
		<description><![CDATA[Indroduction
VMWare is a Virtual Machine used for installing an Operating system inside another Operating System. After installing VMWare on any operating system, we can start VMWare which will act as a system. We can install operating systems in VMWare so that we can switch to other OS very easly,  we don&#8217;t need to restart our [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Indroduction</strong></p>
<p>VMWare is a Virtual Machine used for installing an Operating system inside another Operating System. After installing VMWare on any operating system, we can start VMWare which will act as a system. We can install operating systems in VMWare so that we can switch to other OS very easly,  we don&#8217;t need to restart our system, we can work oon both OS at the same time.</p>
<p><strong>My Experience</strong></p>
<p>The VMWare Virtual Machine is one of my favorite software, which I was used on Ubuntu 7.04 Gutsy. It is very easy to install VMWare on Ubuntu 7.04.</p>
<pre>$ apt-get install vmware-server</pre>
<p>But after installing Ubuntu 8.04 Hardy and other essintial libraries and importan packages in my system. When I seached the package &#8216;vmware-server&#8217; using apt-cache search, there is no package like this. So I added the repository to sourcess.list which is used by Ubuntu 7.04 for installing VMWare. After that the package &#8216;vmware-server&#8217; was listed. When I tried to install the pakage &#8216;vmware-server&#8217; using &#8216;apt-get install&#8217;, it show some error regarding linux-kernal-module. After that I tried to install VMWare using source code, but it also produce the same error.</p>
<p>Then I searche the web for any help, luckily I got an helpful stuff. Then I successfully installed vmware-server on Ubuntu 8.04.</p>
<p>If you are facing the same issue, then here is the full guide to install VMware Server and get it working in Hardy Heron:<br />
<strong>Installing VMWare Server on Ubuntu 8.04 Hardy</strong></p>
<p>Download <a href="http://www.vmware.com/download/server/" title=" VMware Server 1.0.5">VMware Server 1.0.5</a> to your home folder</p>
<p>Download the patch file <a href="http://groups.google.com/group/vmkernelnewbies/files" title="vmware-any-any-update-116.tgz">vmware-any-any-update-116.tgz</a> to your home folder.</p>
<p>Extract the Vmware-server-1.0.5-80187.tar.gz to your home folder (either via Archive manager or type tar zxf Vmware-server-1.0.5-80187.tar.gz in the terminal)</p>
<p>Extract the vmware-any-any-update-116.tgz to your home folder (either via Archive Manager or type tar zxf vmware-any-any-update-116.tgz in the terminal)</p>
<p><strong>Install the necessary dependencies</strong><br />
<strong><br />
</strong></p>
<pre>$ sudo apt-get install linux-headers-`uname -r` build-essential
$ sudo apt-get install xinetd gcc-3.4</strong></pre>
<p>If you are using 64 bits system, you have to install the additional files</p>
<pre>$sudo apt-get install ia32-libs</pre>
<p><strong>Run the VMware Server installer</strong></p>
<pre>$ cd vmware-server-distrib
$ sudo ./vmware-install.pl</strong></pre>
<p>You will be prompted to answer some questions. Press ‘Enter’ to select the default answer. <strong>When it reaches the point that requires you to run vmware-config.pl, type ‘No‘</strong>. The installer will exit.</p>
<p>Next, apply the patch</p>
<pre>
$ cd vmware-any-any-update116
$ sudo ./runme.pl</pre>
<p>This time, press ‘Enter’ for all the questions and enter ‘Yes‘ to run the vmware-comfig.pl.</p>
<p>Once it has finished compiling, you should now see the VMware console in your Applications-&gt;System Tools. If not, you can start VMware Server by typing vmware in the terminal.</p>
<p>When you launch the application, it might generate an error message saying that it can’t find the cairo version. No worry, just copy the files over and it will work.</p>
<pre>$ sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/
$ sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/</pre>
<p>For 64 bit users</p>
<pre>$ sudo ln -s /usr/lib32 /usr/l32
$  sed -i -e ’s/usr\/lib/usr\/l32/g’ /usr/lib32/gtk-2.0/2.10.0/loader-files.d/libgtk2.0-0.loaders
$ sudo sed -i -e ’s/usr\/lib/usr\/l32/g’ /usr/lib32/libgdk_pixbuf-2.0.so.0.1200.9</pre>
<p>That’s it. Your VMware Server should be working now.</p>
<pre>$ vmware</pre>
<p>  </p>
<p>Goto Applications -&gt;  System Tools -&gt; VMWare Server Console</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fshahidz.com%2Finstalling-vmware-server-on-ubuntu-804-hardy%2F&amp;linkname=Installing%20VMWare%20Server%20on%20Ubuntu%208.04"><img src="http://shahidz.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://shahidz.com/installing-vmware-server-on-ubuntu-804-hardy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Experiances With Fedora, Ubuntu, OpenSolaris</title>
		<link>http://shahidz.com/my-experiances-with-fedora-ubuntu-opensolaris/</link>
		<comments>http://shahidz.com/my-experiances-with-fedora-ubuntu-opensolaris/#comments</comments>
		<pubDate>Sat, 10 May 2008 11:56:42 +0000</pubDate>
		<dc:creator>Shahid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Micellanious]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[experiance]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://shahidz.com/?p=21</guid>
		<description><![CDATA[The first Linux OS I used is Fedora and RedHat when I was doing my PG. Most of the machines in our college is running Fedora and after two three days I will be comfortable with the new OS. At the time of computer lab and free times I used to do some other things [...]]]></description>
			<content:encoded><![CDATA[<p>The first Linux OS I used is Fedora and RedHat when I was doing my PG. Most of the machines in our college is running Fedora and after two three days I will be comfortable with the new OS. At the time of computer lab and free times I used to do some other things like installing some packages and other things. Almost two years I used Fedora. Because it is a community product it is not stable, there are many bugs. Even though I used Fedora I also tried Ubuntu. Ubuntu is much better than fedora and it is also free.</p>
<p>After I got the job as Server Administrator, the company server were running on Ubuntu Servers. So for the last 6 months I am using ubuntu. And there is not much differences in the file system. Only some differences in some command for example we use &#8216;yum&#8217; command to install any thing in fedora and &#8216;apt-get, &#8216;aptitude&#8217; command to install any thing in Ubuntu.I did&#8217;nt find any big difficulties in using Ubuntu, ofcource there are lots of help if we go online. Last two weeks back I installed Ubuntu 8.04 in my laptop, it is quite good.</p>
<p>Last week I got an iso image of OpenSolaris and I installed OpenSolaris in the VMWare virtual machine. Solaris is one of the best OSin the world and it is stable. First I installed apache, mysql and PHP in the Solaris machine. I used the command &#8216;pkg-get&#8217; to install these packages. In Fedora and Ubuntu the configuration files of installed pakages where stored in the location /etc/. But for OpenSolaris the configuration files where stored in the location /opt/csf/etc.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fshahidz.com%2Fmy-experiances-with-fedora-ubuntu-opensolaris%2F&amp;linkname=My%20Experiances%20With%20Fedora%2C%20Ubuntu%2C%20OpenSolaris"><img src="http://shahidz.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://shahidz.com/my-experiances-with-fedora-ubuntu-opensolaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running ASP.NET applications on Ubuntu using Mono</title>
		<link>http://shahidz.com/runnibg-aspnet-applications-on-ubuntu/</link>
		<comments>http://shahidz.com/runnibg-aspnet-applications-on-ubuntu/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 07:08:39 +0000</pubDate>
		<dc:creator>Shahid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Micellanious]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[asp linux]]></category>
		<category><![CDATA[asp.net. asp.net on linux]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[xsp]]></category>
		<category><![CDATA[xsp1]]></category>
		<category><![CDATA[xsp2]]></category>

		<guid isPermaLink="false">http://shahidz.com/?p=19</guid>
		<description><![CDATA[What is Mono ?
Mono provides the necessary software to develop and run .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix.  Sponsored by Novell (http://www.novell.com), the Mono open source project has an active and enthusiastic contributing community and is positioned to become the leading choice for development of Linux [...]]]></description>
			<content:encoded><![CDATA[<p><strong>What is Mono ?</strong></p>
<p>Mono provides the necessary software to develop and run <strong>.NET</strong> client and server applications on <strong>Linux</strong>, <strong>Solaris</strong>, <strong>Mac OS X</strong>, <strong>Windows</strong>, and <strong>Unix</strong>.  Sponsored by <a href="http://www.novell.com/" class="external" title="http://www.novell.com" rel="nofollow">Novell</a><span class="urlexpansion"> (<em>http://www.novell.com</em>)</span>, the Mono open source project has an active and enthusiastic contributing community and is positioned to become the leading choice for development of Linux applications.</p>
<p><strong>Introduction</strong></p>
<p>The ASP.NET development environment on Ubuntu Linux is called XSP. This is a simple webserver written in C# that can be used for either ASP.NET 1.0 or 2.0 applications. You can install both environments side by side if need be.</p>
<p><strong>Requirements</strong></p>
<p>Monodevelop is probably the best IDE for developing .NET applications on Linux. In order to install and use it for development, you will also need the Mono .NET runtime environment installed. Thankfully, installing monodevelop and mono are very simple on Ubuntu.</p>
<p>Run this command from a Terminal window:</p>
<p>$ sudo apt-get install mono mono-gmcs mono-gac mono-utils monodevelop monodoc-browser monodevelop-nunit monodevelop-versioncontrol<br />
<strong>ASP.NET 1.0</strong></p>
<blockquote><p>$ sudo apt-get install mono-xsp mono-xsp-base</p>
<p>$ sudo apt-get install asp.net-examples</p></blockquote>
<p>This will install the development environment along with some sample applications. To run the sample applications, you will launch the XSP process and point it at the samples. You&#8217;d simply modify the path to run an application that you&#8217;ve created.</p>
<p>$ xsp –root /usr/share/asp.net-demos/</p>
<p>Listening on port: 8080 (non-secure)<br />
Listening on address: 0.0.0.0<br />
Root directory: /usr/share/asp.net-demos<br />
Hit Return to stop the server.</p>
<p><strong> ASP.NET 2.0</strong></p>
<blockquote><p>$ sudo apt-get install mono-xsp2 mono-xsp2-base</p>
<p>$ sudo apt-get install asp.net2-examples</p></blockquote>
<p>This will install the development environment along with some sample applications. To run the sample applications, you will launch the XSP process and point it at the samples. You&#8217;d simply modify the path to run an application that you&#8217;ve created.</p>
<p>$ xsp2 –root /usr/share/asp.net2-demos/</p>
<p>Listening on port: 8080 (non-secure)<br />
Listening on address: 0.0.0.0<br />
Root directory: /usr/share/asp.net-demos<br />
Hit Return to stop the server.</p>
<p>At this point, you&#8217;d want to navigate in your browser to <a href="http://localhost:8080/">http://localhost:8080/</a> and you should see a page similar to this:</p>
<p><a href="http://shahidz.com/?attachment_id=20" rel="attachment wp-att-20" title="image04.png"><img src="http://shahidz.com/wp-content/uploads/2008/04/image04.png" alt="image04.png" /></a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fshahidz.com%2Frunnibg-aspnet-applications-on-ubuntu%2F&amp;linkname=Running%20ASP.NET%20applications%20on%20Ubuntu%20using%20Mono"><img src="http://shahidz.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://shahidz.com/runnibg-aspnet-applications-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mount Amazon S3 bucket to a Local Linux File System</title>
		<link>http://shahidz.com/mounting-amazon-s3-bucket-to-a-local-linux-file-system/</link>
		<comments>http://shahidz.com/mounting-amazon-s3-bucket-to-a-local-linux-file-system/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 07:52:35 +0000</pubDate>
		<dc:creator>Shahid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Micellanious]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[S3-Backup]]></category>
		<category><![CDATA[s3fs]]></category>

		<guid isPermaLink="false">http://shahidz.com/?p=17</guid>
		<description><![CDATA[FUSE-based file system backed by Amazon S3 
Amazon S3 Indroduction
&#160;
Amazon s3 is a remote file storing system. It is totally different from Normal Servers like Apache, FTP server etc. If your site burns more bandwidth due to backups or multimedia contents such a video, image, audio etc, the maintenance cost will be very high. For [...]]]></description>
			<content:encoded><![CDATA[<p><strong>FUSE-based file system backed by Amazon S3 </strong></p>
<p><u><strong>Amazon S3 Indroduction</strong></u></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span class="hilite">Amazon</span> <span class="hilite">s3</span> is a remote file storing system. It is totally different from Normal Servers like Apache, FTP server etc. If your site burns more bandwidth due to backups or multimedia contents such a video, image, audio etc, the maintenance cost will be very high. For a limited number of page views, local file saving mechanism is ok. Because the cost of bandwidth is comparatively low. But when the data transfer rate become higher, the bandwidth cost should be considered.</p>
<p class="MsoNormal">In such a case instead of saving files or images in local servers, You can use <span class="hilite">Amazon</span> s3 server (<span class="hilite">S3</span> stands for Simple Storage Service). For this you have do two things</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in"><!--[if !supportLists]-->1)      <!--[endif]-->Register on <a href="http://www.amazon.com/gp/browse.html?node=16427261">http://www.<span class="hilite">amazon</span>.com/gp/browse.html?node=16427261</a></p>
<p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in"><!--[if !supportLists]-->2)      <!--[endif]-->Use  api for uploading your files into <span class="hilite">s3 for web applications<br />
</span></p>
<p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in">3) Mount  Amazon S3 bucket and use as a local file system for backups.</p>
<p><u><strong>S3fs Indroduction</strong></u></p>
<p><a id="Overview"><strong>s3fs</strong> is a </a>FUSE (<strong>Filesystem in Userspace</strong>) filesystem that allows you to mount an Amazon S3 bucket as a local filesystem. It stores files natively and transparently in S3 (i.e., you can use other programs to access the same files). Maximum file size=5G.Its quite useful and stable, e.g., can be used to easily copy daily backup tarballs to s3</p>
<p>To use it:</p>
<ol>
<li>get an amazon s3 account</li>
<li>download the source, <a href="http://shahidz.com/wp-content/uploads/2008/04/s3fs-r130-source.tar.gz" title="s3fs-r130-source.tar.gz">s3fs-r130-source.tar.gz</a> (I&#8217;ve used Ubuntu 7.10 ) and slap the binary in, say, /usr/bin/s3fs
<ol>
<li> you&#8217;ll need at least fuse-2.6</li>
<li> for fedora probably need to do: <strong>yum install fuse-devel</strong></li>
<li> for ubuntu probably need to do something like: <strong>sudo apt get fuse-libs</strong></li>
<li>I got one dependency libcurl-dev, libxml2-dev libfuse-dev ( <strong>sudo apt-get install libcurl4-openssl-dev libxml2-dev  libfuse-dev</strong> )</li>
</ol>
</li>
<li>Installation
<ol>
<li>$ sudo tar -xzvf s3fs-r130-source.tar.gz</li>
<li>$ cd s3fs</li>
<li>$ sudo make</li>
<li>$ sudo make install</li>
</ol>
</li>
<li>Mounting Amazon S3 Bucket</li>
</ol>
<pre>$ sudo /usr/bin/s3fs mybucket -o accessKeyId=myaccessKeyId -o secretAccessKey=mysecretAccessKey /mnt</pre>
<p>Now you can read / write  files to your bucket using Linux commands.</p>
<p>List the contents in the Bucket mounted to /mnt/ directory</p>
<pre>$ sudo ls /mnt</pre>
<p>s3fs will retry s3 transactions on certain error conditions. The default retry count is 2, i.e., s3fs will make 2 retries per s3 transaction (for a total of 3 attempts: 1st attempt + 2 retries) before giving up. You can set the retry count by using the &#8220;retries&#8221; option, e.g., &#8220;-oretries=2&#8243;</p>
<p><strong>Options</strong></p>
<ul>
<li>    accessKeyId</li>
<li>    secretAccessKey</li>
<li>    defailt_acl ( default=&#8221;private&#8221;)
<ul>
<li>    the default canned acl to apply to all written S3 Onjects</li>
<li>    any created files will have this canned acl</li>
<li>    any updated files will also have this canned acl applied</li>
</ul>
</li>
<li>     prefix (default=&#8221;") (comming soon!)
<ul>
<li>    a prefix to append to all S3 objects</li>
</ul>
</li>
<li>     retries (default=&#8221;2&#8243;)
<ul>
<li>    number of times to retry a failed S3 transaction</li>
</ul>
</li>
<li>use_cache (default=&#8221;" which means disabled)
<ul>
<li>    local folder to use for local files cache</li>
</ul>
</li>
</ul>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fshahidz.com%2Fmounting-amazon-s3-bucket-to-a-local-linux-file-system%2F&amp;linkname=Mount%20Amazon%20S3%20bucket%20to%20a%20Local%20Linux%20File%20System"><img src="http://shahidz.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://shahidz.com/mounting-amazon-s3-bucket-to-a-local-linux-file-system/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ssh-keygen :: SSH Login without Password</title>
		<link>http://shahidz.com/ssh-keygen-ssh-login-with-out-password/</link>
		<comments>http://shahidz.com/ssh-keygen-ssh-login-with-out-password/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 08:12:55 +0000</pubDate>
		<dc:creator>Shahid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Micellanious]]></category>
		<category><![CDATA[digital certificate]]></category>
		<category><![CDATA[ssh-key]]></category>
		<category><![CDATA[ssh-keygen]]></category>

		<guid isPermaLink="false">http://shahidz.com/?p=12</guid>
		<description><![CDATA[Introduction
 SSH is often used to login from one system to another with Username  Password.  There are some cases where we want to login to other systems without spesifing username and password. By generating ssh keys we can login to the system without specifying username and password.
ssh-keygen &#8211; authentication key generation
Syntax 
ssh-keygen  [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p align="justify"> SSH is often used to login from one system to another with Username  Password.  There are some cases where we want to login to other systems without spesifing username and password. By generating ssh keys we can login to the system without specifying username and password.</p>
<h3><strong>ssh-keygen &#8211; authentication key generation</strong></h3>
<p><strong>Syntax </strong></p>
<p><strong>ssh-keygen</strong>  [<strong>-b</strong> <tt>bits</tt>]    [<strong>-f</strong> <tt>file</tt>] [<strong>-N</strong> <tt>new_passphrase</tt>] [<strong>-C</strong> <tt>comment</tt>] <strong>ssh-keygen</strong> <strong>-p</strong> [<strong>-P</strong> <tt>old_passphrase</tt>] [<strong>-N</strong> <tt>new_passphrase</tt>]</p>
<p><strong>ssh-keygen</strong> <strong>-c</strong> [<strong>-P</strong> <tt>passphrase</tt>] [<strong>-C</strong> <tt>comment</tt>]</p>
<p><strong>ssh-keygen</strong> <strong>-u</strong> [<strong>-f</strong> <tt>file</tt>] [<strong>-P</strong> <tt>passphrase</tt>]</p>
<p><strong>Description </strong></p>
<p><strong>Ssh-keygen</strong> generates and manages authentication keys for <a href="http://linuxmafia.com/pub/os2/stahl-ssh/snafu-mirror/ssh.html">ssh</a>. Normally each user wishing to use  <strong>ssh</strong> with RSA authentication runs this once to create the authentication key in <tt>%HOME%/.ssh/identity</tt>. Additionally, the system administrator may use this to generate host keys. Normally this program generates the key and asks for a file in which to store the private key. The public key is stored in a file with the same name but &#8220;.pub&#8221; appended. The program also asks for a passphrase. The passphrase may be empty to indicate no passphrase (host keys must have empty passphrase), or it may be a string of arbitrary length. Good passphrases are 10-30 characters long and are not simple sentences or otherwise easily guessable (English prose has only 1-2 bits of entropy per word, and provides very bad passphrases). The passphrase can be changed later by using the <strong>-p</strong> option.</p>
<p>There is no way to recover a lost passphrase. If the passphrase is lost or forgotten, you will have to generate a new key and copy the corresponding public key to other machines.</p>
<p>USING GOOD, UNGUESSABLE PASSPHRASES IS STRONGLY RECOMMENDED.  EMPTY PASSPHRASES SHOULD NOT BE USED UNLESS YOU UNDERSTAND WHAT YOU ARE DOING.</p>
<p>There is also a comment field in the key file that is only for convenience to the user to help identify the key. The comment can tell what the key is for, or whatever is useful.  The comment is initialized to <tt>user@host</tt> when the key is created, but can be changed using the <strong>-c</strong> option.</p>
<p>The cipher to be used when encrypting keys with passphrase is defined in ssh.h. Using the <strong>-u</strong> option, keys encrypted in any supported cipher can be updated to use this default cipher.</p>
<p><strong>Example for generating ssh-key </strong></p>
<p>Two system with IP addresses 192.168.0.125 and 192.168.0.110</p>
<p>Login to 192.168.0.110 from 192.168.0.125</p>
<pre>$ ssh user@192.168.0.110</pre>
<p>Enter your password</p>
<p>exit</p>
<p>The above login is for checking the connection between two system.</p>
<pre>$ cd ~/.ssh
$ ssh-keygen -t dsa -f id_dsa</pre>
<p>The passphrase should be empty. Press enter twice.</p>
<pre>$ scp id_dsa.pub user@192.168.0.110:~/.ssh/temp.pub</pre>
<p>Now login to system 192.168.0.110</p>
<pre>$ ssh user@192.168.0.110</pre>
<p>Enter Password</p>
<pre>$ cd ~/.ssh
$ cat temp.pub &gt;&gt; authorized_keys2
$ exit</pre>
<p>After all these steps try to login you can login with out specifying the password.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fshahidz.com%2Fssh-keygen-ssh-login-with-out-password%2F&amp;linkname=ssh-keygen%20%3A%3A%20SSH%20Login%20without%20Password"><img src="http://shahidz.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://shahidz.com/ssh-keygen-ssh-login-with-out-password/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Apache URL Rewriting</title>
		<link>http://shahidz.com/apache-url-rewriting/</link>
		<comments>http://shahidz.com/apache-url-rewriting/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 14:12:20 +0000</pubDate>
		<dc:creator>Shahid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Micellanious]]></category>
		<category><![CDATA[Shell Script]]></category>

		<guid isPermaLink="false">http://shahidz.com/?p=11</guid>
		<description><![CDATA[Introduction 
One of the more powerful tricks of the .htaccess is the ability to rewrite URLs. This enables us to do some mighty manipulations on our links; useful stuff like transforming very long URL&#8217;s into short, cute URLs,  redirecting URL to some other URL, transforming dynamic ?generated=page&#38;URL&#8217;s into /friendly/flat/links, redirect missing pages, preventing hot-linking, performing automatic [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction </strong></p>
<p>One of the more powerful tricks of the .htaccess is the ability to rewrite URLs. This enables us to do some mighty manipulations on our links; useful stuff like transforming very long URL&#8217;s into short, cute URLs,  redirecting URL to some other URL, transforming dynamic <span class="urltxt">?generated=page&amp;URL&#8217;s</span> into /friendly/flat/links, redirect missing pages, preventing hot-linking, performing automatic language translation, and much, much more.</p>
<p>When you use rewrite rule you have to enable rewrite module in the apache.conf file and you have to restart apache again.</p>
<p>In Ubuntu you can use a2enmod to enable rewrite mod</p>
<p>#sudo a2enmod rewrite</p>
<p>#sudo /etc/init.d/apache2 restart</p>
<p><strong>begin rewriting&#8230; </strong></p>
<p>First you have to add following lines to the Apache Virtualhost.</p>
<p>&lt;Directory / Your Document Root&gt;<br />
Options FollowSymLinks<br />
AllowOverride all<br />
&lt;/Directory&gt;</p>
<p><strong>Simple rewriting</strong></p>
<p>Simply put, Apache scans all incoming URL requests, checks for matches in our .htaccess file and rewrites those matching URLs to whatever we specify. something like this..</p>
<p class="codetop"><strong>Example 1 :</strong></p>
<p class="codetop"> 			all requests to whatever.htm will be sent to whatever.php:</p>
<p># .htaccess file</p>
<p>Options +FollowSymlinks<br />
RewriteEngine on<br />
RewriteRule ^(.*)\.htm$ $1.php [nc]</p>
<p><strong>Example 2 :</strong></p>
<p>all requests to example.com will be sent to xyz.com</p>
<p># .htaccess file</p>
<p>Options +FollowSymLinks<br />
RewriteEngine On<br />
RewriteBase /</p>
<p># require non-empty HOST header<br />
RewriteCond %{HTTP_HOST} !^$</p>
<p># require case-insensitive HOST to be www.example.net<br />
RewriteCond %{HTTP_HOST} !^www\.example\.net$ [NC]</p>
<p># 301 redirect everything to correct www.example.net<br />
RewriteRule ^(.*)$ http://www.xyz.com/$1 [R=301,L]</p>
<p># or you can use this rewriterule<br />
#RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fshahidz.com%2Fapache-url-rewriting%2F&amp;linkname=Apache%20URL%20Rewriting"><img src="http://shahidz.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://shahidz.com/apache-url-rewriting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Maps API</title>
		<link>http://shahidz.com/google-maps-api/</link>
		<comments>http://shahidz.com/google-maps-api/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 12:38:08 +0000</pubDate>
		<dc:creator>Shahid</dc:creator>
				<category><![CDATA[Micellanious]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[google map API]]></category>
		<category><![CDATA[Google Map Key]]></category>

		<guid isPermaLink="false">http://shahidz.com/?p=7</guid>
		<description><![CDATA[What is the Google Maps API?
The Google Maps API lets you embed Google Maps in your own web pages with JavaScript. The API provides a number of utilities for manipulating maps (just like on the  shahidz.com/map.php  web page) and adding content to the map through a variety of services, allowing you to create [...]]]></description>
			<content:encoded><![CDATA[<p><strong>What is the Google Maps API?</strong></p>
<p>The Google Maps API lets you embed Google Maps in your own web pages with JavaScript. The API provides a number of utilities for manipulating maps (just like on the <a href="http://shahidz.com/map.php"> shahidz.com/map.php </a> web page) and adding content to the map through a variety of services, allowing you to create robust maps applications on your website.</p>
<p>For enabling Google Map in your site you need a key. You can generate the key from this link : <a href="http://code.google.com/apis/maps/signup.html">http://code.google.com/apis/maps/signup.html</a></p>
<p><a href="http://shahidz.com/map.php" target="_blank" title="Google Map API"><img src="http://shahidz.com/wp-content/uploads/2008/02/screenshot-1.png" alt="Google Map API" /></a></p>
<p><strong>Example program for a simple Google Map showing Cochin</strong><br />
&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221;<br />
&#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt;<br />
&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;content-type&#8221; content=&#8221;text/html; charset=utf-8&#8243;/&gt;<br />
&lt;title&gt;Google Maps JavaScript API Example&lt;/title&gt;<br />
&lt;script src=&#8221;http://maps.google.com/maps?file=api&amp;v=2&amp;key=GIVE YOUR GOOGLE MAP API KEY HERE&#8221;<br />
type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;</p>
<p>//&lt;![CDATA[</p>
<p>function load() {<br />
if (GBrowserIsCompatible()) {<br />
var map = new GMap2(document.getElementById("map"));<br />
//        map.setCenter(new GLatLng(37.4419, -122.1419), 13);<br />
//        map.setCenter(new GLatLng(8.81355,77.335328), 7);<br />
map.setCenter(new GLatLng(9.91355,76.335328), 11 );<br />
}<br />
}</p>
<p>//]]&gt;<br />
&lt;/script&gt;<br />
&lt;/head&gt;<br />
&lt;body onload=&#8221;load()&#8221; onunload=&#8221;GUnload()&#8221;&gt;<br />
&lt;div id=&#8221;map&#8221; style=&#8221;width: 500px; height: 500px&#8221;&gt;&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fshahidz.com%2Fgoogle-maps-api%2F&amp;linkname=Google%20Maps%20API"><img src="http://shahidz.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://shahidz.com/google-maps-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
