<?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; CentOS</title>
	<atom:link href="http://www.asim.pk/tag/centos/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>Build-Essentials in CentOS?</title>
		<link>http://www.asim.pk/2010/05/28/build-essentials-in-centos/</link>
		<comments>http://www.asim.pk/2010/05/28/build-essentials-in-centos/#comments</comments>
		<pubDate>Fri, 28 May 2010 17:43:21 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<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[Build]]></category>
		<category><![CDATA[Build-Essentials]]></category>
		<category><![CDATA[Essentials]]></category>
		<category><![CDATA[Ubuntu Server]]></category>
		<category><![CDATA[YUM]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=665</guid>
		<description><![CDATA[If you are like me, you may be doing this to install essential build libraries to compile something from source Build essential is a Ubuntu / Debian package. On CentOS, you need to do this Warning: This will install all &#8230; <a href="http://www.asim.pk/2010/05/28/build-essentials-in-centos/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are like me, you may be doing this to install essential build libraries to compile something from source</p>
<pre class="brush: plain; title: ; notranslate"># wrong method
yum install build-essential</pre>
<p> <img src='http://www.asim.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Build essential is a Ubuntu / Debian package. On CentOS, you need to do this</p>
<pre class="brush: plain; title: ; notranslate">yum groupinstall &quot;Development Tools&quot;</pre>
<p><strong>Warning:</strong> This will install all development tools approx 49 packages closing to 65MB</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/05/28/build-essentials-in-centos/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>Fixing Pear &#8216;unsupported protocal&#8217; error</title>
		<link>http://www.asim.pk/2010/01/12/fixing-pear-unsupported-protocal-error/</link>
		<comments>http://www.asim.pk/2010/01/12/fixing-pear-unsupported-protocal-error/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 07:00:58 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Pear]]></category>
		<category><![CDATA[PHP 5]]></category>
		<category><![CDATA[PHP 5.3]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=598</guid>
		<description><![CDATA[Are you getting the following error while updating any package in pear? pear.php.net is using a unsupported protocal &#8211; This should never happen. I got this error right after I upgraded PHP from 5.2 to 5.9 (using CentOS-Testing repo). To &#8230; <a href="http://www.asim.pk/2010/01/12/fixing-pear-unsupported-protocal-error/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Are you getting the following error while updating any package in pear?</p>
<blockquote><p>pear.php.net is using a unsupported protocal &#8211; This should never happen.</p></blockquote>
<p>I got this error right after I upgraded PHP from 5.2 to 5.9 (using CentOS-Testing repo). To resolve this situation, do this.</p>
<pre class="brush: plain; title: ; notranslate">rm -fr /usr/share/pear/.channels</pre>
<p>and then do this</p>
<pre class="brush: plain; title: ; notranslate">pear update-channels</pre>
<p>It should now give you the following output</p>
<pre class="brush: plain; title: ; notranslate">Updating channel &quot;doc.php.net&quot;
Update of Channel &quot;doc.php.net&quot; succeeded
Updating channel &quot;pear.php.net&quot;
Update of Channel &quot;pear.php.net&quot; succeeded
Updating channel &quot;pecl.php.net&quot;
Update of Channel &quot;pecl.php.net&quot; succeeded</pre>
<p>That&#8217;s it, your issue is resolved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/01/12/fixing-pear-unsupported-protocal-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To update or not to update?</title>
		<link>http://www.asim.pk/2010/01/09/to-update-or-not-to-update/</link>
		<comments>http://www.asim.pk/2010/01/09/to-update-or-not-to-update/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 19:44:50 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Update]]></category>
		<category><![CDATA[YUM]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=525</guid>
		<description><![CDATA[All my technical life, I knew and followed this simple rule New updates to any application or component are meant to improve and fix the bugs present in it. Downloading new updates ensures that you system is up-to-update, has fixes &#8230; <a href="http://www.asim.pk/2010/01/09/to-update-or-not-to-update/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>All my technical life, I knew and followed this simple rule</p>
<blockquote><p>New updates to any application or component are meant to improve and fix the bugs present in it. Downloading new updates ensures that you system is up-to-update, has fixes to all those bugs you have been getting annoyed with and more stable.</p></blockquote>
<p>Unfortunately not every IT department thinks that, especially the one I am facing at work. According to them, the new updates should only be applied IF and only IF they offer some new functionality (duhh!). Hello! what happened to the bug-fixes that are promised with these updates?</p>
<p><span id="more-525"></span>Anyway, my Linux box tells me that I have the following updates available but some nut-head thinks its a waste of precious bandwidth</p>
<p><a href="http://www.asim.pk/wp-content/uploads/2010/01/centos_yum_updates.png" target="_blank" rel="lightbox[525]"><img class="aligncenter size-medium wp-image-526" title="CentOS Yum Update list" src="http://www.asim.pk/wp-content/uploads/2010/01/centos_yum_updates-230x300.png" alt="" width="230" height="300" /></a></p>
<p>Here is my question, would you update your operating system on a regular basis or would you prefer not to? and WHY?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/01/09/to-update-or-not-to-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CentOS yum update missing dependency error</title>
		<link>http://www.asim.pk/2009/08/07/centos-yum-update-missing-dependency-error/</link>
		<comments>http://www.asim.pk/2009/08/07/centos-yum-update-missing-dependency-error/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 12:13:47 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[YUM]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=429</guid>
		<description><![CDATA[If you are using on CentOS and getting the following errors Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.7.i386 (installed) gamin-python-0.1.7-8.el5.i386 from installed has depsolving problems Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed) Error: Missing Dependency: /usr/lib/python2.4 is &#8230; <a href="http://www.asim.pk/2009/08/07/centos-yum-update-missing-dependency-error/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are using</p>
<pre class="brush: plain; title: ; notranslate">yum update</pre>
<p>on CentOS and getting the following errors</p>
<blockquote><p>Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.7.i386 (installed)<br />
gamin-python-0.1.7-8.el5.i386 from installed has depsolving problems<br />
Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed)<br />
Error: Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.7.i386 (installed)<br />
Error: Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed)</p></blockquote>
<p>Don&#8217;t panic, the solution is simple &#8230; just run the following command</p>
<pre class="brush: plain; title: ; notranslate">yum clean all</pre>
<p>Then do</p>
<pre class="brush: plain; title: ; notranslate">yum update</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/08/07/centos-yum-update-missing-dependency-error/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 Apache, PHP and MySQL on CentOS</title>
		<link>http://www.asim.pk/2009/07/02/how-to-install-apache-php-and-mysql-on-centos/</link>
		<comments>http://www.asim.pk/2009/07/02/how-to-install-apache-php-and-mysql-on-centos/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 04:47:33 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[YUM]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=391</guid>
		<description><![CDATA[I have seen people installing Apache, PHP and MySQL from source code on a production server. You should NEVER, NEVER, NEVER install these packages from source on an RPM or DEB based Linux distributions. Did I say “NEVER” enough times &#8230; <a href="http://www.asim.pk/2009/07/02/how-to-install-apache-php-and-mysql-on-centos/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have seen people installing Apache, PHP and MySQL from source code on a production server. You should NEVER, NEVER, NEVER install these packages from source on an RPM or DEB based Linux distributions. Did I say “NEVER” enough times to make your realize that it is not a good practice?</p>
<p>Installing from source is bad idea; there are many reasons for this but the major one is that you will be spending a lot of time keeping the system updated. If you love installing from source then I would suggest using a different distribution e.g. Gentoo.</p>
<p>You can build from source if the package is not available in yum but still, try to use “yum” (or “apt-get” on Ubuntu) because it will save a lot of your time when upgrading your packages.</p>
<p><span id="more-391"></span></p>
<p>So here is the procedure to Install Apache, PHP and MySQL on a CentOS box.</p>
<p>First of all edit the following file using “<strong>vi</strong>” or any other editor you prefer (I prefer <strong>nano</strong>)</p>
<pre class="brush: plain; title: ; notranslate">nano /etc/yum.repos.d/CentOS-Base.repo</pre>
<p>Find the line under <strong>[centosplus]</strong> that reads something like this</p>
<pre class="brush: plain; title: ; notranslate">enabled = 0</pre>
<p>Change it to</p>
<pre class="brush: plain; title: ; notranslate">enabled = 1</pre>
<p>Then do</p>
<pre class="brush: plain; title: ; notranslate">yum install httpd php mysql-server php-mysql php-gd</pre>
<p>This will install Apache, PHP, MySQL and many other common packages</p>
<p>All you need now is to start Apache (httpd) and MySQL (mysqld)</p>
<pre class="brush: plain; title: ; notranslate">/etc/init.d/httpd start
/etc/init.d/mysqld start</pre>
<p>Wow, that was easy, so you got Apache, PHP and MySQL running on your system but still needs to be configured to auto-run on server boot (or reboot). Just punch in the following command and it will be done for both Apache and MySQL (you don’t need to do this for PHP since it is already bind to Apache)</p>
<pre class="brush: plain; title: ; notranslate">/sbin/chkconfig httpd --level 345 on
/sbin/chkconfig mysqld --level 345 on</pre>
<p><strong>345</strong> are basically run level 3, 4 and 5. If you want to study more about Run Levels please consult <strong><a href="http://en.wikipedia.org/wiki/Runlevel#Typical_Linux_runlevels " target="_blank">this article</a></strong>.</p>
<p>That&#8217;s it, these simple steps will give install Apache, PHP, MySQL and all the common packages that you will require. Most importantly, you can update these packages with just</p>
<pre class="brush: plain; title: ; notranslate">yum update</pre>
<p>(You may try this command right now but it will not work since you already got all the updated stuff installed)</p>
<p>Updating your system is a breeze now <img src='http://www.asim.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Note 1:</strong> Please change the password for “root” user in MySQL.</p>
<p><strong>Note 2:</strong> Your “DocumentRoot” is /var/www/html.</p>
<p><strong>Update: </strong>Added instructions to auto-start Apache and MySQL when system starts / restarts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/07/02/how-to-install-apache-php-and-mysql-on-centos/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>
	</channel>
</rss>

