<?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>TechBytes &#187; Linux</title>
	<atom:link href="http://www.asim.pk/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.asim.pk</link>
	<description>Technology Bytes</description>
	<lastBuildDate>Fri, 20 Jan 2012 12:48:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to change &#8220;-bash-*&#8221;?</title>
		<link>http://www.asim.pk/2010/06/23/how-to-change-bash/</link>
		<comments>http://www.asim.pk/2010/06/23/how-to-change-bash/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 15:07:47 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtual Private Server]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=690</guid>
		<description><![CDATA[If you are seeing this in your bash (SSH), It makes it tough to navigate through SSH since it doesn&#8217;t give you much information. To fix that, you can simply type this in your SSH when logged in:]]></description>
			<content:encoded><![CDATA[<p>If you are seeing this in your bash (SSH), It makes it tough to navigate through SSH since it doesn&#8217;t give you much information. </p>
<pre class="brush: plain; title: ; notranslate">-bash-3.2#</pre>
<p>To fix that, you can simply type this in your SSH when logged in:</p>
<pre class="brush: plain; title: ; notranslate">PS1=&quot;[\u@\h \W]\$ &quot;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/06/23/how-to-change-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linode is Blazzing Fast</title>
		<link>http://www.asim.pk/2010/05/27/linode-is-blazzing-fast/</link>
		<comments>http://www.asim.pk/2010/05/27/linode-is-blazzing-fast/#comments</comments>
		<pubDate>Thu, 27 May 2010 16:24:52 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linode]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=658</guid>
		<description><![CDATA[I asked my client to buy a Linode for some testing purposes and I tried it for the first time. I must say, Linode is blazzing fast. Downloads are touching 8M/sec and speed, performance is as if its running on &#8230; <a href="http://www.asim.pk/2010/05/27/linode-is-blazzing-fast/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I asked my client to buy a <a href="http://www.linode.com/?r=587d6a71720a4606811a5710431462642c56bc21">Linode</a> for some testing purposes and I tried it for the first time. I must say, <strong>Linode is blazzing fast</strong>. Downloads are touching 8M/sec and speed, performance is as if its running on a VM on my local system.</p>
<p>Update: Now its been almost a month running Linode and I strongly recommend this VPS company.<br />
Update 2: If you plan to signup for LINODE, use my referral link, it will give you the same price but it will help me a lil <a href="http://www.linode.com/?r=587d6a71720a4606811a5710431462642c56bc21" target="_blank"><strong>http://www.linode.com/?r=587d6a71720a4606811a5710431462642c56bc21</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/05/27/linode-is-blazzing-fast/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Good bye CentOS! Hello Ubuntu</title>
		<link>http://www.asim.pk/2010/05/15/good-bye-centos-hello-ubuntu/</link>
		<comments>http://www.asim.pk/2010/05/15/good-bye-centos-hello-ubuntu/#comments</comments>
		<pubDate>Fri, 14 May 2010 20:01:00 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS 5.4]]></category>
		<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[EPEL]]></category>
		<category><![CDATA[iWeb]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[LTS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[Ubuntu Server]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=655</guid>
		<description><![CDATA[Its been about almost more then two years since I have been playing with CentOS on many different platforms etc. Its very stable but on the other hand, PHP/MySQL updates are very hard to get and still PHP is 5.1.6. &#8230; <a href="http://www.asim.pk/2010/05/15/good-bye-centos-hello-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Its been about almost more then two years since I have been playing with CentOS on many different platforms etc. Its very stable but on the other hand, PHP/MySQL updates are very hard to get and still PHP is 5.1.6. I tried EPEL repo and it updated PHP to 5.3.1 but still there were conflicts with stuff and many core packages.</p>
<p>So, I thought why not move to Ubuntu since it has just announced 10.04LTS (Long Term Support) in April 2010. Folks at iWeb were really nice to do a reinstall without any charges and also process a memory upgrade request at an amazing 50% discount.</p>
<p><strong>Ubuntu 10.04 LTS</strong></p>
<ul>
<li>Apache 2 version is 2.2.14</li>
<li>PHP version is 5.3.2</li>
<li>MySQL version is 5.1.41-3ubuntu12</li>
<li>SVN (Subversion) version is 1.6.6</li>
</ul>
<p><strong>As a comparison CentOS 5.4 has the following versions</strong></p>
<ul>
<li>Apache 2 version is 2.2.3</li>
<li>PHP version is 5.1.6</li>
<li>MySQL version is 5.0.77</li>
<li>SVN (Subversion) version is 1.4.2</li>
</ul>
<p>So if you are a PHP developer looking to deploy a Linux flavour on your new box, choose Ubuntu <img src='http://www.asim.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/05/15/good-bye-centos-hello-ubuntu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Bought a new VPS from QuickWeb</title>
		<link>http://www.asim.pk/2010/05/08/bought-a-new-vps-from-quickweb/</link>
		<comments>http://www.asim.pk/2010/05/08/bought-a-new-vps-from-quickweb/#comments</comments>
		<pubDate>Fri, 07 May 2010 22:09:19 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Affordable]]></category>
		<category><![CDATA[Cheap]]></category>
		<category><![CDATA[LowEndBox]]></category>
		<category><![CDATA[QuickWeb]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=652</guid>
		<description><![CDATA[I just secured a nice deal on QuickWeb.co.nz&#8216;s Texas data center. Thanks to lowendbox for the info on this special coupon. Plan to use it to test new stuff before putting it on my two other production servers (with iWeb.com).]]></description>
			<content:encoded><![CDATA[<p>I just secured a nice deal on <a href="http://quickweb.co.nz/" target="_blank">QuickWeb.co.nz</a>&#8216;s Texas data center. Thanks to <a href="http://www.lowendbox.com/">lowendbox</a> for the info on <a href="http://www.lowendbox.com/blog/quickweb-4-95-256mb-openvz-exclusive-offer/">this special coupon</a>. Plan to use it to test new stuff before putting it on my two other production servers (with iWeb.com).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/05/08/bought-a-new-vps-from-quickweb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change password in linux console?</title>
		<link>http://www.asim.pk/2010/05/08/how-to-change-password-in-linux-console/</link>
		<comments>http://www.asim.pk/2010/05/08/how-to-change-password-in-linux-console/#comments</comments>
		<pubDate>Fri, 07 May 2010 21:26:27 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=650</guid>
		<description><![CDATA[Connect to server via SSH and then issue the following command output will be something similar to this]]></description>
			<content:encoded><![CDATA[<p>Connect to server via SSH and then issue the following command</p>
<pre class="brush: plain; title: ; notranslate">sudo passwd</pre>
<p>output will be something similar to this</p>
<pre class="brush: plain; title: ; notranslate">root@vps:~# sudo passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/05/08/how-to-change-password-in-linux-console/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PHP 5.2.6 on CentOS box</title>
		<link>http://www.asim.pk/2009/07/10/installing-php-5-2-6-on-centos-box/</link>
		<comments>http://www.asim.pk/2009/07/10/installing-php-5-2-6-on-centos-box/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 10:15:03 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS 5.3]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nano]]></category>
		<category><![CDATA[PHP 5]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[utterramblings]]></category>
		<category><![CDATA[YUM]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=408</guid>
		<description><![CDATA[If you want to install PHP 5.2.x instead of the PHP 5.1.6 offered with default CentOSPlus repo. Please consider installing the utterramblings repo. Setting up this repo is a breeze &#8230; just follow these steps (I prefer nano as I &#8230; <a href="http://www.asim.pk/2009/07/10/installing-php-5-2-6-on-centos-box/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you want to install PHP 5.2.x instead of the PHP 5.1.6 offered with default <a href="http://www.asim.pk/2009/07/02/how-to-install-apache-php-and-mysql-on-centos/" target="_blank"><strong>CentOSPlus repo</strong></a>. Please consider installing the <a href="http://www.jasonlitka.com/yum-repository/" target="_blank"><strong>utterramblings</strong></a> repo. Setting up this repo is a breeze &#8230; just follow these steps</p>
<p><span id="more-408"></span></p>
<pre class="brush: plain; title: ; notranslate">nano -w /etc/yum.repos.d/utterramblings.repo</pre>
<p>(I prefer nano as I mentioned earlier in my posts but you can use <strong>vi</strong> or any other editor that you like)</p>
<p>Then paste the following code in the editor</p>
<pre class="brush: plain; title: ; notranslate">[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka</pre>
<p>Hit <strong>Ctrl+X</strong> and it will prompt you to save this file, you need to confirm this with punching <strong>Y</strong></p>
<p>Now comes the last step, type the following and everything will be updated <img src='http://www.asim.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre class="brush: plain; title: ; notranslate">yum update</pre>
<p>Enjoy the latest packages <img src='http://www.asim.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Note:</strong> PHP 5.3.0 is still not available in stable repos because the Zend Optimizer is still in Beta for that particular version.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/07/10/installing-php-5-2-6-on-centos-box/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Install Webmin in CentOS</title>
		<link>http://www.asim.pk/2009/07/01/how-to-install-webmin-in-centos/</link>
		<comments>http://www.asim.pk/2009/07/01/how-to-install-webmin-in-centos/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 09:20:03 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Webmin]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=385</guid>
		<description><![CDATA[Update: A newer version of this article is available at http://www.centosblog.com/2012/01/16/how-to-install-webmin-on-centos/ Earlier, I posted a how-to to Install Webmin on Ubuntu, now im going through the tutorial again but this time for CentOS. Install dependancies before we proceed to install &#8230; <a href="http://www.asim.pk/2009/07/01/how-to-install-webmin-in-centos/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>Update:</strong> A newer version of this article is available at <a title="How to install Webmin on CentOS" href="http://www.centosblog.com/2012/01/16/how-to-install-webmin-on-centos/" target="_blank">http://www.centosblog.com/2012/01/16/how-to-install-webmin-on-centos/</a></p></blockquote>
<p>Earlier, I posted a how-to to <a href="http://www.asim.pk/2009/01/08/how-to-install-webmin-in-ubuntu-810/" target="_self">Install Webmin on Ubuntu</a>, now im going through the tutorial again but this time for CentOS.</p>
<p>Install dependancies before we proceed to install webmin</p>
<pre class="brush: plain; title: ; notranslate">yum -y install perl-Net-SSLeay</pre>
<p>Download the latest version of webmin</p>
<pre class="brush: plain; title: ; notranslate">wget http://downloads.sourceforge.net/project/webadmin/webmin/1.500/webmin-1.500-1.noarch.rpm?use_mirror=ignum</pre>
<p>Once it is downloaded, install the RPM using the following command</p>
<pre class="brush: plain; title: ; notranslate">rpm -i webmin-1.500-1.noarch.rpm</pre>
<p>No more steps required. Its installed <img src='http://www.asim.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Go to your browser and access the control panel with valid ssh credentials</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/07/01/how-to-install-webmin-in-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating and Installing crontabs using CodeIgniter</title>
		<link>http://www.asim.pk/2009/05/14/creating-and-installing-crontabs-using-codeigniter/</link>
		<comments>http://www.asim.pk/2009/05/14/creating-and-installing-crontabs-using-codeigniter/#comments</comments>
		<pubDate>Thu, 14 May 2009 07:10:33 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CI]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[Crontab]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP Frameworks]]></category>
		<category><![CDATA[PHP5]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=330</guid>
		<description><![CDATA[Last night, I was trying to get a crontab working in CodeIgniter, since my current project (a personal project) is using CodeIgniter now. I didn&#8217;t wanted to use the conventional approach of running crontabs and my code seperate. Unfortunately, CodeIgniter &#8230; <a href="http://www.asim.pk/2009/05/14/creating-and-installing-crontabs-using-codeigniter/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last night, I was trying to get a crontab working in CodeIgniter, since my current project (a personal project) is using CodeIgniter now. I didn&#8217;t wanted to use the conventional approach of running crontabs and my code seperate.</p>
<p>Unfortunately, CodeIgniter does not have support for Crontabs and I didn&#8217;t wanted to user wget in linux crontab to initiate unwanted requests.</p>
<p>I spent some time and came up with a solution. It uses</p>
<ol>
<li>CodeIgniter backend</li>
<li>Does not modify any core architecture of CodeIgniter</li>
<li>Keeps configuration at one place</li>
</ol>
<p>So enough of the summary and let me show you how its done.<br />
Create a file (e.g. cron.php) in the same place as your <strong>index.php</strong> and <strong>system</strong> folder. Here is its code</p>
<pre class="brush: php; title: ; notranslate">/**
* @author 	    Asim Zeeshan
* @web         http://www.asim.pk/
* @date		13th May, 2009
* @copyright 	No Copyrights, but please link back in any way
*/

/*
|---------------------------------------------------------------
| CASTING argc AND argv INTO LOCAL VARIABLES
|---------------------------------------------------------------
|
*/
$argc = $_SERVER['argc'];
$argv = $_SERVER['argv'];

// INTERPRETTING INPUT
if ($argc &gt; 1 &amp;&amp; isset($argv[1])) {
$_SERVER['PATH_INFO'] 	= $argv[1];
$_SERVER['REQUEST_URI'] = $argv[1];
} else {
$_SERVER['PATH_INFO'] 	= '/crons/index';
$_SERVER['REQUEST_URI'] = '/crons/index';
}

/*
|---------------------------------------------------------------
| PHP SCRIPT EXECUTION TIME ('0' means Unlimited)
|---------------------------------------------------------------
|
*/
set_time_limit(0);

require_once('index.php');

/* End of file test.php */
</pre>
<p>Now, we need a controller e.g. <strong>test</strong> so the controller code could be something like this. Please note that normally we do not need to output anything from these controllers since they are doing some background work or sending emails but for the sake of giving an example, I will be output-ing something to elaborate the example.</p>
<pre class="brush: php; title: ; notranslate">
/**
* @author 	    Asim Zeeshan
* @web         http://www.asim.pk/
* @date		13th May, 2009
* @copyright 	No Copyrights, but please link back in any way
*/&lt;/code&gt;

class Test extends Controller {

function __construct()
{
parent::Controller();
}

function index()
{
echo &quot;testing from index \n&quot;;
}

function test() {
echo &quot;testing from test \n&quot;;
}
}
</pre>
<p>Now execute crontab on linux command prompt</p>
<pre class="brush: plain; title: ; notranslate">php /full-path-to-cron-file/cron.php /test/index</pre>
<p>Voila! all you need now, is to setup the crontab like you normally do.<br />
This code is not shared under any license so feel free to copy/modify/use it. Please link back to this website / post in any way e.g. direct link, credits etc.</p>
<p>P.S. The examples above user PHP5 constructor, If you need to execute this code on PHP4, please modify the constructors.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/05/14/creating-and-installing-crontabs-using-codeigniter/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Installing MySQL 5.1 on Ubuntu</title>
		<link>http://www.asim.pk/2009/05/01/installing-mysql-51-on-ubuntu/</link>
		<comments>http://www.asim.pk/2009/05/01/installing-mysql-51-on-ubuntu/#comments</comments>
		<pubDate>Fri, 01 May 2009 07:36:21 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL 5.1]]></category>
		<category><![CDATA[MySQL Partitioning]]></category>
		<category><![CDATA[Ubuntu 8.10]]></category>
		<category><![CDATA[Ubuntu Server]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=315</guid>
		<description><![CDATA[I wanted to use PARTITIONING introduced in MySQL 5.1 to handle some 2 Million records (and growing everyday) in a table. Ubuntu 8.10 does not have MySQL 5.1 available if you do apt-get the latest version available is 5.0 So &#8230; <a href="http://www.asim.pk/2009/05/01/installing-mysql-51-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wanted to use PARTITIONING introduced in MySQL 5.1 to handle some 2 Million records (and growing everyday) in a table. Ubuntu 8.10 does not have MySQL 5.1 available if you do <strong>apt-get</strong> the latest version available is 5.0</p>
<p>So this is what I did, its easy and this might help somebody.</p>
<pre class="brush: plain; title: ; notranslate">nano /etc/apt/sources.list</pre>
<p>I prefer nano editor but you can use any editor of your choice. Add these new lines at the end of the end of the file.</p>
<pre class="brush: plain; title: ; notranslate">deb http://ppa.launchpad.net/monty/ubuntu gutsy main universe restricted multiverse
deb http://ppa.launchpad.net/smurf/ubuntu gutsy main universe restricted multiverse</pre>
<p><em>(These packages were targeted for 7.10 so I will recommend using them and removing them from this list once you got the latest MySQL version)</em></p>
<p>Now run the following commands</p>
<pre class="brush: plain; title: ; notranslate">apt-get update
apt-get upgrade</pre>
<p>Note that you may need to do sudo prefix to these commands if you are using a non-root account. Now lets do the one last step, Installing MySQL 5.1</p>
<pre class="brush: plain; title: ; notranslate">apt-get install mysql-server-5.1</pre>
<p><strong>Update:</strong> I have got another source to get even latest minor version of MySQL 5.1, just follow the above steps, then start over again and add following lines to &#8220;/etc/apt/sources.list&#8221; instead of the one above.</p>
<pre class="brush: plain; title: ; notranslate">deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all</pre>
<p>It worked for me on Ubuntu 8.10, im sure it will work for just any server version.</p>
<p>I am not a linux guru so if someone has a better option to upgrade to MySQL 5.1 or the latest version, please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/05/01/installing-mysql-51-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Intall Apache, MySQL and PHP on Ubuntu 8.10</title>
		<link>http://www.asim.pk/2009/01/09/intall-apache-mysql-and-php-on-ubuntu-810/</link>
		<comments>http://www.asim.pk/2009/01/09/intall-apache-mysql-and-php-on-ubuntu-810/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 19:01:39 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[LAMPP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ubuntu 8.10]]></category>
		<category><![CDATA[Ubuntu Desktop]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=182</guid>
		<description><![CDATA[WARNING: Please use this method to install Apache, PHP and MySQL because its more suitable for most of your needs and has options to auto-upgrade your installation. The following method is obsolete and not recommended. After trying to install Apache, &#8230; <a href="http://www.asim.pk/2009/01/09/intall-apache-mysql-and-php-on-ubuntu-810/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong><big>WARNING:</big></strong> <a href="http://www.asim.pk/2009/03/04/intall-apache-mysql-and-php-on-ubuntu-part-2/">Please use this method to install Apache, PHP and MySQL</a> because its more suitable for most of your needs and has options to auto-upgrade your installation. <strong>The following method is obsolete and not recommended.</strong></p>
<p>After trying to install Apache, MySQL and PHP on Ubuntu 8.10 via several methods listed over the web. I opted for <a href="http://www.xampp.org/" target="_blank"><strong>xampp package for linux</strong></a>.</p>
<p>It is as easy as ABC</p>
<p>Download the <a href="http://www.apachefriends.org/en/xampp-linux.html#374"><strong>xampp linux package from their official website</strong></a></p>
<pre class="brush: plain; title: ; notranslate">wget http://nchc.dl.sourceforge.net/sourceforge/xampp/xampp-linux-1.7.tar.gz</pre>
<p>(<em>I have selected <a href="http://www.nchc.org.tw/"><b>NCHC, Taiwan</b></a> as the mirror to download this package, you may try another</em>)</p>
<p>Extract the files</p>
<pre class="brush: plain; title: ; notranslate">sudo tar xvfz xampp-linux-1.7.tar.gz -C /opt</pre>
</p>
<p>Chmod the files to have nobody ownership</p>
<pre class="brush: plain; title: ; notranslate">sudo chown -R nobody:root /opt/lampp/</pre>
</p>
<p>Configure xampp security</p>
<pre class="brush: plain; title: ; notranslate">sudo /opt/lampp/lampp security</pre>
</p>
<p>Start xampp with this command</p>
<pre class="brush: plain; title: ; notranslate">sudo /opt/lampp/lampp start</pre>
</p>
<p>Stop xampp</p>
<pre class="brush: plain; title: ; notranslate">sudo /opt/lampp/lampp stop</pre>
</p>
<p>Restart xampp</p>
<pre class="brush: plain; title: ; notranslate">sudo /opt/lampp/lampp restart</pre>
</p>
<p>Login to ftp using the username <strong>nobody</strong> and the password that you have set up in the &#8220;xampp security&#8221;</p>
<p>To uninstall xampp</p>
<pre class="brush: plain; title: ; notranslate">sudo rm -fr /opt/lampp</pre>
</p>
<p><strong>Enjoy!!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/01/09/intall-apache-mysql-and-php-on-ubuntu-810/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

