<?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>Tech Kaki &#187; centos</title>
	<atom:link href="http://www.techkaki.com/category/linux/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techkaki.com</link>
	<description>Tips and Tricks for Mac OS X, Windows, Linux and office suite software.</description>
	<lastBuildDate>Wed, 28 Dec 2011 08:34:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Centos 6 fail to ssh?</title>
		<link>http://www.techkaki.com/2011/09/centos-6-fail-to-ssh/</link>
		<comments>http://www.techkaki.com/2011/09/centos-6-fail-to-ssh/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 09:16:51 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2579</guid>
		<description><![CDATA[Tweet I failed to rsync files from one Centos 6 server to another Centos 6 server. The rsync is not working and i get this error [root@angrybird tmp]# rsync -v -e ssh /tmp/web root@172.16.0.204:/home/ rsync: Failed to exec ssh: No such file or directory (2) rsync error: error in IPC code (code 14) at pipe.c(84) [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/09/centos-6-fail-to-ssh/" data-text="Centos 6 fail to ssh?" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/09/centos-6-fail-to-ssh/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p>I failed to rsync files from one Centos 6 server to another Centos 6 server. The rsync is not working and i get this error</p>
<blockquote><p>[root@angrybird tmp]# rsync -v -e ssh /tmp/web root@172.16.0.204:/home/<br />
rsync: Failed to exec ssh: No such file or directory (2)<br />
rsync error: error in IPC code (code 14) at pipe.c(84) [sender=3.0.6]<br />
rsync: connection unexpectedly closed (0 bytes received so far) [sender]<br />
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]</p></blockquote>
<p>To troubleshoot this issue, i try to do run ssh command in both Centos 6 machine. It fail to run the SSH. I found that openssh-clients was not installed. So, i just installed openssh-clients to fix the problem.</p>
<p>To install openssh-client</p>
<p><code># yum -y install openssh-clients</code></p>
<p>Done!! <img src='http://www.techkaki.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F09%2Fcentos-6-fail-to-ssh%2F&amp;title=Centos%206%20fail%20to%20ssh%3F" id="wpa2a_2"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/09/centos-6-fail-to-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to clear DNS Cache in Windows, Mac OS X and Linux</title>
		<link>http://www.techkaki.com/2011/08/how-to-clear-dns-cache-in-windows-mac-os-x-and-linux/</link>
		<comments>http://www.techkaki.com/2011/08/how-to-clear-dns-cache-in-windows-mac-os-x-and-linux/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 14:23:30 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[Win Vista]]></category>
		<category><![CDATA[Win2k8]]></category>
		<category><![CDATA[Win7]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WinXP]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dns cache]]></category>
		<category><![CDATA[domain name server]]></category>
		<category><![CDATA[flush dns]]></category>
		<category><![CDATA[flush dns cache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux flush dns]]></category>
		<category><![CDATA[linux flush dns cache]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac flush dns]]></category>
		<category><![CDATA[mac flush dns cache]]></category>
		<category><![CDATA[nscd daemon]]></category>
		<category><![CDATA[window flush dns]]></category>
		<category><![CDATA[windows flush dns cache]]></category>
		<category><![CDATA[winxp]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2575</guid>
		<description><![CDATA[Tweet Your DNS cache stores the locations (IP addresses) of pages you have recently viewed. DNS cache help to speeds up the lookups within the same host.  But sometimes if the website page change before your DNS cache is updated, you will failed to access the page. For example, you received a web page with [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/08/how-to-clear-dns-cache-in-windows-mac-os-x-and-linux/" data-text="How to clear DNS Cache in Windows, Mac OS X and Linux" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/08/how-to-clear-dns-cache-in-windows-mac-os-x-and-linux/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p>Your DNS cache stores the locations (IP addresses) of pages you have recently viewed. DNS cache help to speeds up the lookups within the same host.  But sometimes if the website page change before your DNS cache is updated, you will failed to access the page. For example, you received a web page with HTML 404 error codes. So you need to flush your DNS cache. Once you clear your DNS cache, your computer will query nameservers for the new DNS information you require.</p>
<p><strong>Clear DNS cache on Windows XP, Vista, Win7<span id="more-2575"></span></strong></p>
<ol>
<li>Open the <em>Start</em> menu.</li>
<li>Go to <em>Run</em>.
<ul>
<li>If you do not see the <em>Run</em> command in Vista, search for &#8220;run&#8221; in the <em>Search</em> bar.</li>
</ul>
</li>
<li>In the <em>Run</em> text box, type: <code>ipconfig /flushdns</code></li>
<li>Press <em>Enter</em> or <em>Return</em>, and your cache will be flushed.</li>
</ol>
<p><strong>To clear DNS cache in Mac OS X 10.5 and above, use the following command:<a name="MacOS"></a></strong></p>
<ol>
<li>Go to <em>Applications</em>.</li>
<li>Go to <em>Utilities</em>.</li>
<li>Open the Terminal application.</li>
<li>Type: <code>dscacheutil -flushcache</code></li>
<li>Press <em>Enter</em> or <em>Return</em>, and your cache will be flushed.</li>
</ol>
<p><strong>Clear DNS cache on Linux (Red Hat / Fedora / CentOS)</strong></p>
<p>Launch your <strong>terminal</strong> and enter following command to flush DNS:-</p>
<blockquote><p>$ sudo /etc/init.d/nscd restart</p></blockquote>
<p>OR</p>
<blockquote><p># service nscd restart</p></blockquote>
<p>&nbsp;</p>
<p>&nbsp;</p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F08%2Fhow-to-clear-dns-cache-in-windows-mac-os-x-and-linux%2F&amp;title=How%20to%20clear%20DNS%20Cache%20in%20Windows%2C%20Mac%20OS%20X%20and%20Linux" id="wpa2a_4"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/08/how-to-clear-dns-cache-in-windows-mac-os-x-and-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to configure static IP Address on Centos 6</title>
		<link>http://www.techkaki.com/2011/08/how-to-configure-static-ip-address-on-centos-6/</link>
		<comments>http://www.techkaki.com/2011/08/how-to-configure-static-ip-address-on-centos-6/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 10:32:51 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2550</guid>
		<description><![CDATA[Tweet First thing that you need to do after installed Centos 6  is to make changes to Network configuration such as assign IP address, change DNS server etc. To do that, just log on as root and change directory to /etc/sysconfig/network-scripts/ to view all available devices. # cd /etc/sysconfig/network-scripts/ You need to edit following files: /etc/sysconfig/network-scripts/ifcfg-eth0 : [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/08/how-to-configure-static-ip-address-on-centos-6/" data-text="How to configure static IP Address on Centos 6" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/08/how-to-configure-static-ip-address-on-centos-6/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/08/centos_logo.jpg"><img class="alignleft size-full wp-image-1810" title="centos_logo" src="http://www.techkaki.com/wp-content/uploads/2010/08/centos_logo.jpg" alt="" width="55" height="55" /></a>First thing that you need to do after installed Centos 6  is to make changes to Network configuration such as assign IP address, change DNS server etc.</p>
<p>To do that, just log on as root and change directory to <em><strong>/etc/sysconfig/network-scripts/ </strong></em>to view all available devices.</p>
<blockquote><p><code># cd /etc/sysconfig/network-scripts/<span id="more-2550"></span></code></p></blockquote>
<p>You need to edit following files:</p>
<ul>
<li><strong>/etc/sysconfig/network-scripts/ifcfg-eth0</strong> : First Ethernet card configuration file</li>
<li><strong>/etc/sysconfig/network-scripts/ifcfg-eth1</strong> : Second Ethernet card configuration file</li>
</ul>
<p>To edit/create first NIC file, type command:<br />
<code></code></p>
<blockquote><p><code># vi ifcfg-eth0</code></p></blockquote>
<p>Append/modify as follows:</p>
<blockquote><p><code> DEVICE=eth0<br />
BOOTPROTO=static<br />
DHCPCLASS=<br />
HWADDR=00:30:48:56:A6:2E<br />
IPADDR=192.168.0.10<br />
NETMASK=255.255.255.0<br />
ONBOOT=yes<br />
</code></p></blockquote>
<p>Save and close the file.</p>
<p>After that, configure the default gateway (router IP) and hostname in <em><strong>/etc/sysconfig/network</strong></em> file:</p>
<blockquote><p><code># vi /etc/sysconfig/network</code></p></blockquote>
<p>Append/modify configuration as follows:<br />
<code></code></p>
<blockquote><p><code>NETWORKING=yes<br />
HOSTNAME=techkaki<br />
GATEWAY=192.168.0.1<br />
</code></p></blockquote>
<p>Save and close the file. Restart networking by enter following command:<br />
<code></code></p>
<blockquote><p><code># /etc/init.d/network restart</code></p></blockquote>
<p>Make sure you have correct DNS server defined in /etc/resolv.conf file:<br />
<code></code></p>
<blockquote><p><code># vi /etc/resolv.conf</code></p></blockquote>
<p>Setup DNS Server as follows:<br />
<code></code></p>
<blockquote><p><code>nameserver 8.8.8.8<br />
nameserver 8.8.4.4<br />
nameserver 202.67.222.222</code></p></blockquote>
<p>Save and close the file. Now you can ping the gateway/other hosts:<br />
<code></code></p>
<blockquote><p><code>$ ping 192.168.0.1</code></p></blockquote>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F08%2Fhow-to-configure-static-ip-address-on-centos-6%2F&amp;title=How%20to%20configure%20static%20IP%20Address%20on%20Centos%206" id="wpa2a_6"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/08/how-to-configure-static-ip-address-on-centos-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove Apache 2 Test Page in CentOS/REHL/Fedora</title>
		<link>http://www.techkaki.com/2011/06/how-to-remove-apache-2-test-page-in-centosrehlfedora/</link>
		<comments>http://www.techkaki.com/2011/06/how-to-remove-apache-2-test-page-in-centosrehlfedora/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 14:06:50 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[apache welcome page]]></category>
		<category><![CDATA[disable apache 2 test page]]></category>
		<category><![CDATA[how to disable http test page]]></category>
		<category><![CDATA[remove apache welcome page]]></category>
		<category><![CDATA[web test page]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2389</guid>
		<description><![CDATA[Tweet I just installed Apache web server on my Fedora 15 system. After starting HTTP (Apache web server) in Linux &#38; pointing your web browser to http://localhost, you will see below test page. This means your server has configures &#38; ready to use. Question: Is it anyway to remove this Apache Test Page? Answer: Yes, [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/06/how-to-remove-apache-2-test-page-in-centosrehlfedora/" data-text="How to remove Apache 2 Test Page in CentOS/REHL/Fedora" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/06/how-to-remove-apache-2-test-page-in-centosrehlfedora/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p>I just installed Apache web server on my <strong>Fedora 15</strong> system. After starting HTTP (Apache web server) in Linux &amp; pointing your web  browser to <strong>http://localhost</strong>, you will see below test page. This means  your server has configures &amp; ready to use.</p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/06/Fedora-Apache-Test-Page.png"><img class="alignnone size-full wp-image-2394" title="Fedora Apache Test Page" src="http://www.techkaki.com/wp-content/uploads/2011/06/Fedora-Apache-Test-Page.png" alt="" width="442" height="342" /></a><span id="more-2389"></span></p>
<p>Question: Is it anyway to remove this Apache Test Page?</p>
<p>Answer: Yes, you can disable this page if you don’t want it.</p>
<h3>To remove apache test page in CentOS/REHL/Fedora, follow the steps below:-</h3>
<ul>
<li>Start your Terminal and login to your web server thru SSH</li>
<li>Once logged in, enter following command to remove the test page (Pls make sure you login as root)</li>
</ul>
<blockquote><p>[root@www ~]# rm -f /etc/httpd/conf.d/welcome.conf</p>
<p>[root@www ~]# rm -f /var/www/error/noindex.html</p></blockquote>
<ul>
<li>now reload your apache web server</li>
</ul>
<blockquote><p>[root@www ~]# service httpd reload</p></blockquote>
<p>Now  try to open your browser and enter <strong>http://localhost</strong>.  You shouldn&#8217;t see any Apache Test Page again.</p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/06/Fedora-Apache-Index-page.png"><img class="alignnone size-full wp-image-2398" title="Fedora Apache Index page" src="http://www.techkaki.com/wp-content/uploads/2011/06/Fedora-Apache-Index-page.png" alt="" width="404" height="424" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F06%2Fhow-to-remove-apache-2-test-page-in-centosrehlfedora%2F&amp;title=How%20to%20remove%20Apache%202%20Test%20Page%20in%20CentOS%2FREHL%2FFedora" id="wpa2a_8"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/06/how-to-remove-apache-2-test-page-in-centosrehlfedora/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Centos 5.6: Find PHP Version using Command Line</title>
		<link>http://www.techkaki.com/2011/05/centos-5-6-find-php-version-using-command-line/</link>
		<comments>http://www.techkaki.com/2011/05/centos-5-6-find-php-version-using-command-line/#comments</comments>
		<pubDate>Mon, 30 May 2011 08:59:39 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[check php version command line]]></category>
		<category><![CDATA[Find PHP Version]]></category>
		<category><![CDATA[get php version command line]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2328</guid>
		<description><![CDATA[Tweet I wanted to install phpmyadmin on Centos 5.6 Machine. I check from phpmyadmin official web site, phpmyadmin requires at least PHP 5.2 and MySQL 5. I have to check my php version 1st before start install. Here is a useful command to display or show what version of php you have installed in your [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/05/centos-5-6-find-php-version-using-command-line/" data-text="Centos 5.6: Find PHP Version using Command Line" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/05/centos-5-6-find-php-version-using-command-line/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/08/centos_logo.jpg"><img class="alignleft size-full wp-image-1810" title="centos_logo" src="http://www.techkaki.com/wp-content/uploads/2010/08/centos_logo.jpg" alt="" width="100" height="100" /></a>I wanted to install phpmyadmin on Centos 5.6 Machine. I check from phpmyadmin official web site, phpmyadmin requires at least PHP 5.2 and MySQL 5. I have to check my php version 1st before start install.</p>
<p>Here  is a useful command to display or show what version of php you have  installed in your Linux Machine.</p>
<p>Just enter following command to check your <strong>PHP</strong> Version</p>
<blockquote><p>root@raptor(~)<br />
[ 2]# php -v<br />
PHP 5.1.6 (cli) (built: Nov 29 2010 16:47:46)<br />
Copyright (c) 1997-2006 The PHP Group<br />
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies</p></blockquote>
<p>Once you enter the <strong>php -v</strong> command, you should able to see the result like what i show you above, if you don&#8217;t get something like the above, then it means that you don&#8217;t have php installed in your server.</p>
<p>&nbsp;</p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F05%2Fcentos-5-6-find-php-version-using-command-line%2F&amp;title=Centos%205.6%3A%20Find%20PHP%20Version%20using%20Command%20Line" id="wpa2a_10"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/05/centos-5-6-find-php-version-using-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Mysql, Apache, and PHP on CentOS 5.6</title>
		<link>http://www.techkaki.com/2011/05/how-to-install-mysql-apache-and-php-on-centos-5-6-linux/</link>
		<comments>http://www.techkaki.com/2011/05/how-to-install-mysql-apache-and-php-on-centos-5-6-linux/#comments</comments>
		<pubDate>Wed, 25 May 2011 15:15:29 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos LAMP]]></category>
		<category><![CDATA[how to install apache]]></category>
		<category><![CDATA[how to install mysql]]></category>
		<category><![CDATA[how to install php]]></category>
		<category><![CDATA[install LAMP on centos 5.6]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2309</guid>
		<description><![CDATA[Tweet Recently, I just install my new CentOS 5.6.(CentOS is the open source equivalent to the Red Hat Linux operating system). I want to setup LAMP on my Centos 5.6 as my development environment to customize my wordpress theme. I will install the LAMP using yum command. Here are the simple steps:- Before start the [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/05/how-to-install-mysql-apache-and-php-on-centos-5-6-linux/" data-text="How to install Mysql, Apache, and PHP on CentOS 5.6" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/05/how-to-install-mysql-apache-and-php-on-centos-5-6-linux/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p>Recently, I just install my new CentOS 5.6.(CentOS is the open source  equivalent to the Red Hat Linux operating system). I want to setup LAMP on my Centos 5.6 as my development environment to customize my wordpress theme. I will install the LAMP using yum command.</p>
<p>Here are the simple steps:-</p>
<p>Before start the installation, please ensure that all of your repositories and packages are up to date.<span id="more-2309"></span></p>
<blockquote><p>yum check-update</p>
<p>yum update</p></blockquote>
<div>
<h4>Install Apache</h4>
<p>Run the following commands to install Apache, set it to run on startup, and start the services</p>
<blockquote><p>yum install httpd</p>
<p>chkconfig httpd on</p>
<p>service httpd start</p></blockquote>
<h4>Install Mysql</h4>
<p>Run the following commands:</p>
<blockquote><p>yum install mysql-server</p>
<p>yum install mysql</p>
<p>yum install mysql-devel</p>
<p>service mysqld start</p>
<p>chkconfig mysqld on</p></blockquote>
<h4>Install PHP</h4>
<p>To install PHP and the PHP module for MySQL, just run the following commands</p>
<blockquote><p>yum install php php-mysql</p></blockquote>
<p>&nbsp;</p>
</div>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F05%2Fhow-to-install-mysql-apache-and-php-on-centos-5-6-linux%2F&amp;title=How%20to%20install%20Mysql%2C%20Apache%2C%20and%20PHP%20on%20CentOS%205.6" id="wpa2a_12"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/05/how-to-install-mysql-apache-and-php-on-centos-5-6-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change the timezone on CentOS/RHEL</title>
		<link>http://www.techkaki.com/2011/05/how-to-change-the-timezone-on-centosrhel/</link>
		<comments>http://www.techkaki.com/2011/05/how-to-change-the-timezone-on-centosrhel/#comments</comments>
		<pubDate>Mon, 23 May 2011 15:13:16 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[RedHat]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2298</guid>
		<description><![CDATA[Tweet I noticed that my Centos Server logs is not on the correct time. I tried to check the time from the command line and found that the timezone is pointing to the wrong timezone root@thundercat ~]# date Mon May 23 00:21:56 EDT 2011 How to change it? There are two ways to change the [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/05/how-to-change-the-timezone-on-centosrhel/" data-text="How to change the timezone on CentOS/RHEL" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/05/how-to-change-the-timezone-on-centosrhel/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p>I noticed that my Centos Server logs is not on the correct time. I tried to check the time from the command line and found that  the timezone is pointing to the wrong timezone</p>
<blockquote><p>root@thundercat ~]# date<br />
Mon May 23 00:21:56 EDT 2011</p></blockquote>
<p><span style="color: #000000;"><small><small><big><big></big></big></small></small></span>How to change it? There are two ways to change the timezone on CentOS.<span id="more-2298"></span></p>
<p><strong>1. Set the timezone by running system-config-date command</strong></p>
<p>Type the <strong>system-config-date</strong> command at the command line to start the time and date properties tool. After that, just follow on screen instructions to change timezone.</p>
<p><strong>2. Set timezone using /etc/localtime configuration file</strong></p>
<p><span style="font-family: Helvetica,Arial,sans-serif;">It is very easy to change the Timezone from /etc/localtime. Just create a new soft link for /etc/localtime to /usr/share/zoneinfo (</span><span style="font-family: Helvetica,Arial,sans-serif;"><span style="color: #660000;"><span style="color: #000099;"><span style="color: #000000;">directory contains   the  time zone files)</span></span></span></span></p>
<p><span style="font-family: Helvetica,Arial,sans-serif;">Below are the steps to do it:-<br />
</span></p>
<ul>
<li>Just make a backup of the existing localtime file</li>
</ul>
<blockquote><p>mv /etc/localtime /etc/localtime.bak</p></blockquote>
<ul>
<li>Create a new soft link for /etc/localtime</li>
</ul>
<blockquote>
<div>ln -s /usr/share/zoneinfo/Asia/Kuala_Lumpur /etc/localtime</div>
</blockquote>
<ul>
<li>To test your change. Run the “date” command to ensure that the appropriate time, date, and timezone are reported.</li>
</ul>
<blockquote><p>[root@thundercat ~]# date<br />
Mon May 23 12:23:27 MYT 2011</p></blockquote>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F05%2Fhow-to-change-the-timezone-on-centosrhel%2F&amp;title=How%20to%20change%20the%20timezone%20on%20CentOS%2FRHEL" id="wpa2a_14"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/05/how-to-change-the-timezone-on-centosrhel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to limit SSH access by IP Address</title>
		<link>http://www.techkaki.com/2011/05/how-to-limit-ssh-access-by-ip-address/</link>
		<comments>http://www.techkaki.com/2011/05/how-to-limit-ssh-access-by-ip-address/#comments</comments>
		<pubDate>Mon, 09 May 2011 14:20:26 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2104</guid>
		<description><![CDATA[Tweet To Secure your Linux server and prevent attacks, you can limit SSHd to certain IP addresses by modify the /etc/hosts.allow and /etc/host.deny files Below are the few steps :- 1) Open /etc/hosts.allow Use the following command to open the hosts.allow file: vi /etc/hosts.allow Once this file is open, add the following line: SSHD : [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/05/how-to-limit-ssh-access-by-ip-address/" data-text="How to limit SSH access by IP Address" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/05/how-to-limit-ssh-access-by-ip-address/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<div>To Secure your Linux server and prevent attacks, you can  limit SSHd to certain IP addresses by modify the /etc/hosts.allow and         /etc/host.deny files</div>
<p>Below are the few steps :-</p>
<p>1) Open /etc/hosts.allow</p>
<p>Use the following command to open the hosts.allow file:</p>
<div>
<blockquote>
<div>vi /etc/hosts.allow</div>
</blockquote>
</div>
<p>Once this file is open, add the following line:</p>
<div>
<blockquote>
<div>SSHD : ipaddress : ALLOW</div>
</blockquote>
</div>
<p>2) Open /etc/hosts.deny</p>
<p>Use the following command to open the hosts.deny file:</p>
<div>
<blockquote>
<div>vi /etc/hosts.deny</div>
</blockquote>
</div>
<p>Once it opens, add the following line to the file:</p>
<div>
<blockquote>
<div>SSHD : ALL : DENY</div>
</blockquote>
</div>
<p>Save and exit, and you have successfully limited SSH access by IP address.</p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F05%2Fhow-to-limit-ssh-access-by-ip-address%2F&amp;title=How%20to%20limit%20SSH%20access%20by%20IP%20Address" id="wpa2a_16"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/05/how-to-limit-ssh-access-by-ip-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to upgrade Centos 5.5 to Centos 5.6</title>
		<link>http://www.techkaki.com/2011/04/how-to-upgrade-centos-5-5-to-centos-5-6/</link>
		<comments>http://www.techkaki.com/2011/04/how-to-upgrade-centos-5-5-to-centos-5-6/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 03:58:30 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Centos Upgrade]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2158</guid>
		<description><![CDATA[Tweet Latest version of Centos (Centos 5.6) has been released and it available for download. Below are the major changes in Centos 5.6 The CentOS team is pleased to announce the availability of CentOS 5.6. Major changes in CentOS 5.6 compared to CentOS 5.5 include: ext4 is now a fully supported file system libvirt was [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/04/how-to-upgrade-centos-5-5-to-centos-5-6/" data-text="How to upgrade Centos 5.5 to Centos 5.6" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/04/how-to-upgrade-centos-5-5-to-centos-5-6/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/08/centos_logo.jpg"><img class="alignleft size-full wp-image-1810" title="centos_logo" src="http://www.techkaki.com/wp-content/uploads/2010/08/centos_logo.jpg" alt="" width="53" height="53" /></a>Latest version of Centos (Centos 5.6) has been released and it available for download.</p>
<p>Below are the major changes in Centos 5.6</p>
<blockquote><p>The CentOS team is pleased to announce the availability of CentOS 5.6. Major changes in CentOS 5.6 compared to CentOS 5.5 include:</p>
<p>ext4 is now a fully supported file system<br />
libvirt was updated to 0.8.2<br />
bind was updated to 9.7 and supports NSEC3 now.<br />
ebtables was added<br />
php53 is available as a php replacement.<br />
System Security Services Daemon (SSSD) has been added.</p>
<p>Other upgrades include newer version of several wireless drivers, Samba3x, ghostscript, LVM, mod_nss, subversion and gcc, plus others.<span id="more-2158"></span></p></blockquote>
<p>To download Cents 5.6 image, click <a href="http://isoredirect.centos.org/centos/5/isos/">HERE</a> to download</p>
<p>Besides, Centos 5.6 also available via mirrors for immediate update. You can use yum command to upgrade your Centos to latest Centos 5.6.</p>
<p>Below are the steps that i use to upgrade my Centos 5.5 to Cento 5.6</p>
<p>Step 1: Backup your Data</p>
<ul>
<li> Before you start do any upgrade, please do a backup for your system to prevent any data lost or corrupt.</li>
</ul>
<p>Step 2: Type the following command to update and upgrade your Centos 5.5</p>
<blockquote><p>[root@baggies ~]# yum clean all</p>
<p>[root@baggies ~]# yum update glibc\*</p>
<p>[root@baggies ~]# yum update yum\* rpm\* python\*</p>
<p>[root@baggies ~]# yum clean all</p>
<p>[root@baggies ~]# yum update -y</p></blockquote>
<p>Step 3: To verify your upgrade, just enter the following command</p>
<blockquote><p>[root@baggies ~]# cat /etc/redhat-release</p>
<p>CentOS release 5.6 (Final)</p></blockquote>
<p>Step 4: Reboot your Server</p>
<p>&nbsp;</p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F04%2Fhow-to-upgrade-centos-5-5-to-centos-5-6%2F&amp;title=How%20to%20upgrade%20Centos%205.5%20to%20Centos%205.6" id="wpa2a_18"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/04/how-to-upgrade-centos-5-5-to-centos-5-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to update OpenSSH via Yum Centos/RedHat</title>
		<link>http://www.techkaki.com/2011/02/how-to-update-openssh-via-yum-centosredhat/</link>
		<comments>http://www.techkaki.com/2011/02/how-to-update-openssh-via-yum-centosredhat/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 04:38:04 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1967</guid>
		<description><![CDATA[Tweet It is easy to update your SSH via yum. To do so, simply SSH into your linux server. Once logged in, type the the following; #yum update openssh This will update the openssh process, openssh-clients and openssh-server. To verify what version of openssh you are running, you can type the following commend; #ssh -V [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/02/how-to-update-openssh-via-yum-centosredhat/" data-text="How to update OpenSSH via Yum Centos/RedHat" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/02/how-to-update-openssh-via-yum-centosredhat/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p>It is easy to update your SSH via yum. To do so, simply SSH into your linux server. Once logged in, type the the following;</p>
<blockquote><p><code>#<strong>yum update openssh</strong></code></p></blockquote>
<p><strong> </strong>This will update the openssh process, openssh-clients and openssh-server.</p>
<p>To verify what version of openssh you are running, you can type the following commend;</p>
<blockquote><p>#<strong>ssh -V</strong></p></blockquote>
<p>Your server will then reply back with the version;</p>
<blockquote><p>[root@XXXXXXX ~]# <strong>ssh -V</strong><br />
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008</p></blockquote>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F02%2Fhow-to-update-openssh-via-yum-centosredhat%2F&amp;title=How%20to%20update%20OpenSSH%20via%20Yum%20Centos%2FRedHat" id="wpa2a_20"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/02/how-to-update-openssh-via-yum-centosredhat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

