<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>[How2CentOS] CentOS Tutorials</title>
	
	<link>http://www.how2centos.com</link>
	<description>CentOS Tutorials</description>
	<lastBuildDate>Sat, 04 Feb 2012 17:12:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/how2centos" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="how2centos" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">how2centos</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Download CentOS 6.2 iso</title>
		<link>http://www.how2centos.com/download-centos-6-2-iso/</link>
		<comments>http://www.how2centos.com/download-centos-6-2-iso/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 17:10:19 +0000</pubDate>
		<dc:creator>How2CentOS</dc:creator>
				<category><![CDATA[CentOS 6.2 Tutorials]]></category>

		<guid isPermaLink="false">http://www.how2centos.com/?p=2427</guid>
		<description><![CDATA[CentOS 6.2 Downloads You can download CentOS 6.2 via the web/ftp server or via BitTorrent (recommended) client. CentOS 6.2 DVD ISO downloads Download CentOS 6.2 32 bit DVD ISO CentOS-6.2-i386-bin-DVD1.iso and CentOS-6.2-i386-bin-DVD2.iso Download CentOS 6.2 64 bit DVD ISO CentOS-6.2-x86_64-bin-DVD1.iso and CentOS-6.2-x86_64-bin-DVD2.iso CentOS 6.2 DVD ISO Torrents Torrent files for the DVD&#8217;s are available at<a href="http://www.how2centos.com/download-centos-6-2-iso/"> <br /><br /> (More)…</a>]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/mIj-nA7XJprVVzfzrmriE-CKImM/0/da"><img src="http://feedads.g.doubleclick.net/~a/mIj-nA7XJprVVzfzrmriE-CKImM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/mIj-nA7XJprVVzfzrmriE-CKImM/1/da"><img src="http://feedads.g.doubleclick.net/~a/mIj-nA7XJprVVzfzrmriE-CKImM/1/di" border="0" ismap="true"></img></a></p><p><img src="http://www.how2centos.com/wp-content/uploads/2009/05/centos.gif" alt="CentOS Logo" title="centos" width="42" height="40" class="alignleft size-full wp-image-225" /></p>
<h3>CentOS 6.2 Downloads</h3>
<p>You can download CentOS 6.2 via the web/ftp server or via BitTorrent (recommended) client.</p>
<h3>CentOS 6.2 DVD ISO downloads</h3>
<ul>
<li>Download CentOS 6.2 32 bit DVD ISO <a target="_blank"  href="http://ftp.wa.co.za/pub/centos/6.2/isos/i386/CentOS-6.2-i386-bin-DVD1.iso">CentOS-6.2-i386-bin-DVD1.iso</a> and <a href="http://ftp.wa.co.za/pub/centos/6.2/isos/i386/CentOS-6.2-i386-bin-DVD2.iso">CentOS-6.2-i386-bin-DVD2.iso</a></li>
<li>Download CentOS 6.2 64 bit DVD ISO <a  target="_blank" href="http://ftp.wa.co.za/pub/centos/6.2/isos/x86_64/CentOS-6.2-x86_64-bin-DVD1.iso">CentOS-6.2-x86_64-bin-DVD1.iso</a> and <a href="http://ftp.wa.co.za/pub/centos/6.2/isos/x86_64/CentOS-6.2-x86_64-bin-DVD2.iso">CentOS-6.2-x86_64-bin-DVD2.iso</a></li>
</ul>
<h3>CentOS 6.2 DVD ISO Torrents</h3>
<p>Torrent files for the DVD&#8217;s are available at the following location:</p>
<ul>
<li><a href="http://ftp.wa.co.za/pub/centos/6.2/isos/i386/CentOS-6.2-i386-bin-DVD1to2.torrent">Download CentOS 64 i386 torrent file</a></li>
<li><a href="http://ftp.wa.co.za/pub/centos/6.2/isos/x86_64/CentOS-6.2-x86_64-bin-DVD1to2.torrent">Download CentOS 64 x86_64 torrent file</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/how2centos/~4/5RM4z0RxBE4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.how2centos.com/download-centos-6-2-iso/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS Warning: RPMDB altered outside of yum</title>
		<link>http://www.how2centos.com/centos-warning-rpmdb-altered-outside-of-yum/</link>
		<comments>http://www.how2centos.com/centos-warning-rpmdb-altered-outside-of-yum/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 12:07:47 +0000</pubDate>
		<dc:creator>How2CentOS</dc:creator>
				<category><![CDATA[CentOS 5.5 Tutorials]]></category>
		<category><![CDATA[CentOS 5.6 Tutorials]]></category>
		<category><![CDATA[CentOS 5.7 Tutorials]]></category>
		<category><![CDATA[CentOS 6 Tutorials]]></category>

		<guid isPermaLink="false">http://www.how2centos.com/?p=2312</guid>
		<description><![CDATA[When trying to update your server via the yum command you might see the following error / warning message: Warning: RPMDB altered outside of yum. # yum install nethogs Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.cogentco.com * epel: mirror.cogentco.com * extras: mirror.vcu.edu * ius: mirror.rackspace.com * updates: centos.aol.com Setting up<a href="http://www.how2centos.com/centos-warning-rpmdb-altered-outside-of-yum/"> <br /><br /> (More)…</a>]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/l3xE-wHkxDM36J7p-Q4n2R6bHUQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/l3xE-wHkxDM36J7p-Q4n2R6bHUQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/l3xE-wHkxDM36J7p-Q4n2R6bHUQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/l3xE-wHkxDM36J7p-Q4n2R6bHUQ/1/di" border="0" ismap="true"></img></a></p><p><img src="http://www.how2centos.com/wp-content/uploads/2009/05/centos.gif" alt="CentOS 6 Logo" width="42" height="40" class="alignleft size-full wp-image-225"/> When trying to update your server via the yum command you might see the following error / warning message:</p>
<p>Warning: RPMDB altered outside of yum.</p>
<blockquote><p>
# yum install nethogs<br />
Loaded plugins: fastestmirror<br />
Loading mirror speeds from cached hostfile<br />
 * base: mirror.cogentco.com<br />
 * epel: mirror.cogentco.com<br />
 * extras: mirror.vcu.edu<br />
 * ius: mirror.rackspace.com<br />
 * updates: centos.aol.com<br />
Setting up Install Process<br />
Resolving Dependencies<br />
&#8211;> Running transaction check<br />
&#8212;> Package nethogs.x86_64 0:0.8.0-1.el6 set to be updated<br />
&#8211;> Finished Dependency Resolution</p>
<p>Dependencies Resolved</p>
<pre>
====================================================================
 Package       Arch            Version          Repository     Size
====================================================================
Installing:
 nethogs      x86_64           0.8.0-1.el6      epel          28 k

Transaction Summary
====================================================================
Install       1 Package(s)
Upgrade       0 Package(s)
</pre>
<p>Total download size: 28 k<br />
Installed size: 53 k<br />
Is this ok [y/N]: y<br />
Downloading Packages:<br />
nethogs-0.8.0-1.el6.x86_64.rpm                                   |  28 kB     00:00<br />
Running rpm_check_debug<br />
Running Transaction Test<br />
Transaction Test Succeeded<br />
Running Transaction</p>
<h4>Warning: RPMDB altered outside of yum.</h4>
<p>  Installing     : nethogs-0.8.0-1.el6.x86_64                                       1/1</p>
<p>Installed:<br />
  nethogs.x86_64 0:0.8.0-1.el6</p>
<p>Complete!
</p></blockquote>
<h3>How do you fix this problem?</h3>
<blockquote><p>
# yum clean all
</p></blockquote>
<img src="http://feeds.feedburner.com/~r/how2centos/~4/o5fDQ7YzaBI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.how2centos.com/centos-warning-rpmdb-altered-outside-of-yum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS Change Timezone</title>
		<link>http://www.how2centos.com/centos-change-timezone/</link>
		<comments>http://www.how2centos.com/centos-change-timezone/#comments</comments>
		<pubDate>Sat, 29 Oct 2011 15:22:32 +0000</pubDate>
		<dc:creator>How2CentOS</dc:creator>
				<category><![CDATA[CentOS 5.5 Tutorials]]></category>
		<category><![CDATA[CentOS 5.6 Tutorials]]></category>
		<category><![CDATA[CentOS 5.7 Tutorials]]></category>
		<category><![CDATA[CentOS 6 Tutorials]]></category>

		<guid isPermaLink="false">http://www.how2centos.com/?p=2269</guid>
		<description><![CDATA[After installing CentOS we sometimes see that the date is not in our desired timezone, instead it defaulted to the PST timezone. So here is a quick guide to change your local timezone. Set timezone using /etc/localtime configuration file The more generic procedure to change the timezone is to create a symlink to file localtime<a href="http://www.how2centos.com/centos-change-timezone/"> <br /><br /> (More)…</a>]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/qWRuNMqA1eyH0MW2W-BivDYfWrI/0/da"><img src="http://feedads.g.doubleclick.net/~a/qWRuNMqA1eyH0MW2W-BivDYfWrI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/qWRuNMqA1eyH0MW2W-BivDYfWrI/1/da"><img src="http://feedads.g.doubleclick.net/~a/qWRuNMqA1eyH0MW2W-BivDYfWrI/1/di" border="0" ismap="true"></img></a></p><p><img src="http://www.how2centos.com/wp-content/uploads/2009/05/centos.gif" alt="CentOS 6 Logo" width="42" height="40" class="alignleft size-full wp-image-225"/> After installing CentOS we sometimes see that the date is not in our desired timezone, instead it defaulted to the PST timezone. So here is a quick guide to change your local timezone.</p>
<h3>Set timezone using /etc/localtime configuration file</h3>
<p>The more generic procedure to change the timezone is to create a symlink to file localtime</p>
<blockquote><p>
# ln -sf /usr/share/zoneinfo/Africa/Johannesburg /etc/localtime
</p></blockquote>
<p>OR you can copy and replace the current localtime setting</p>
<blockquote><p>
# cp /usr/share/zoneinfo/Africa/Johannesburg /etc/localtime
</p></blockquote>
<p>To verify that your timezone is changed use the date command:</p>
<blockquote><p>
# date
</p></blockquote>
<p><span id="more-2269"></span><br />
<script type="text/javascript">var amzn_wdgt= { widgetType:"SearchAndAdd", searchIndex:"All", title:"CentOS Books", width:"555", height:"200", keywords:"centos", shuffleProducts:"true", showBorder:"off", marketPlace:"US", widget:"Carousel", tag:"wp-amazon-associate-20" };</script><script type="text/javascript" src="http://wms.assoc-amazon.com/20070822/US/js/swfobject_1_5.js"></script></p>
<img src="http://feeds.feedburner.com/~r/how2centos/~4/dQtOZsyjuoE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.how2centos.com/centos-change-timezone/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Remove all i386 packages from CentOS 5 x86_64</title>
		<link>http://www.how2centos.com/removing-all-i386-packages-from-centos-5-x86_64-server/</link>
		<comments>http://www.how2centos.com/removing-all-i386-packages-from-centos-5-x86_64-server/#comments</comments>
		<pubDate>Sat, 29 Oct 2011 09:27:55 +0000</pubDate>
		<dc:creator>How2CentOS</dc:creator>
				<category><![CDATA[CentOS 5.5 Tutorials]]></category>
		<category><![CDATA[CentOS 5.6 Tutorials]]></category>
		<category><![CDATA[CentOS 5.7 Tutorials]]></category>

		<guid isPermaLink="false">http://www.how2centos.com/?p=2261</guid>
		<description><![CDATA[A quick solution to duplicate packet installation. This tutorial will show you how to remove all i386 packages from CentOS 5 x86_64 server # yum remove \*.i\?86]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/2BtHgwHr7V3mWMPA7ZJ8B34ATfc/0/da"><img src="http://feedads.g.doubleclick.net/~a/2BtHgwHr7V3mWMPA7ZJ8B34ATfc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/2BtHgwHr7V3mWMPA7ZJ8B34ATfc/1/da"><img src="http://feedads.g.doubleclick.net/~a/2BtHgwHr7V3mWMPA7ZJ8B34ATfc/1/di" border="0" ismap="true"></img></a></p><p><img src="http://www.how2centos.com/wp-content/uploads/2009/05/centos.gif" alt="CentOS 6 Logo" width="42" height="40" class="alignleft size-full wp-image-225" /> A quick solution to duplicate packet installation. This tutorial will show you how to remove all i386 packages from CentOS 5 x86_64 server</p>
<blockquote><p>
# yum remove \*.i\?86
</p></blockquote>
<img src="http://feeds.feedburner.com/~r/how2centos/~4/KnbBV-Te83U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.how2centos.com/removing-all-i386-packages-from-centos-5-x86_64-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BIOS and Firmware Updates Using Dell Linux Repository</title>
		<link>http://www.how2centos.com/bios-and-firmware-updates-using-dell-linux-repository/</link>
		<comments>http://www.how2centos.com/bios-and-firmware-updates-using-dell-linux-repository/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 13:08:51 +0000</pubDate>
		<dc:creator>How2CentOS</dc:creator>
				<category><![CDATA[CentOS 5.6 Tutorials]]></category>
		<category><![CDATA[CentOS 5.7 Tutorials]]></category>
		<category><![CDATA[CentOS 6 Tutorials]]></category>

		<guid isPermaLink="false">http://www.how2centos.com/?p=2243</guid>
		<description><![CDATA[You can update your CentOS 6 system to the latest version or to a specific version of the BIOS and firmware available in the Dell Linux online repository. You can inventory your CentOS 6 system, scan the repository for matching firmware with newer version using repository management software such as yum. Firmware-tools are used to<a href="http://www.how2centos.com/bios-and-firmware-updates-using-dell-linux-repository/"> <br /><br /> (More)…</a>]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/agUanLt1g_bxwM4nenyQB1OKo0o/0/da"><img src="http://feedads.g.doubleclick.net/~a/agUanLt1g_bxwM4nenyQB1OKo0o/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/agUanLt1g_bxwM4nenyQB1OKo0o/1/da"><img src="http://feedads.g.doubleclick.net/~a/agUanLt1g_bxwM4nenyQB1OKo0o/1/di" border="0" ismap="true"></img></a></p><p><img src="http://www.how2centos.com/wp-content/uploads/2009/05/centos.gif" alt="CentOS 6 Logo" width="42" height="40" class="alignleft size-full wp-image-225" /> You can update your CentOS 6 system to the latest version or to a specific version of the BIOS and firmware available in the Dell Linux online repository. You can inventory your CentOS 6 system, scan the repository for matching firmware with newer version using repository management software such as yum.</p>
<p>Firmware-tools are used to update BIOS and firmware on your system. Using a repository management software, you can easily update your BIOS and firmware to the latest or specific versions on your system.</p>
<h3>Setting Up/Bootstrapping the Repository</h3>
<p>To setup/bootstrap the Dell Linux online repository on your CentOS 6 sever, run the following command at the command prompt:</p>
<blockquote><p>
# wget &#45;q &#45;O &#45; http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash
</p></blockquote>
<p>The system is configured to access the Dell Linux online repository using supported repository management software. The Dell GPG keys and libsmbios (BIOS library) are also installed.</p>
<h3>Installing Firmware Tools</h3>
<blockquote><p>
# yum install dell_ft_install
</p></blockquote>
<h3>Downloading Applicable Firmware</h3>
<blockquote><p>
# yum install $(bootstrap_firmware)
</p></blockquote>
<p>You can also inventory your system for the list of existing versions of BIOS and firmware using the following command:</p>
<blockquote><p>
# inventory_firmware
</p></blockquote>
<h3>Updating BIOS and Firmware Using CLI</h3>
<p>Run the following command to inventory the system and scan the repository for new versions of components:</p>
<blockquote><p>
# update_firmware
</p></blockquote>
<p>This command provides information about the existing versions of components on your system and the list of component versions that are available to be installed.</p>
<p>To install all applicable BIOS and firmware updates on your system, run the following command:</p>
<blockquote><p>
# update_firmware &#45;&#45;yes
</p></blockquote>
<p>Once the devices are updated, the &#8220;Execution Success&#8221; message is displayed.</p>
<h3>Automatically Update Firmware</h3>
<p>By default, installing a BIOS or firmware RPM does not apply the update to the hardware. The update is manually applied using the update_firmware command. However, you can automatically update the hardware during RPM installation by configuring the /etc/firmware/firmware.conf file.</p>
<p>To automatically install BIOS and firmware updates, ensure that rpm_mode is set to auto in the firmware.conf file as shown:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>main<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Automatically install BIOS updates when an RPM BIOS Update file is installed</span>
<span style="color: #666666; font-style: italic;"># values: 'auto', 'manual'</span>
<span style="color: #666666; font-style: italic;"># default: 'manual'</span>
<span style="color: #007800;">rpm_mode</span>=auto</pre></td></tr></table></div>

<h3>Viewing Log Information</h3>
<blockquote><p>
# cat /var/log/firmware-updates.log
</p></blockquote>
<img src="http://feeds.feedburner.com/~r/how2centos/~4/4wxkRNSbJ7E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.how2centos.com/bios-and-firmware-updates-using-dell-linux-repository/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CentOS 6 Channel Bonding</title>
		<link>http://www.how2centos.com/centos-6-channel-bonding/</link>
		<comments>http://www.how2centos.com/centos-6-channel-bonding/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 09:10:29 +0000</pubDate>
		<dc:creator>How2CentOS</dc:creator>
				<category><![CDATA[CentOS 6 Tutorials]]></category>

		<guid isPermaLink="false">http://www.how2centos.com/?p=2229</guid>
		<description><![CDATA[CentOS 6 Channel Bonding allows administrators to bind multiple network interfaces together into a single channel using the bonding kernel module and a special network interface called a channel bonding interface. Channel bonding enables two or more network interfaces to act as one, simultaneously increasing the bandwidth and providing redundancy. CentOS 6 Channel Bonding Channel<a href="http://www.how2centos.com/centos-6-channel-bonding/"> <br /><br /> (More)…</a>]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/MhP3FP3BYtY2QVZY5W9Xfc7a5Z4/0/da"><img src="http://feedads.g.doubleclick.net/~a/MhP3FP3BYtY2QVZY5W9Xfc7a5Z4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/MhP3FP3BYtY2QVZY5W9Xfc7a5Z4/1/da"><img src="http://feedads.g.doubleclick.net/~a/MhP3FP3BYtY2QVZY5W9Xfc7a5Z4/1/di" border="0" ismap="true"></img></a></p><p><img src="http://www.how2centos.com/wp-content/uploads/2009/05/centos.gif" alt="centos" title="centos" width="42" height="40" class="alignleft size-full wp-image-225" />CentOS 6 Channel Bonding allows administrators to bind multiple network interfaces together into a single channel using the bonding kernel module and a special network interface called a channel bonding interface. Channel bonding enables two or more network interfaces to act as one, simultaneously increasing the bandwidth and providing redundancy.</p>
<h3>CentOS 6 Channel Bonding</h3>
<p>Channel bonding (also known as &#8220;Ethernet bonding&#8221;) is a computer networking arrangement in which two or more network interfaces on a host computer are combined for redundancy or increased throughput.</p>
<p><strong>mode=0 (Balance-rr)</strong> &#8211; This mode provides load balancing and fault tolerance.<br />
<strong>mode=1 (active-backup)</strong> &#8211; This mode provides fault tolerance.<br />
<strong>mode=2 (balance-xor)</strong> &#8211; This mode provides load balancing and fault tolerance.<br />
<strong>mode=3 (broadcast)</strong> &#8211; This mode provides fault tolerance.<br />
<strong>mode=4 (802.3ad)</strong> &#8211; This mode provides load balancing and fault tolerance.<br />
<strong>mode=5 (balance-tlb)</strong> &#8211; Prerequisite: Ethtool support in the base drivers for retrieving the speed of each slave.<br />
<strong>mode=6 (balance-alb)</strong> &#8211; Prerequisite: Ethtool support in the base drivers for retrieving the speed of each slave.<br />
<span id="more-2229"></span><br />
<strong>Note:</strong> Always append extra configuration in case of a rollback.</p>
<h3>Configuring Channel Bonding</h3>
<blockquote><p>
# cd /etc/sysconfig/network-scripts/
</p></blockquote>
<blockquote><p>
# vi ifcfg-bond0
</p></blockquote>
<p>We&#8217;ll be using mode=6 (balance-alb)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">DEVICE</span>=bond0
<span style="color: #007800;">USERCTL</span>=no
<span style="color: #007800;">BOOTPROTO</span>=none
<span style="color: #007800;">ONBOOT</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span>
<span style="color: #007800;">IPADDR</span>=10.0.0.10
<span style="color: #007800;">NETMASK</span>=255.255.0.0
<span style="color: #007800;">NETWORK</span>=10.0.0.0
<span style="color: #007800;">BONDING_OPTS</span>=<span style="color: #ff0000;">&quot;miimon=100 mode=balance-alb&quot;</span>
<span style="color: #007800;">TYPE</span>=Unknown
<span style="color: #007800;">IPV6INIT</span>=no</pre></td></tr></table></div>

<blockquote><p>
# vi ifcfg-eth0
</p></blockquote>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">DEVICE</span>=eth0
<span style="color: #007800;">BOOTPROTO</span>=none
<span style="color: #007800;">ONBOOT</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span>
<span style="color: #007800;">MASTER</span>=bond0
<span style="color: #007800;">SLAVE</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span>
<span style="color: #007800;">USERCTL</span>=no</pre></td></tr></table></div>

<blockquote><p>
# vi ifcfg-eth1
</p></blockquote>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">DEVICE</span>=eth1
<span style="color: #007800;">BOOTPROTO</span>=none
<span style="color: #007800;">ONBOOT</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span>
<span style="color: #007800;">MASTER</span>=bond0
<span style="color: #007800;">SLAVE</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span>
<span style="color: #007800;">USERCTL</span>=no</pre></td></tr></table></div>

<blockquote><p>
# vi ifcfg-eth2
</p></blockquote>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">DEVICE</span>=eth2
<span style="color: #007800;">BOOTPROTO</span>=none
<span style="color: #007800;">ONBOOT</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span>
<span style="color: #007800;">MASTER</span>=bond0
<span style="color: #007800;">SLAVE</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span>
<span style="color: #007800;">USERCTL</span>=no</pre></td></tr></table></div>

<p>Due to the fact that /etc/modprobe.conf has been deprecated in CentOS 6, the process of bonding network interfaces has changed a bit.</p>
<p>Now instead of defining your bond in your /etc/modprobe.conf, you define it in /etc/modprobe.d/bonding.conf</p>
<blockquote><p>
# vi /etc/modprobe.d/bonding.conf
</p></blockquote>
<p>Append the following onto the end out your modprobe config file</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">alias</span> bond0 bonding</pre></td></tr></table></div>

<blockquote><p>
# servive network restart
</p></blockquote>
<p><script type="text/javascript">var amzn_wdgt= { widgetType:"SearchAndAdd", searchIndex:"All", title:"CentOS 6 Books", width:"555", height:"200", keywords:"centos 6 linux", shuffleProducts:"true", showBorder:"off", marketPlace:"US", widget:"Carousel", tag:"wp-amazon-associate-20" };</script><script type="text/javascript" src="http://wms.assoc-amazon.com/20070822/US/js/swfobject_1_5.js"></script></p>
<img src="http://feeds.feedburner.com/~r/how2centos/~4/fOuVC9SQ9ck" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.how2centos.com/centos-6-channel-bonding/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Disable SELinux CentOS 6</title>
		<link>http://www.how2centos.com/disable-selinux-centos-6/</link>
		<comments>http://www.how2centos.com/disable-selinux-centos-6/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 15:33:13 +0000</pubDate>
		<dc:creator>How2CentOS</dc:creator>
				<category><![CDATA[CentOS 6 Tutorials]]></category>

		<guid isPermaLink="false">http://www.how2centos.com/?p=2219</guid>
		<description><![CDATA[If you really need to disable SELinux on CentOS 6 please consider the following: # vi /etc/selinux/config Change SELINUX=enforcing 1 2 3 4 5 6 7 8 9 10 # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy<a href="http://www.how2centos.com/disable-selinux-centos-6/"> <br /><br /> (More)…</a>]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/Zsm0UPEkQs6g-A582_Jdj7cdOMY/0/da"><img src="http://feedads.g.doubleclick.net/~a/Zsm0UPEkQs6g-A582_Jdj7cdOMY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Zsm0UPEkQs6g-A582_Jdj7cdOMY/1/da"><img src="http://feedads.g.doubleclick.net/~a/Zsm0UPEkQs6g-A582_Jdj7cdOMY/1/di" border="0" ismap="true"></img></a></p><p><strong>If you really need to disable SELinux on CentOS 6 please consider the following:</strong></p>
<p><img src="http://www.how2centos.com/wp-content/uploads/2010/11/warning.gif" alt="SELinux Warning" title="warning" width="412" height="130" class="aligncenter size-full wp-image-1640" /></p>
<blockquote><p>
# vi /etc/selinux/config
</p></blockquote>
<p>Change SELINUX=enforcing</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;"># This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted</pre></td></tr></table></div>

<p>to SELINUX=disabled</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;"># This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted</pre></td></tr></table></div>

<p>This will disable SELinux on your next reboot. </p>
<p>To diable SELinux, without having to reboot, you can use the setenforce command like so:</p>
<blockquote><p>
# setenforce 0
</p></blockquote>
<p>This will revert to enforcing once you reboot<br />
<span id="more-2219"></span><br />
<script type="text/javascript">var amzn_wdgt= { widgetType:"SearchAndAdd", searchIndex:"All", title:"SELinux Books", width:"555", height:"200", keywords:"selinux", shuffleProducts:"true", showBorder:"off", marketPlace:"US", widget:"Carousel", tag:"wp-amazon-associate-20" };</script><script type="text/javascript" src="http://wms.assoc-amazon.com/20070822/US/js/swfobject_1_5.js"></script></p>
<img src="http://feeds.feedburner.com/~r/how2centos/~4/oFXLnmKg1YM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.how2centos.com/disable-selinux-centos-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing PHP 5.3 on CentOS 5.7</title>
		<link>http://www.how2centos.com/installing-php-5-3-on-centos-5-7/</link>
		<comments>http://www.how2centos.com/installing-php-5-3-on-centos-5-7/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 11:33:35 +0000</pubDate>
		<dc:creator>How2CentOS</dc:creator>
				<category><![CDATA[CentOS 5.7 Tutorials]]></category>

		<guid isPermaLink="false">http://www.how2centos.com/?p=2208</guid>
		<description><![CDATA[The assumption for this CentOS 5.7 tutorial is that you are running as root and have a basic understanding of the software required but if you follow this tutorial you should be able to complete the task successfully. # yum install yum-priorities Installing PHP 5.3 on CentOS 5.7 x86_64 Install the EPEL x86_64 Repo #<a href="http://www.how2centos.com/installing-php-5-3-on-centos-5-7/"> <br /><br /> (More)…</a>]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/my9_WELU57WXKwo3ucBeZB1Z6d0/0/da"><img src="http://feedads.g.doubleclick.net/~a/my9_WELU57WXKwo3ucBeZB1Z6d0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/my9_WELU57WXKwo3ucBeZB1Z6d0/1/da"><img src="http://feedads.g.doubleclick.net/~a/my9_WELU57WXKwo3ucBeZB1Z6d0/1/di" border="0" ismap="true"></img></a></p><p><img src="http://www.how2centos.com/wp-content/uploads/2009/05/php.gif" alt="php" title="php" width="75" height="40" class="alignleft size-full wp-image-226" /><img src="http://www.how2centos.com/wp-content/uploads/2009/05/centos.gif" alt="centos" title="centos" width="42" height="40" class="alignleft size-full wp-image-225" /> The assumption for this CentOS 5.7 tutorial is that you are running as root and have a basic understanding of the software required but if you follow this tutorial you should be able to complete the task successfully.</p>
<blockquote><p>
# yum install yum-priorities
</p></blockquote>
<h3>Installing PHP 5.3 on CentOS 5.7 x86_64</h3>
<h3>Install the EPEL x86_64 Repo</h3>
<blockquote><p># rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm</p></blockquote>
<h3>Install the IUS x86_64 Repo</h3>
<blockquote><p># rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-8.ius.el5.noarch.rpm</p></blockquote>
<blockquote><p>
# yum install php53u php53u-common php53u-devel
</p></blockquote>
<blockquote><p>
# php -v<br />
PHP 5.3.8 (cli) (built: Aug 23 2011 06:33:32)<br />
Copyright (c) 1997-2011 The PHP Group<br />
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
</p></blockquote>
<h3>Installing PHP 5.3 on CentOS 5.7 i386</h3>
<h3>Install the EPEL i386 Repo</h3>
<blockquote><p># rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm</p></blockquote>
<h3>Install the IUS i386 Repo</h3>
<blockquote><p># rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/ius-release-1.0-8.ius.el5.noarch.rpm</p></blockquote>
<blockquote><p>
# yum install php53u php53u-common php53u-devel
</p></blockquote>
<blockquote><p>
# php -v<br />
PHP 5.3.8 (cli) (built: Aug 23 2011 06:33:32)<br />
Copyright (c) 1997-2011 The PHP Group<br />
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
</p></blockquote>
<p><script type="text/javascript">var amzn_wdgt= { widgetType:"SearchAndAdd", searchIndex:"All", title:"PHP Books", width:"555", height:"200", keywords:"php", shuffleProducts:"true", showBorder:"off", marketPlace:"US", widget:"Carousel", tag:"wp-amazon-associate-20" };</script><script type="text/javascript" src="http://wms.assoc-amazon.com/20070822/US/js/swfobject_1_5.js"></script></p>
<img src="http://feeds.feedburner.com/~r/how2centos/~4/ohp5RiNadEI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.how2centos.com/installing-php-5-3-on-centos-5-7/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Upgrading CentOS 5.6 to CentOS 5.7</title>
		<link>http://www.how2centos.com/upgrading-centos-5-6-to-centos-5-7/</link>
		<comments>http://www.how2centos.com/upgrading-centos-5-6-to-centos-5-7/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 13:25:28 +0000</pubDate>
		<dc:creator>How2CentOS</dc:creator>
				<category><![CDATA[CentOS 5.7 Tutorials]]></category>

		<guid isPermaLink="false">http://www.how2centos.com/?p=2201</guid>
		<description><![CDATA[Before upgrading CentOS 5.6 to 5.7 it cannot be stressed enough how important it is to make a backup of your system before you do this. Actions listed in this post are written with the assumption that they will be executed by the root user running the bash or any other modern shell. Clean All<a href="http://www.how2centos.com/upgrading-centos-5-6-to-centos-5-7/"> <br /><br /> (More)…</a>]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/L5xK_rnAv0KRyog0oiNT5wYuT2w/0/da"><img src="http://feedads.g.doubleclick.net/~a/L5xK_rnAv0KRyog0oiNT5wYuT2w/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/L5xK_rnAv0KRyog0oiNT5wYuT2w/1/da"><img src="http://feedads.g.doubleclick.net/~a/L5xK_rnAv0KRyog0oiNT5wYuT2w/1/di" border="0" ismap="true"></img></a></p><p><img src="http://www.how2centos.com/wp-content/uploads/2009/05/centos.gif" alt="" width="42" height="40" class="alignleft size-full wp-image-225" /> Before upgrading CentOS 5.6 to 5.7 it cannot be stressed enough how important it is to make a backup of your system before you do this. Actions listed in this post are written with the assumption that they will be executed by the root user running the bash or any other modern shell. </p>
<p>Clean All Packages</p>
<blockquote><p># yum clean all</p></blockquote>
<p>The following command will get a list of packages that are going to be updated.</p>
<blockquote><p># yum list updates</p></blockquote>
<h3>Upgrade CentOS 5.6 to 5.7</h3>
<p></p>
<blockquote><p># yum update</p></blockquote>
<p>Finally reboot the server for Kernel changes to take effect</p>
<blockquote><p># reboot</p></blockquote>
<p>Verify that CentOS 5.7 is working:</p>
<blockquote><p>
# cat /etc/redhat-release<br />
CentOS release 5.7 (Final)
</p></blockquote>
<p>Or:</p>
<blockquote><p># lsb_release -a<br />
LSB Version:    :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch<br />
Distributor ID: CentOS<br />
Description:    CentOS release 5.7 (Final)<br />
Release:        5.7<br />
Codename:       Final
</p></blockquote>
<p>Or:</p>
<blockquote><p>
# rpm -q centos-release<br />
centos-release-5-7.el5.centos
</p></blockquote>
<img src="http://feeds.feedburner.com/~r/how2centos/~4/QafWq8Gg_JY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.how2centos.com/upgrading-centos-5-6-to-centos-5-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 5.7 Released</title>
		<link>http://www.how2centos.com/centos-5-7-released/</link>
		<comments>http://www.how2centos.com/centos-5-7-released/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 20:31:00 +0000</pubDate>
		<dc:creator>How2CentOS</dc:creator>
				<category><![CDATA[CentOS 5.7 Tutorials]]></category>

		<guid isPermaLink="false">http://www.how2centos.com/?p=2128</guid>
		<description><![CDATA[CentOS 5.7 is now available (see download link at the end of the article) for both 32-bit and 64-bit architectures and it is based on the upstream release of Red Hat Enterprise Linux 5.7. It contains lots of updates, bugfixes and new features. CentOS 5.7 Downloads You can download CentOS Linux 6 via the web/ftp<a href="http://www.how2centos.com/centos-5-7-released/"> <br /><br /> (More)…</a>]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/aV8eCKnegOdQxJD5SBHgNbF8Jn4/0/da"><img src="http://feedads.g.doubleclick.net/~a/aV8eCKnegOdQxJD5SBHgNbF8Jn4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/aV8eCKnegOdQxJD5SBHgNbF8Jn4/1/da"><img src="http://feedads.g.doubleclick.net/~a/aV8eCKnegOdQxJD5SBHgNbF8Jn4/1/di" border="0" ismap="true"></img></a></p><p><img src="http://www.how2centos.com/wp-content/uploads/2009/05/centos.gif" alt="CentOS Logo" title="centos" width="42" height="40" class="alignleft size-full wp-image-225" /> CentOS 5.7 is now available (see download link at the end of the article) for both 32-bit and 64-bit architectures and it is based on the upstream release of Red Hat Enterprise Linux 5.7. It contains lots of updates, bugfixes and new features. </p>
<h3>CentOS 5.7 Downloads</h3>
<p>You can download CentOS Linux 6 via the web/ftp server or via BitTorrent (recommended) client.</p>
<h3>CentOS 5.7 DVD ISO downloads</h3>
<ul>
<li>Download CentOS 5.7 32 bit i386 DVD ISO <a target="_blank"  href="http://isoredirect.centos.org/centos/5.7/isos/i386/">Local Mirror</a></li>
<li>Download CentOS 5.7 64 bit x86_64 DVD ISO <a  target="_blank" href="http://isoredirect.centos.org/centos/5.7/isos/x86_64/">Local Mirror</a></li>
</ul>
<h3>CentOS 5.7 DVD ISO Torrents</h3>
<p>Torrent files for the DVD&#8217;s are available at the following location:</p>
<ul>
<li>Download <a href="http://mirror.centos.org/centos/5.7/isos/i386/CentOS-5.7-i386-bin-DVD.torrent"  target="_blank">32 bit i386 torrent file</a></li>
<li>Download  <a href="http://mirror.centos.org/centos/5.7/isos/x86_64/CentOS-5.7-x86_64-bin-DVD.torrent" target="_blank">64 bit x86_64 torrent file</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/how2centos/~4/vwRYWAXTB5s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.how2centos.com/centos-5-7-released/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 18/55 queries in 0.020 seconds using memcached
Object Caching 1146/1202 objects using memcached

Served from: www.how2centos.com @ 2012-02-04 19:13:06 -->

