<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>World of *Nix &#187; ubuntu</title>
	<atom:link href="http://www.lavluda.com/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lavluda.com</link>
	<description>by S. M. Ibrahim (lavluda)</description>
	<lastBuildDate>Sun, 16 May 2010 16:23:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.5.3" -->
	<copyright>Copyright &#xA9; 2010 World of *Nix </copyright>
	<managingEditor>lavluda@yahoo.com</managingEditor>
	<webMaster>lavluda@yahoo.com</webMaster>
	<category>posts</category>
	<image>
		<url>http://www.lavluda.com/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>World of *Nix &#187; ubuntu</title>
		<link>http://www.lavluda.com</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>by S. M. Ibrahim (lavluda)</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &amp; Culture" />
	<itunes:author></itunes:author>
	<itunes:owner>
		<itunes:name></itunes:name>
		<itunes:email>lavluda@yahoo.com</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://www.lavluda.com/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Website Optimization 01: disable ETag in apache (debian/ubuntu)</title>
		<link>http://www.lavluda.com/2008/10/20/website-optimization-01-disable-etag-in-apache-debianubuntu/</link>
		<comments>http://www.lavluda.com/2008/10/20/website-optimization-01-disable-etag-in-apache-debianubuntu/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 15:27:54 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Debian GNU/Linux]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Helps]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming Help]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[somewherein...]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[ETag]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server optimization]]></category>
		<category><![CDATA[server performance]]></category>
		<category><![CDATA[somewhereinblog]]></category>

		<guid isPermaLink="false">http://www.lavluda.com/?p=230</guid>
		<description><![CDATA[From last few months i am working to optimize our somewhereinblog.net server, because right now we are getting huge amount of hits everyday (1,00,000 + hits). In this series i will describe the tricks that i learned On my first post of this searies i will talk about ETag. Before disable this, first we need [...]


Related posts:<ol><li><a href='http://www.lavluda.com/2009/08/28/download-iphone-sdk-using-wget/' rel='bookmark' title='Permanent Link: Download iPhone SDK using wget'>Download iPhone SDK using wget</a> <small>If you are using slow connection like me and trying...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>From last few months i am working to optimize our somewhereinblog.net server, because right now we are getting huge amount of hits everyday (1,00,000 + hits). In this series i will describe the tricks that i learned <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><br class="spacer_" /></p>
<p>On my first post of this searies i will talk about ETag. Before disable this, first we need to know what is ETags. From wikipedia:</p>
<blockquote><p>An <strong>ETag</strong> (entity tag) is an <a title="Hypertext Transfer Protocol" href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">HTTP</a> response header returned by an HTTP/1.1 compliant <a title="Web server" href="http://en.wikipedia.org/wiki/Web_server">web server</a> used to determine change in content at a given <a title="Uniform Resource Locator" href="http://en.wikipedia.org/wiki/Uniform_Resource_Locator">URL</a>. When a new HTTP response contains the same ETag as an older HTTP response, the contents are determined to be the same without further downloading. The header is useful for intermediary devices that perform <a class="mw-redirect" title="Caching" href="http://en.wikipedia.org/wiki/Caching">caching</a>, as well as for client <a class="mw-redirect" title="Web browsers" href="http://en.wikipedia.org/wiki/Web_browsers">web browsers</a> that cache results. One method of generating the ETag is based on the last modified time of the file and the size of the file.</p>
<p>In certain situations, ETags may not improve the performance of a web application. For instance, some ETag generation schemes incorporate the file&#8217;s <a title="Inode" href="http://en.wikipedia.org/wiki/Inode">inode</a> on the system. The file&#8217;s inode is unique to the file only on one specific machine. If a site has multiple servers, each with its own copy of the file (i.e. <a title="Load balancing" href="http://en.wikipedia.org/wiki/Load_balancing">load balancing</a>), then a user&#8217;s request for the same file may get served by a different machine. In that case, the inode will almost certainly be different and, if it is used to generate the ETag, it will cause the file to be re-downloaded.</p></blockquote>
<p>So, this is not always helpfull for all type of sites. Always remember, if you are not using anything, you should not enable or kept enable on server.</p>
<p>Apache by default enable this ETags. We need to disable this to get better performance. Here i am describing the steps for debian and ubuntu linux.</p>
<p>We will take help from mod_header to disable ETags, so first we need to enable the mod_header (apache module)</p>
<p>sudo a2enmod header</p>
<p>sudo /etc/init.d/apache2 restart</p>
<p>this command will enable mod_header. Now open /etc/apache2/apache2.conf with your faviourate browser.</p>
<p>sudo nano /etc/apache2/apache2.conf</p>
<p>then paste the under given code to this apache2.conf file</p>
<pre>Header unset ETag
FileETag None</pre>
<p>now restart the apache2, and check if it working or not. If every thing OK, then you will not see the etags anymore <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For better understanding i am giving you 2 screenshots.</p>
<p>Before ETag disable</p>
<p><br class="spacer_" /></p>
<p><a href="http://www.lavluda.com/wp-content/uploads/2008/10/beforeetagsdisable.png"><img class="alignnone size-medium wp-image-231" title="before etags disable" src="http://www.lavluda.com/wp-content/uploads/2008/10/beforeetagsdisable-300x178.png" alt="" width="300" height="178" /></a></p>
<p>After ETag disable:</p>
<p><a href="http://www.lavluda.com/wp-content/uploads/2008/10/afteretagsdisable.png"><img class="alignnone size-medium wp-image-232" title="after etag disable" src="http://www.lavluda.com/wp-content/uploads/2008/10/afteretagsdisable-300x194.png" alt="" width="300" height="194" /></a></p>
<p><br class="spacer_" /></p>
<p>If you don&#8217;t have root access to server, you still can do this from .htaccess , just copy that code to .htaccess instate of apache conf file.</p>
<p>Ask me if you have any question or problem about ETag.</p>
number of view: 2399<img src="http://www.lavluda.com/?ak_action=api_record_view&id=230&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.lavluda.com/2009/08/28/download-iphone-sdk-using-wget/' rel='bookmark' title='Permanent Link: Download iPhone SDK using wget'>Download iPhone SDK using wget</a> <small>If you are using slow connection like me and trying...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2008/10/20/website-optimization-01-disable-etag-in-apache-debianubuntu/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>using ubunt ? need non-free software ?</title>
		<link>http://www.lavluda.com/2008/04/04/using-ubunt-need-non-free-software/</link>
		<comments>http://www.lavluda.com/2008/04/04/using-ubunt-need-non-free-software/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 06:18:07 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Helps]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[codecs]]></category>
		<category><![CDATA[repository]]></category>

		<guid isPermaLink="false">http://www.lavluda.com/?p=217</guid>
		<description><![CDATA[http://www.medibuntu.org


Related posts:<ol><li><a href='http://www.lavluda.com/2009/08/28/download-iphone-sdk-using-wget/' rel='bookmark' title='Permanent Link: Download iPhone SDK using wget'>Download iPhone SDK using wget</a> <small>If you are using slow connection like me and trying...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>today i passed some time tune my ubuntu gutsy (7.10). at the time of searching on the google i found www.medibuntu.org <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . from that site:</p>
<blockquote><p><strong>Medibuntu (Multimedia, Entertainment &amp; Distractions In Ubuntu) is a repository of packages that cannot be included into the Ubuntu distribution for legal reasons (copyright, license, patent, etc).</strong></p></blockquote>
<p>their package collection is so interesting. they have:</p>
<ul>
<li>acrobat reader</li>
<li>w32codecs (also w64codecs)</li>
<li>googleearth</li>
<li>skype</li>
<li>etc <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
</ul>
<p>isn&#8217;t it interesting  ?</p>
<p>before getting this site, i was really missing my favourite &#8220;w32codecs&#8221;</p>
<p>to use this repository you have to run these commands (it&#8217;s too simple)</p>
<p>first get the repository address:</p>
<pre>sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list

then add the gpg key to trusted keyring (so that you will not get warning each time you do something with apt)

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - &amp;&amp; sudo apt-get update

too simple !!

thanks www.medibuntu.org for there hard work , to make life more easy <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </pre>
number of view: 1485<img src="http://www.lavluda.com/?ak_action=api_record_view&id=217&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.lavluda.com/2009/08/28/download-iphone-sdk-using-wget/' rel='bookmark' title='Permanent Link: Download iPhone SDK using wget'>Download iPhone SDK using wget</a> <small>If you are using slow connection like me and trying...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2008/04/04/using-ubunt-need-non-free-software/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>install imagemagick support to your debian/ubuntu server</title>
		<link>http://www.lavluda.com/2008/02/02/install-imagemagick-support-to-your-debianubuntu-server/</link>
		<comments>http://www.lavluda.com/2008/02/02/install-imagemagick-support-to-your-debianubuntu-server/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 14:02:16 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Debian GNU/Linux]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.lavluda.com/2008/02/02/install-imagemagick-support-to-your-debianubuntu-server/</guid>
		<description><![CDATA[imagemagick is one of the best library to work with image. recently i have to install it to our production server. here is what i did: $ apt-get install imagemagick it downloads the package and all it&#8217;s dependences from debian/ubuntu repository, and installed. now i have to install the support of php (as our product [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>imagemagick is one of the best library to work with image. recently i have to install it to our production server. here is what i did:</p>
<p><code>$ apt-get install imagemagick</code></p>
<p>it downloads the package and all it&#8217;s dependences from debian/ubuntu repository, and installed. now i have to install the support of php (as our product running on php)</p>
<p><code>$ apt-get install php5-imagick </code></p>
<p>then i restarted the apache server to take effect this new package installation. if your using php4 then the package name should be php4-imagick</p>
<p><code>$ /etc/init.d/apache2 restart</code></p>
<p>that&#8217;s all <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>if you need imagemagick for your ruby , you can install the librmagick-ruby package.</p>
number of view: 3488<img src="http://www.lavluda.com/?ak_action=api_record_view&id=119&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2008/02/02/install-imagemagick-support-to-your-debianubuntu-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>mount your windows partition with write permission</title>
		<link>http://www.lavluda.com/2007/10/19/mount-your-windows-partition-with-write-permission/</link>
		<comments>http://www.lavluda.com/2007/10/19/mount-your-windows-partition-with-write-permission/#comments</comments>
		<pubDate>Fri, 19 Oct 2007 09:50:58 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Helps]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lavluda.com/2007/10/19/mount-your-windows-partition-with-write-permission/</guid>
		<description><![CDATA[I always get question from new linux users how to mount windows partition with read/write permission. That&#8217;s why writing this post&#8230; to mount your other partition in linux, first you have to know what is there physical address. you can get this by: ibrahim@lavluda:~$ su Password: lavluda:/home/ibrahim# fdisk -l Disk /dev/sda: 120.0 GB, 120034123776 bytes [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I always get question from new linux users how to mount windows partition with read/write permission. That&#8217;s why writing this post&#8230;</p>
<p>to mount your other partition in linux, first you have to know what is there physical address. you can get this by:</p>
<blockquote><p>ibrahim@lavluda:~$ su<br />
Password:<br />
lavluda:/home/ibrahim# fdisk -l</p>
<p>Disk /dev/sda: 120.0 GB, 120034123776 bytes<br />
255 heads, 63 sectors/track, 14593 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>   Device Boot      Start         End      Blocks   Id  System<br />
/dev/sda1   *           1        3270    26266243+   c  W95 FAT32 (LBA)<br />
/dev/sda2            3271        3513     1951897+  82  Linux swap / Solaris<br />
/dev/sda3            3514        5945    19535040   83  Linux<br />
/dev/sda4            5946       14593    69465060    f  W95 Ext&#8217;d (LBA)<br />
/dev/sda5            8108       10247    17189518+   b  W95 FAT32<br />
/dev/sda6           10248       12420    17454591    b  W95 FAT32<br />
/dev/sda7           12421       14593    17454591    b  W95 FAT32<br />
/dev/sda8            5946        8107    17366202   83  Linux</p>
<p>Partition table entries are not in disk order<br />
lavluda:/home/ibrahim#
</p></blockquote>
<p>now open your /etc/fstab with your favourite editor  (i prefer nano for console)<br />
and change according to your need. for batter understand you here is my fstab as example. </p>
<blockquote><p>lavluda:/home/ibrahim#cd /media<br />
lavluda:/home/ibrahim#mkdir c d e f<br />
lavluda:/home/ibrahim# nano /etc/fstab</p>
<p># /etc/fstab: static file system information.<br />
#<br />
# <file system> <mount point>   <type><br />
<options>       <dump>
<pass>
proc            /proc           proc    defaults        0       0<br />
/dev/sda3       /               reiserfs notail          0       1<br />
/dev/sda2       none            swap    sw              0       0<br />
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0<br />
/dev/sda1       /media/c        vfat rw,users,umask=000 0 0<br />
/dev/sda5       /media/d        vfat rw,users,umask=000 0 0<br />
/dev/sda6       /media/e        vfat rw,users,umask=000 0 0<br />
/dev/sda7       /media/f        vfat rw,users,umask=000 0 0</pass></dump></options></type></mount></file></p>
</blockquote>
<p>now time to mount these partitions <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<blockquote><p>lavluda:/home/ibrahim#mount -a</p></blockquote>
<p>write comments if you still getting problem <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
number of view: 592<img src="http://www.lavluda.com/?ak_action=api_record_view&id=114&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2007/10/19/mount-your-windows-partition-with-write-permission/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>how to move your php development environment to linux (Debian/Ubuntu)</title>
		<link>http://www.lavluda.com/2007/08/04/how-to-move-your-php-development-environment-to-linux/</link>
		<comments>http://www.lavluda.com/2007/08/04/how-to-move-your-php-development-environment-to-linux/#comments</comments>
		<pubDate>Sat, 04 Aug 2007 14:11:12 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Debian GNU/Linux]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[My Works]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming Help]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lavluda.com/2007/08/04/how-to-move-your-php-development-environment-to-linux/</guid>
		<description><![CDATA[Nowadays, lots of php developers are thinking to move their development environment to linux. And I am writing this tutorial for them. As I like Debian GNU/Linux (www.debian.org) best and ubuntu (www.ubutnulinux.org) is now doing great, in this tutorial I am using the commands for debian &#038; ubuntu. Ok, now starting: First on all let’s [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Nowadays, lots of php developers are thinking to move their development environment to linux. And I am writing this tutorial for them. As I like Debian GNU/Linux (www.debian.org) best and ubuntu (www.ubutnulinux.org) is now doing great, in this tutorial I am using the commands for debian &#038; ubuntu.</p>
<p>Ok, now starting:</p>
<p>First on all let’s make a list of software a PHP developer need mostly:</p>
<p>1.Apache<br />
2.PHP<br />
3.Mysql<br />
4.PHP IDE</p>
<p>Ok, let’s start with Apache.  Debian &#038; ubuntu use APT to manage the packages. You can easily install apache using apt, here is the command</p>
<p>Debian user:</p>
<blockquote><p>su</p></blockquote>
<p>Ubuntu user: </p>
<blockquote><p>sudo su</p></blockquote>
<p>Rest of the command ar same for both debian &#038; ubuntu.</p>
<blockquote><p>apt-get install apache2</p></blockquote>
<p>It will install all the apache2 &#038; all the related packages (software)<br />
If you need to enable mod_rewrite, follow <a href="http://lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/">this link</a><br />
Now install the PHP</p>
<blockquote><p>Apt-get install php5 libapache2-mod-php5 </p></blockquote>
<p>This will install the php5 and configure your apache2 server for PHP. You don’t need to do anything.<br />
Lets test the server, if it working ok. </p>
<blockquote><p>touch /var/www/info.php</p></blockquote>
<blockquote><p>Chown www-data:www-data info.php</p></blockquote>
<p>Now edit this info.php with your feviourate editor and add write  code to show phpinfo():<br />
and now browse http://localhost/info.php from your browser. Now check if all your requested library are installed.<br />
if you need any more library, you can check if it already available on your debian/ubuntu package list.</p>
<blockquote><p>apt-cache search php5-</p></blockquote>
<p>then you will get the list of available php5 library. Now simple use this command to install it.</p>
<blockquote><p>apt-get install php5-gd</p></blockquote>
<p>(example, if you want to install php5 GD library)</p>
<p>Remember: after installing every extra packages, you must need to restart apache server</p>
<blockquote><p>/etc/init.d/apache2 restart</p></blockquote>
<p>Ok, so you have now apache2 and php5 installed system. Let&#8217;s install mysql:</p>
<blockquote><p>apt-get install mysql-server-5.0 php5-mysql</p></blockquote>
<p>It will install all the necessary packages to run mysql-server.<br />
Now restart your apache to take effect.<br />
Complete!!!! Server is allmost ready.<br />
Now i am going to derive how you will transfer your old code to this new environment. Belive me it&#8217;s too simple, so don&#8217;t worry.</p>
<p>First of all copy your source code to /var/www, here is the details procedure:</p>
<blockquote><p>mkdir /windows</p></blockquote>
<p>Here we make a folder for C drive of windows to mount.<br />
mount /dev/hda1 /windows<br />
then we mount the C drive to windows folder (here i use hda1 as example, if your hdd is sata then it will be sda1)</p>
<blockquote><p>cp -r windows/Apache2/htdocs/xyz /var/www</p></blockquote>
<p>here we copied our xyz site to /var/www (in debian and ubuntu, default apache2 root folder is /var/www)</p>
<blockquote><p>cd /var/www</p>
<p>chown -R www-data:www-data xyz</p></blockquote>
<p>Now change the ownership to www-data</p>
<p>Now we need to move the mysql database, there is two way:</p>
<p>1.use phpmyadmin<br />
2.simple copy the database from data folder<br />
I am deriving the 2nd way.</p>
<blockquote><p>cp -r /windows/Mysql/data/xyz /var/lib/mysql</p>
<p>chown -R mysql:mysql /var/lib/mysql/xyz</p></blockquote>
<p>You are done.</p>
<p>PHP Ide for linux environment:</p>
<ul>
1.Zend ( i personaly use this)<br />
2.PHPEd<br />
3.PHPEclipse<br />
4.quanta plus<br />
5.emacs<br />
6.vi<br />
7.PHPedit</ul>
<p><!--adsense#banner--></p>
<p>***I know this tutorial needs more edit, please make your comments if you got anything wrong, or missed anything. I want it a cool tutorial for php developers.</p>
number of view: 1587<img src="http://www.lavluda.com/?ak_action=api_record_view&id=100&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2007/08/04/how-to-move-your-php-development-environment-to-linux/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>how to enable mod_rewrite in apache2.2 (debian/ubuntu)</title>
		<link>http://www.lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/</link>
		<comments>http://www.lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/#comments</comments>
		<pubDate>Sun, 15 Jul 2007 14:57:11 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Debian GNU/Linux]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Helps]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming Help]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[apache module]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[mod_rewrite]]></category>

		<guid isPermaLink="false">http://lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/</guid>
		<description><![CDATA[Here i am going to describe how to enable mod_rewrite in apache2.2 -specaily for debian. In default installion of apache2.2 on debian never enable mod_rewrite default. So you may need to enable . First install the apache2.2 with this command : debian user please use &#8220;su&#8221; before start this process ubuntu user please use &#8220;sudo [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Here i am going to describe how to enable mod_rewrite in apache2.2 -specaily for debian.</p>
<p>In default installion of apache2.2 on debian never enable mod_rewrite default. So you may need to enable .</p>
<p>First install the apache2.2 with this command :<br />
debian user please use &#8220;su&#8221; before start this process<br />
ubuntu user please use &#8220;sudo su&#8221; before start this process</p>
<p><code>apt-get install apache2 (it will install apache 2.2)</code></p>
<p>now use locate to find if the mod_rewrite.so is availble on your server</p>
<p><code>updatedb<br />
locate mod_rewrite.so<br />
</code></p>
<p>it will found in &#8220;/usr/lib/apache2/modules&#8221;</p>
<p>new apache follow some folders to enable and desuable mods.<br />
so now do this:</p>
<p><code>cd /etc/apache2/mods-enabled<br />
touch rewrite.load<br />
gedit rewrite.load (you may use any editor to edit this file)</code></p>
<p>now paste this following line</p>
<p><code>LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so</code></p>
<p>Then edit /etc/apache2/sites-available/000-default</p>
<p>Find the following</p>
<p>Options Indexes FollowSymLinks MultiViews<br />
AllowOverride None<br />
Order allow,deny<br />
allow from all</p>
<p>and change it to</p>
<p>Options Indexes FollowSymLinks MultiViews<br />
AllowOverride all<br />
Order allow,deny<br />
allow from all</p>
<p>and finally restart Apache</p>
<p>/etc/init.d/apache2 restart</p>
<p>OK, you done <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>don&#8217;t forget to comment, if it works or not.</p>
<p>thanks.</p>
<p><!--adsense#banner--></p>
number of view: 7935<img src="http://www.lavluda.com/?ak_action=api_record_view&id=95&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/feed/</wfw:commentRss>
		<slash:comments>117</slash:comments>
		</item>
		<item>
		<title>Dell laptop with ubuntu 7.04</title>
		<link>http://www.lavluda.com/2007/05/25/dell-laptop-with-ubuntu-704/</link>
		<comments>http://www.lavluda.com/2007/05/25/dell-laptop-with-ubuntu-704/#comments</comments>
		<pubDate>Fri, 25 May 2007 07:02:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lavluda.com/2007/05/25/dell-laptop-with-ubuntu-704/</guid>
		<description><![CDATA[Read it first: http://direct2dell.com/one2one/archive/2007/05/24/15994.aspx Dear *nix lovers, Please don&#8217;t be happy too much. I think dell is doing a great cheating . Because with linux the price didn&#8217;t decrease, more over it increase. 2-3 month ago i bought a dell laptop from usa with 1057$ (including sales tax)-windows vista basic Today i configured mostly same [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Read it first:  <a href="http://direct2dell.com/one2one/archive/2007/05/24/15994.aspx">http://direct2dell.com/one2one/archive/2007/05/24/15994.aspx</a></p>
<p>Dear *nix lovers,</p>
<p>Please don&#8217;t be happy too much. I think dell is doing a great cheating . Because with linux the price didn&#8217;t decrease, more over it increase.</p>
<p>2-3 month ago i bought a dell laptop from usa with 1057$ (including sales tax)-windows vista basic<br />
Today i configured mostly same thing (even lower) with ubuntu &#8211; the price is 1080$ without tax <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Moreover check there support cost for ubuntu, it more then vista expense.</p>
number of view: 525<img src="http://www.lavluda.com/?ak_action=api_record_view&id=81&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2007/05/25/dell-laptop-with-ubuntu-704/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Speedup your apt</title>
		<link>http://www.lavluda.com/2007/04/13/speedup-your-apt/</link>
		<comments>http://www.lavluda.com/2007/04/13/speedup-your-apt/#comments</comments>
		<pubDate>Fri, 13 Apr 2007 02:35:32 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Debian GNU/Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lavluda.com/?p=78</guid>
		<description><![CDATA[Apt is the best friend for any deb dependend linux like debian , ubuntu etc. You can speed up your apt by searching the nerestrepositery of apt (for your distro/linux) I tested some tools to do this, APT-SPY shows the best performance From manpage: apt-spy is a program that tests a series of Debian archive [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Apt is the best friend for any deb dependend linux like debian , ubuntu etc.</p>
<p>You can speed up your  apt by searching the nerestrepositery of apt (for your distro/linux)</p>
<p>I tested some tools to do this, APT-SPY shows the best performance <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>From manpage:</p>
<blockquote>
<p align="left"><em>apt-spy is a program that tests a series of Debian archive mirrors  for bandwith.   It writes an /etc/apt/sources.list with the fastest server. </em></p>
</blockquote>
<p align="left"> Run this command as su or root next thing will done by apt-spy, it will write a new /etc/apt/sources.list and the olde one will be backup with sources.list.bak</p>
<p><code>apt-spy -d unstable  -n 5</code></p>
number of view: 295<img src="http://www.lavluda.com/?ak_action=api_record_view&id=78&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2007/04/13/speedup-your-apt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing ttf fonts on Debian or Ubuntu Linux</title>
		<link>http://www.lavluda.com/2007/01/31/installing-ttf-fonts-on-debian-or-ubuntu/</link>
		<comments>http://www.lavluda.com/2007/01/31/installing-ttf-fonts-on-debian-or-ubuntu/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 04:54:56 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[My Works]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://lavluda.com/?p=73</guid>
		<description><![CDATA[Here is the simple step to install ttf font on Debian or Ubuntu or debian based linux. First of all make a font directory to store the fonts. Better use &#8220;/usr/share/fonts/ttf&#8221; So make the font directory: Debian (login as root or use su): mkdir /usr/share/fonts/ttf Ubuntu: sudo mkdir /usr/share/fonts/ttf If u want to install the [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Here is the simple step to install ttf font on Debian or Ubuntu or debian based linux.</p>
<p>First of all make a font directory to store the fonts. Better use &#8220;/usr/share/fonts/ttf&#8221;</p>
<p>So make the font directory:</p>
<p>Debian (login as root or use su):</p>
<blockquote><p>mkdir /usr/share/fonts/ttf</p></blockquote>
<p>Ubuntu:</p>
<blockquote><p>sudo mkdir /usr/share/fonts/ttf</p></blockquote>
<p>If u want to install the ttf font from windows, simple copy them from c:\windows\Fonts</p>
<p>Debian:</p>
<blockquote><p>mkdir windows<br />
mount /dev/hda1 windows<br />
cd windows/Fonts<br />
cp *.ttf /usr/share/fonts/ttf</p></blockquote>
<p>Ubuntu:</p>
<blockquote><p>mkdir windows<br />
sudo mount /dev/hda1 windows<br />
cd windows/Fonts<br />
sudo cp *.ttf /usr/share/fonts/ttf</p></blockquote>
<p>Now u need to generate the fonts.scale fonts.dir, so u have to install the ttmkfdir and mkfontdir.<br />
Debian:</p>
<blockquote><p>apt-get install ttmkfdir</p>
<p>cd /usr/share/fonts/ttf<br />
ttmkfdir &gt; fonts.scale<br />
mkfontdir</p></blockquote>
<p>Ubuntu:</p>
<blockquote><p>sudo apt-get install ttmkfdir</p>
<p>cd /usr/share/fonts/ttf<br />
sudo ttmkfdir &gt; fonts.scale<br />
sudo mkfontdir</p></blockquote>
<p>Most of the works finished. U only need to add the font path to xwindows.</p>
<p>Debian:</p>
<blockquote><p>nano /etc/X11/xorg.conf</p></blockquote>
<p>Ubuntu:</p>
<blockquote><p>sudo nano /etc/X11/xorg.conf</p></blockquote>
<p>then add the fontpath to xorg.conf</p>
<blockquote><p>FontPath        &#8220;/usr/share/fonts/ttf&#8221;</p></blockquote>
<p>Now restart ur display manager or total system.<br />
Debian:</p>
<blockquote><p>/etc/init.d/gdm restart</p></blockquote>
<p>Ubuntu:</p>
<blockquote><p>sudo /etc/init.d/gdm restart</p></blockquote>
<p>If nothing goes wrong, ur done. Congrutulation!!!!!!!!</p>
number of view: 2992<img src="http://www.lavluda.com/?ak_action=api_record_view&id=73&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2007/01/31/installing-ttf-fonts-on-debian-or-ubuntu/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Got 10 Ubuntu CD</title>
		<link>http://www.lavluda.com/2006/11/29/got-10-ubuntu-cd/</link>
		<comments>http://www.lavluda.com/2006/11/29/got-10-ubuntu-cd/#comments</comments>
		<pubDate>Wed, 29 Nov 2006 15:08:03 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[My Computer]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lavluda.com/?p=66</guid>
		<description><![CDATA[Today i got 10 Ubuntu CDs. Though i applied for these cd&#8217;s 3 month ago . CD&#8217;s: 1> 8 i386 CDs 2> 1 64bit addition 3> 1 Mac Addition Bad is, these are ubuntu dapper number of view: 249 No related posts. Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Today i got 10 Ubuntu CDs. Though i applied for these cd&#8217;s 3 month ago <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> .</p>
<p>CD&#8217;s:</p>
<p>1> 8 i386 CDs</p>
<p>2> 1 64bit addition</p>
<p>3> 1 Mac Addition</p>
<p>Bad is, these are ubuntu dapper <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
number of view: 249<img src="http://www.lavluda.com/?ak_action=api_record_view&id=66&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2006/11/29/got-10-ubuntu-cd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>booting ubuntu live cd with qemu</title>
		<link>http://www.lavluda.com/2006/08/24/booting-ubuntu-live-cd-with-qume/</link>
		<comments>http://www.lavluda.com/2006/08/24/booting-ubuntu-live-cd-with-qume/#comments</comments>
		<pubDate>Thu, 24 Aug 2006 15:58:41 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[My Computer]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lavluda.com/?p=45</guid>
		<description><![CDATA[number of view: 366 No related posts. Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a title="ubutu with qume" class="imagelink" href="http://lavluda.x10hosting.com/wp-content/uploads/2006/08/Screenshot.png"></p>
<div style="text-align: center"><img alt="ubutu with qume" id="image48" src="http://lavluda.x10hosting.com/wp-content/uploads/2006/08/Screenshot.thumbnail.png" /></div>
<p></a></p>
number of view: 366<img src="http://www.lavluda.com/?ak_action=api_record_view&id=45&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2006/08/24/booting-ubuntu-live-cd-with-qume/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.879 seconds -->
