<?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>Linux Mail Server Setup and Howto Guide &#187; System Administration</title>
	<atom:link href="http://www.linuxmail.info/category/administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxmail.info</link>
	<description>Rapidly deploy Linux based mail solutions today</description>
	<lastBuildDate>Tue, 01 Nov 2011 00:43:33 +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>Firewall Configuration Howto for RHEL/CentOS 6</title>
		<link>http://www.linuxmail.info/firewall-configuration-centos-6/</link>
		<comments>http://www.linuxmail.info/firewall-configuration-centos-6/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 07:17:40 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 6]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=405</guid>
		<description><![CDATA[How to configure the firewall in Red Hat Enterprise Linux 6 or CentOS 6]]></description>
			<content:encoded><![CDATA[<p>Red Hat Enterprise Linux 6 and its derivative CentOS 6 includes a graphical tool called <strong>Firewall Configuration</strong> for configuring the firewall options. This article describes how to use the Firewall Configuration tool to open up the ports necessary for providing an email server.</p>
<span id="more-405"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Firewall Configuration (GUI)</h2>
<p>This section describes how to use the <strong>Firewall Configuration</strong> tool to configure the firewall.</p>
<div class="clearfix steps"><a href="/images/centos-6/firewall-shortcut.png"><img class="preview" alt="Firewall Configuration Startup" src="/images/centos-6/t-firewall-shortcut.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>System</em>, select <em>Administration</em> and click <em>Firewall</em>. This will launch the <strong>Firewall Configuration</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-6/firewall-configuration-startup.png"><img class="preview" alt="Firewall" src="/images/centos-6/t-firewall-configuration-startup.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Click <em>Close</em> in the <strong>Firewall Configuration Startup</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-6/firewall-authenticate.png"><img class="preview" alt="Firewall Authenticate" src="/images/centos-6/t-firewall-authenticate.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Type in the root password and click <em>Authenticate</em>.</div>
<div class="steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />If the <strong>Firewall Configuration Startup</strong> window does not disappear after clicking <em>Close</em>, click the window behind it to bring the <strong>Authenticate</strong> window into the foreground.</div>
<div class="clearfix steps"><a href="/images/centos-6/firewall-configuration.png"><img class="preview" alt="Firewall Configuration" src="/images/centos-6/t-firewall-configuration.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. In the service list, check <em>Mail (SMTP)</em> and <em>WWW (HTTP)</em>.</div>
<div class="clearfix steps"><a href="/images/centos-6/firewall-configuration-other-ports.png"><img class="preview" alt="Firewall Configuration - Other Ports" src="/images/centos-6/t-firewall-configuration-other-ports.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Click <em>Other Ports</em> and click <em>Add</em>.</div>
<div class="clearfix steps"><a href="/images/centos-6/firewall-configuration-port.png"><img class="preview" alt="Firewall Configuration - Other Ports - Add" src="/images/centos-6/t-firewall-configuration-port.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. Select <em>110 tcp pop3</em> and click <em>Ok</em>. Do the same for <em>143 tcp imap</em>.</div>
<div class="clearfix steps"><a href="/images/centos-6/firewall-configuration-other-ports-2.png"><img class="preview" alt="Firewall Configuration - Other Ports" src="/images/centos-6/t-firewall-configuration-other-ports-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. Finally, click <em>Apply</em> to save your changes.</div>
<h2>Firewall Configuration (TUI)</h2>
<p>This section describes how to use the <strong>Firewall Configuration</strong> text user interface (TUI) tool to configure the firewall.</p>
<div class="clearfix steps"><a href="/images/centos-6/terminal-system-config-firewall-tui.png"><img class="preview" alt="Firewall Configuration" src="/images/centos-6/t-terminal-system-config-firewall-tui.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Launch the <strong>Firewall Configuration</strong> tool using the command below.
<pre class="steps">
system-config-firewall-tui
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-6/firewall-configuration-tui.png"><img class="preview" alt="Firewall Configuration" src="/images/centos-6/t-firewall-configuration-tui.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In <strong>Firewall Configuration</strong> screen, press the <em>Customize</em> button.</div>
<div class="clearfix steps"><a href="/images/centos-6/firewall-configuration-trusted-services-tui.png"><img class="preview" alt="Firewall Configuration" src="/images/centos-6/t-firewall-configuration-trusted-services-tui.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. In the service list, check <em>Mail (SMTP)</em> and <em>WWW (HTTP)</em>. Press <em>Forward</em> when you are done.</div>
<div class="clearfix steps"><a href="/images/centos-6/firewall-configuration-other-ports-tui.png"><img class="preview" alt="Firewall Configuration" src="/images/centos-6/t-firewall-configuration-other-ports-tui.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Press <em>Add</em> to add a custom port.</div>
<div class="clearfix steps"><a href="/images/centos-6/firewall-configuration-port-tui.png"><img class="preview" alt="Firewall Configuration" src="/images/centos-6/t-firewall-configuration-port-tui.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Type in <em>110</em> to the field <em>Port</em> and <em>tcp</em> to the field <em>Protocol</em>. Press <em>OK</em> when you are done. Do the same for <em>143:tcp</em>.</div>
<div class="clearfix steps"><a href="/images/centos-6/firewall-configuration-other-ports-2-tui.png"><img class="preview" alt="Firewall Configuration" src="/images/centos-6/t-firewall-configuration-other-ports-2-tui.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. After adding the two ports press <em>Close</em>.</div>
<div class="clearfix steps"><a href="/images/centos-6/firewall-configuration-tui.png"><img class="preview" alt="Firewall Configuration" src="/images/centos-6/t-firewall-configuration-tui.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. Finally, press <em>OK</em> and press <em>Yes</em> to confirm overriding of firewall configuration.</div>
<div class="clear">&nbsp;</div>
<div class="steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />You can see the list of service and port numbers using the command below.
<pre class="steps">
getent services
</pre>
</div>
<div class="left">&laquo;&laquo; Previous: <a href="/squirrelmail-webmail-setup-howto-centos-6/">How to Install SquirrelMail </a></div>
<div class="clear">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/firewall-configuration-centos-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Add the EPEL Repository in RHEL/CentOS 5/6</title>
		<link>http://www.linuxmail.info/add-epel-centos-6/</link>
		<comments>http://www.linuxmail.info/add-epel-centos-6/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 12:55:12 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 6]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=403</guid>
		<description><![CDATA[This article describes how to add the EPEL repository in Red Hat Enterprise Linux and CentOS 5 or 6.]]></description>
			<content:encoded><![CDATA[<p><strong>EPEL</strong> (Extra Packages for Enterprise Linux) is a third party RPM repository for Red Hat Enterprise Linux and CentOS. This article describes how to add the EPEL repository in Red Hat Enterprise Linux and CentOS 5 or 6.</p>
<span id="more-403"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<div class="clearfix steps"><a href="/images/centos-6/install-epel-rpm.png"><img class="preview" alt="Install EPEL" src="/images/centos-6/t-install-epel-rpm.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Install the EPEL package using the command below.
<pre class="steps">
rpm -Uvh http://bit.ly/q7kHBq
</pre>
</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />The full link for the RHEL 6 EPEL package and the links for the lower versions of RHEL are provided below. The rpm command prior to RHEL 6 cannot handle http redirects so no bit.ly links have been provided.</div>
<div class="clearfix steps">
<table>
<tr><th>&nbsp;</th><th>URL</th></tr>
<tr><td>6</td><td><a href="http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm">http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm</a></td></tr>
<tr><td>5</td><td><a href="http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm">http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm</a></td></tr>
<tr><td>4</td><td><a href="http://download.fedora.redhat.com/pub/epel/4/i386/epel-release-4-10.noarch.rpm">http://download.fedora.redhat.com/pub/epel/4/i386/epel-release-4-10.noarch.rpm</a></td></tr>
</table>
</div>
<div class="clearfix steps"><a href="/images/centos-6/yum-repolist.png"><img class="preview" alt="yum repolist" src="/images/centos-6/t-yum-repolist.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Verify the installation using the command below. You should see <em>epel</em> in the output.
<pre class="steps">
yum repolist
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-6/yum-install-priorities.png"><img class="preview" alt="install yum priorities" src="/images/centos-6/t-yum-install-priorities.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Install the Yum priorities package using the command below.
<pre class="steps">
yum install yum-priorities
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-6/edit-epel-repo.png"><img class="preview" alt="edit epel.repo" src="/images/centos-6/t-edit-epel-repo.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Edit the file <em>/etc/yum.repos.d/epel.repo</em> and add the line below under the <em>[epel]</em> section.
<pre class="steps">
priority=10
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-6/yum-check-update.png"><img class="preview" alt="yum check update" src="/images/centos-6/t-yum-check-update.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Test your configuration using the command below. You should see a <em>priority protections</em> message in the output.
<pre class="steps">
yum check-update
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/add-epel-centos-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Start and Stop Services in RHEL/CentOS 5/6</title>
		<link>http://www.linuxmail.info/how-to-start-stop-services-centos-6/</link>
		<comments>http://www.linuxmail.info/how-to-start-stop-services-centos-6/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 00:37:00 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 6]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=399</guid>
		<description><![CDATA[How to start, stop or restart services in Red Hat Enterprise Linux or CentOS 5 or 6 using the Service Configuration tool]]></description>
			<content:encoded><![CDATA[<p>Starting and stopping services is easy in Red Hat Enterprise Linux 6 and its derivative CentOS 6. Both includes the <strong>Service Configuration</strong> tool which simplifies service administration.</p>
<span id="more-399"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Manage Services (RHEL 6)</h2>
<p>This section describes how to manage the services using the <strong>Service Configuration</strong> tool.</p>
<div class="clearfix steps"><a href="/images/centos-6/services.png"><img class="preview" alt="Service Configuration" src="/images/centos-6/t-services.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>System</em>, select <em>Administration</em>, and click <em>Services</em>. This will launch the <strong>Service Configuration</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-6/service-config-1.png"><img class="preview" alt="Service Configuration" src="/images/centos-6/t-service-config-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>Service Configuration</strong> window, select the service you wish to run when the system starts and click <em>Enable</em>.</div>
<div class="clearfix steps"><a href="/images/centos-6/service-config-2.png"><img class="preview" alt="Service Configuration" src="/images/centos-6/t-service-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. To immediately run the service, click <em>Start</em>.</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Important" src="/images/emblem-important.png" />Make sure <strong>xinetd</strong> is running if you enable any on demand services.</div>
<h2 id="rhel5">Manage Services (RHEL 5)</h2>
<p>This section describes how to manage the services using the <strong>Service Configuration</strong> tool.</p>
<div class="clearfix steps"><a href="/images/centos-5/services.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-services.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>System</em>, select <em>Administration</em>, select <em>Server Settings</em> and click <em>Services</em>. This will launch the <strong>Service Configuration</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-1.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">2. In the <strong>Service Configuration</strong> window, check the service you wish to start on the next system startup, in this case the service <em>postfix</em>. To start the service immediately, press <em>Start</em>.</div><div>&nbsp;</div><div class="m">Unchecked services will not be started on the next system startup. To immediately stop a service, select the service and press <em>Stop</em>.</div><div>&nbsp;</div><div class="m">To restart a service, select the service and press <em>Restart</em>.</div></div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-2.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Press <em>Save</em> to save your changes.</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-poppassd.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-poppassd.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. You can also do the same for <em>On-Demand Services</em>.</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Important" src="/images/emblem-important.png" />Make sure <strong>xinetd</strong> is running if you enable any <em>On-Demand Services</em>. You can find xinetd in the <em>Background Services</em> tab.</div>
<h2>Manage Services (Console)</h2>
<p>Listed below are the console commands to manage the services. You need to have root level access to use the commands below.</p>
<div class="clearfix steps">
<table>
<tr>
  <th colspan="2">Task</th>
</tr>
<tr>
  <th>RHEL/CentOS</th>
  <th>Ubuntu</th>
</tr>
<tr>
  <td colspan="2">Display all the available services</td>
</tr>
<tr>
  <td><pre>/sbin/chkconfig &ndash;&ndash;list</pre></td>
  <td>N/A</td>
</tr>
<tr>
  <td colspan="2"><br />Enable the service</td>
</tr>
<tr>
  <td><pre>/sbin/chkconfig [name] on</pre></td>
  <td><pre>/usr/sbin/update-rc.d [name] defaults</pre></td>
</tr>
<tr>
  <td colspan="2"><br />Disable the service</td>
</tr>
<tr>
  <td><pre>/sbin/chkconfig [name] off</pre></td>
  <td><pre>/usr/sbin/update-rc.d -f [name]<br />&nbsp;remove</pre></td>
</tr>
<tr>
  <td colspan="2"><br />Start the background service</td>
<tr>
</tr>
  <td><pre>/sbin/service [name] start</pre></td>
  <td><pre>/usr/sbin/service [name] start</pre></td>
</tr>
<tr>
  <td colspan="2"><br />Stop the background service</td>
</tr>
<tr>
  <td><pre>/sbin/service [name] stop</pre></td>
  <td><pre>/usr/sbin/service [name] stop</pre></td>
</tr>
<tr>
  <td colspan="2"><br />Restart the background service</td>
</tr>
<tr>
  <td><pre>/sbin/service [name] restart</pre></td></td>
  <td><pre>/usr/sbin/service [name] restart</pre></td>
</tr>
<tr>
  <td colspan="2"><br />Display the background service status</td>
</tr>
<tr>
  <td><pre>/sbin/service [name] status</pre></td>
  <td><pre>/usr/sbin/service [name] status</pre></td>
</tr>
</table>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/how-to-start-stop-services-centos-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>File Management in RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/file-management-centos-5/</link>
		<comments>http://www.linuxmail.info/file-management-centos-5/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 13:35:55 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=393</guid>
		<description><![CDATA[This article describes how to manage your files in Red Hat Enterprise Linux 5 or CentOS 5.]]></description>
			<content:encoded><![CDATA[<p>This article describes how to manage your files in Red Hat Enterprise Linux 5 or CentOS 5.</p>
<span id="more-393"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>File Management (GUI)</h2>
<p>Managing files in GUI mode is a simple as launching the <strong>File Browser</strong>.</p>
<div class="clearfix steps"><a href="/images/centos-5/file-browser-shortcut.png"><img class="preview" alt="File Browser" src="/images/centos-5/t-file-browser-shortcut.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>Applications</em>, select <em>System Tools</em> then click <em>File Browser</em>. This will launch the <strong>File Browser</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/file-browser.png"><img class="preview" alt="File Browser" src="/images/centos-5/t-file-browser.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. From the <strong>File Browser</strong> tool you can now perform your desired file operation.</div>
<h2>File Management (Console)</h2>
<p>Below are the console commands to manage files. This is just an overview of the commands available, to get more information, type in <tt><strong>man</strong> <em>command</em></tt> to get the manual for the specified command.</p>
<h3>Common Operations</h3>
<ul class="spaced">
<li><tt><strong>cp -a</strong> <em>source</em> <em>dest</em></tt><br />copy the specified file or directory</li>
<li><tt><strong>rm -rf</strong> <em>name</em></tt><br />delete the specified file or directory and all of its contents</li>
<li><tt><strong>mv</strong> <em>old</em> <em>new</em></tt><br />move a file or directory to a new location. Also used to rename a file or directory</li>
<li><tt><strong>ln -s</strong> <em>source</em> <em>linkname</em></tt><br />create a symbolic link to the specified file or directory</li>
</ul>
<h3>Directory Operations</h3>
<ul class="spaced">
<li><tt><strong>cd</strong></tt><br />change to the home directory</li>
<li><tt><strong>cd</strong> <em>path</em></tt><br />change to the specified directory</li>
<li><tt><strong>pwd</strong></tt><br />print working directory</li>
<li><tt><strong>ls</strong></tt><br />list directory</li>
<li><tt><strong>mkdir</strong> <em>name</em></tt><br />create the specified directory</li>
<li><tt><strong>rmdir</strong> <em>name</em></tt><br />delete the specified directory. Directory should be empty</li>
</ul>
<h3>File Operations</h3>
<ul class="spaced">
<li><tt><strong>chown</strong> <em>owner</em> <em>file</em></tt><br />change the file owner to the specified user</li>
<li><tt><strong>chmod</strong> <em>permissions</em> <em>files</em></tt><br />change the file permissions</li>
<li><tt><strong>cat</strong> <em>file</em></tt><br />shows the file content</li>
<li><tt><strong>more</strong> <em>file</em></tt><br />shows the file content a few screens at a time</li>
<li><tt><strong>less</strong> <em>file</em></tt><br />shows the file content similar to how vi displays a file</li>
<li><tt><strong>vi</strong> <em>file</em></tt><br />edit the specified file. <a href="/vi-editor-tutorial/">Learn how to use the vi editor</a></li>
<li><tt><strong>head</strong> <em>file</em></tt><br />shows the first few lines of a file</li>
<li><tt><strong>tail</strong> <em>file</em></tt><br />shows the last few lines of a file</li>
<li><tt><strong>sort</strong> <em>file</em></tt><br />shows the file content in order by lines</li>
<li><tt><strong>uniq</strong> <em>file</em></tt><br />shows the file content, discarding all but one of successive identifical lines</li>
<li><tt><strong>grep</strong> <em>pattern</em> <em>file</em></tt><br />searches for the pattern inside the specified file</li>
<li><tt><strong>file</strong> <em>filename</em></tt><br />determine file type</li>
<li><tt><strong>diff</strong> <em>file1</em> <em>file1</em></tt><br />compares two files</li>
</ul>
<h2>Recommended Book</h2>
<div class="clearfix steps"><img src="http://www.assoc-amazon.com/e/ir?t=linuxmail-20&#038;l=as2&#038;o=1&#038;a=047025128X" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /><a href="http://www.amazon.com/gp/product/047025128X?ie=UTF8&#038;tag=linuxmail-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=047025128X" rel="nofollow"><img src="/images/books/linux-command-line.jpg" class="book" alt="Linux Command Line and Shell Scripting Bible" height="126" /></a><p><a href="http://www.amazon.com/gp/product/047025128X?ie=UTF8&#038;tag=linuxmail-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=047025128X" rel="nofollow">Linux Command Line and Shell Scripting Bible</a></p>
<p>It is painful to work with Linux if you are not familiar with its arcane commands. Googling the right command for every problem encountered wastes a lot of valuable time.</p>
<p>Learning its commands enables you to do more with less time. Wouldn&#8217;t it be great if those backups are performed automatically everyday. Or you are notified via email if your file server is about to run out of disk space.</p>
<p>This book provides a comprehensive list of Linux commands and shows you how to use them in a clear and concise manner.</p> 
<p><a href="http://www.amazon.com/gp/product/047025128X?ie=UTF8&#038;tag=linuxmail-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=047025128X" rel="nofollow">Get the book and harness the full power of Linux.</a></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/file-management-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure Network Device in RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/configure-network-device-centos-5/</link>
		<comments>http://www.linuxmail.info/configure-network-device-centos-5/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 07:56:59 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=391</guid>
		<description><![CDATA[This article describes how to configure network devices in Red Hat Enterprise Linux or CentOS 5.]]></description>
			<content:encoded><![CDATA[<p>Red Hat Enterprise Linux 5 and its derivative CentOS 5, includes tools to configure the network device. This article describes how to configure network devices in Red Hat Enterprise Linux or CentOS 5.</p>
<span id="more-391"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Configure Network Device (GUI)</h2>
<p>This section describes how to configure the network device using GUI tools.</p>
<div class="clearfix steps"><a href="/images/centos-5/system-network-shortcut.png"><img class="preview" alt="Network" src="/images/centos-5/t-system-network-shortcut.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>System</em>, select <em>Administration</em> then click <em>Network</em>. This will launch the <strong>Network Configuration</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/network-configuration.png"><img class="preview" alt="Network Configuration" src="/images/centos-5/t-network-configuration.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Select the network device you want to modify and click <em>Edit</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/ethernet-device.png"><img class="preview" alt="Ethernet Device" src="/images/centos-5/t-ethernet-device.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. In the <strong>Ethernet Device</strong> window, apply your changes and click <em>OK</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/network-configuration-dns.png"><img class="preview" alt="Edit DNS" src="/images/centos-5/t-network-configuration-dns.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Click the <em>DNS</em> tab and apply your DNS settings.</div>
<div class="clearfix steps"><a href="/images/centos-5/network-configuration-save.png"><img class="preview" alt="Save" src="/images/centos-5/t-network-configuration-save.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. To save your changes, click the <em>File</em> and click <em>Save</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/network-configuration-deactivate.png"><img class="preview" alt="Restart" src="/images/centos-5/t-network-configuration-deactivate.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. To effect your changes, click the <em>Devices</em> tab. Next, select the device and click <em>Deactivate</em> then click <em>Activate</em> to reactivate the device.</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-hosts.png"><img class="preview" alt="Edit Hosts" src="/images/centos-5/t-edit-hosts.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. <a href="/configure-host-name-lookup-centos-5/">Update your <em>/etc/hosts</em> file.</a></div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />Although the <strong>Network Configuration</strong> tool has a feature to update the <em>/etc/hosts</em> file, it is more reliable to edit it directly instead.</div>
<h2>Configure Network Device (TUI)</h2>
<p>This section describes how to configure the network device using text user interface (TUI) tools.</p>
<div class="clearfix steps"><a href="/images/centos-5/network-configuration-tui.png"><img class="preview" alt="Network Configuration" src="/images/centos-5/t-network-configuration-tui.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Launch the <strong>Network Configuration</strong> TUI tool using the command below. Then apply the necessary changes to your network device.
<pre class="steps">
system-config-network-tui
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/service-network-restart.png"><img class="preview" alt="Restart" src="/images/centos-5/t-service-network-restart.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. To effect your changes, restart the network service using the command below.
<pre class="steps">
service network restart
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-hosts.png"><img class="preview" alt="Edit Hosts" src="/images/centos-5/t-edit-hosts.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. <a href="/configure-host-name-lookup-centos-5/">Update your <em>/etc/hosts</em> file.</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/configure-network-device-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure Host Name Lookup in RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/configure-host-name-lookup-centos-5/</link>
		<comments>http://www.linuxmail.info/configure-host-name-lookup-centos-5/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 01:15:37 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=389</guid>
		<description><![CDATA[This article describes how to edit the static host name lookup table file /etc/hosts in Red Hat Enterprise Linux 5 or CentOS 5.]]></description>
			<content:encoded><![CDATA[<p>Before starting to use Red Hat Enterprise Linux 5 or CentOS 5, the static host name table lookup file /etc/hosts must be corrected first. The steps below describes how to do this.</p>
<span id="more-389"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Configure Hosts</h2>
<div class="clearfix steps"><a href="/images/centos-5/file-browser.png"><img class="preview" alt="File Browser" src="/images/centos-5/t-file-browser.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>Applications</em>, select <em>System Tools</em> then click <em>File Browser</em>. This will launch the <strong>File Browser</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/file-browser-etc.png"><img class="preview" alt="File Browser" src="/images/centos-5/t-file-browser-etc.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <em>Location</em> field, type in <em>/etc</em> and press Enter. If you don&#8217;t see the Location field, click the notepad button to toggle to text-based location bar.</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-hosts.png"><img class="preview" alt="Edit hosts" src="/images/centos-5/t-edit-hosts.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Locate and double click on the file <em>hosts</em> to open it for editing. Update the content similar to the lines below.
<pre class="steps">
127.0.0.1       localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
192.168.0.4     mail.acme.local mail
</pre>
Replace the last line with your own <em>IP address</em>, <em>fully qualified domain name</em> and <em>host name</em>.
</div>
<h2>Test the Host Name Lookup</h2>
<div class="clearfix steps"><a href="/images/centos-5/terminal.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-terminal.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>Applications</em>, select <em>Accessories</em>, and click <em>Terminal</em>. This will launch the <strong>Terminal</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/ping-localhost.png"><img class="preview" alt="ping localhost" src="/images/centos-5/t-ping-localhost.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the terminal window, type in the command below.
<pre class="steps">
ping localhost
</pre>
You should see <em>localhost.localdomain</em> and <em>127.0.0.1</em></div>
<div class="clearfix steps"><a href="/images/centos-5/ping-mail.png"><img class="preview" alt="ping localhost" src="/images/centos-5/t-ping-mail.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Next, type in the command below.
<pre class="steps">
ping mail
</pre>
Replace <em>mail</em> with your own hostname. You should see your fully qualified domain name and ip address.</div>
<div class="left">&laquo;&laquo; Previous: <a href="/how-to-setup-centos-5-linux/">How to Setup CentOS 5 Linux</a></div><div class="right">Next: <a href="/postfix-smtp-server-howto-centos-5/">How to Setup Postfix SMTP Server</a> &raquo;&raquo;</div>
<div style="clear: both">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/configure-host-name-lookup-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synchronize System Clock in RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/synchronize-system-clock-centos-5/</link>
		<comments>http://www.linuxmail.info/synchronize-system-clock-centos-5/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 05:05:27 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=368</guid>
		<description><![CDATA[This article describes how to synchronize the system clock with an NTP server.]]></description>
			<content:encoded><![CDATA[<p>Services in Linux like cron and kerberos relies on an accurate and synchronized clock. This article describes how to synchronize the system clock with an NTP server.</p>
<span id="more-368"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Configure NTP (GUI)</h2>
<p>This section describes how to configure the NTP using the <strong>Date &#038; Time</strong> GUI tool.</p>
<div class="clearfix steps"><a href="/images/centos-5/date-time-shortcut.png"><img class="preview" alt="Date Time Properties Shortcut" src="/images/centos-5/t-date-time-shortcut.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>System</em>, select <em>Administration</em> and click <em>Date &#038; Time</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/date-time-properties.png"><img class="preview" alt="Date Time Properties" src="/images/centos-5/t-date-time-properties.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>Date/Time Properties</strong> window, click the <em>Network Time Protocol</em> tab.</div>
<div class="clearfix steps"><a href="/images/centos-5/date-time-properties-2.png"><img class="preview" alt="Date Time Properties" src="/images/centos-5/t-date-time-properties-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Check <em>Enable Network Time Protocol</em>. Next click <em>Show advanced options</em> and check <em>Synchronize system clock before starting service</em>. Finally, click <em>OK</em>.</div>
<h2>Configure NTP (Console)</h2>
<p>Listed below are the commands to configure the NTP. You need to have root level access to use the commands below.</p>
<ul class="spaced">
<li><tt><strong>/usr/sbin/ntpdate pool.ntp.org</strong></tt><br />immediately synchronizes the system clock. Make sure the ntpd service is not running before using this command.</li>
<li><tt><strong>/sbin/service ntpd start</strong></tt><br />starts the ntpd service</li>
<li><tt><strong>/sbin/service ntpd stop</strong></tt><br />stops the ntpd service</li>
<li><tt><strong>/etc/ntp.conf</strong></tt><br />the above is not a command, it is the location of the ntpd configuration file</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/synchronize-system-clock-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Setup User Password Expiration in RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/user-password-expiration-setup-howto/</link>
		<comments>http://www.linuxmail.info/user-password-expiration-setup-howto/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 14:33:57 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=360</guid>
		<description><![CDATA[This article describes how to setup password expiration using the User Manager application.]]></description>
			<content:encoded><![CDATA[<p>Ideally, passwords should be changed regularly. This article describes how to setup password expiration using the <strong>User Manager</strong> application in Red Hat Enterprise Linux 5 or CentOS 5.</p>
<span id="more-360"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<div class="clearfix steps"><a href="/images/centos-5/users-and-groups.png"><img class="preview" alt="User Manager" src="/images/centos-5/t-users-and-groups.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>Applications</em> then select <em>System Settings</em> and click <em>Users and Groups</em>. This will launch the <strong>User Manager</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/user-manager-2.png"><img class="preview" alt="User Manager" src="/images/centos-5/t-user-manager-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Select the user you wish to configure and click <em>Properties</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/user-manager-user-data.png"><img class="preview" alt="User Manager" src="/images/centos-5/t-user-manager-user-data.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. In the <strong>User Properties</strong> windows, click the <em>Password Info</em> tab.</div>
<div class="clearfix steps"><a href="/images/centos-5/user-manager-password-info.png"><img class="preview" alt="User Manager" src="/images/centos-5/t-user-manager-password-info.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">4. Check the <em>Enable Password Expiration</em> checkbox to enable password expiration. The list below describes the available settings.
<ul class="spaced noindent">
<li><em>Days before change allowed</em><br />Number of days from the last password change to allow another password change.</li>
<li><em>Days before change required</em><br />Number of days from the last password change to require another password change.</li>
<li><em>Days warning before change</em><br />Number of days before the expiry of the password to notify the user.</li>
<li><em>Days before account inactive</em><br />Number of inactive days after the expiry of the password to deactivate the account. 0 means do not deactivate.</li>
</ul>
</div>
</div>
<div class="clear">
<img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />You can also do this from the command line, below are the equivalent commands.
<ul class="spaced">
<li><tt><strong>chage login_name</strong></tt><br />modifies the password expiry information of the specified login name. You need root access to use this command.</li>
<li><tt><strong>chage -l login_name</strong></tt><br />shows the password expiry information of the specified login name</li>
<li><tt><strong>chage</strong></tt><br />displays the help information</li>
</ul>
</div>
<div><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />You can notify the users with expiring password via email using the <a href="/files/checkpwexpire">checkpwexpire script</a>. Copy the script into the <em>/etc/cron.daily</em> and give it execute permission so it will automatically run every day.</div>
<div>&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/user-password-expiration-setup-howto/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>System Administration Howto</title>
		<link>http://www.linuxmail.info/system-administration-howto/</link>
		<comments>http://www.linuxmail.info/system-administration-howto/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 14:07:13 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=347</guid>
		<description><![CDATA[This article contains useful links on how to administer a Red Hat Enterprise Linux 5 or CentOS 5 server.]]></description>
			<content:encoded><![CDATA[<p>This article contains useful links on how to administer a Red Hat Enterprise Linux 5 or CentOS 5 server.</p>
<span id="more-347"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>System Management</h2>
<p>This section describes how to perform system management tasks.</p>
<div class="clearfix steps"><a href="/images/centos-5/file-browser.png"><img class="preview" alt="File Browser" src="/images/centos-5/t-file-browser.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/file-management-centos-5/">How to manage directories and files</a></div>
<div class="clearfix steps"><a href="/images/centos-5/user-manager.png"><img class="preview" alt="User Manager" src="/images/centos-5/t-user-manager.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/how-to-add-remove-user-accounts-centos-5/">How to add, edit or remove a user account</a></div>
<div class="clearfix steps"><a href="/images/centos-5/package-manager-apps.png"><img class="preview" alt="Package Manager" src="/images/centos-5/t-package-manager-apps.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/how-to-add-remove-applications-centos-5/">How to add or remove packages or applications</a></div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-2.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/how-to-start-stop-services-centos-5/">How to start, stop or restart a background service</a><br /><a href="/how-to-start-stop-services-centos-5/">How to enable or disable an on demand service</a></div>
<div class="clearfix steps"><a href="/images/centos-5/network-configuration.png"><img class="preview" alt="Network Configuration" src="/images/centos-5/t-network-configuration.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/configure-network-device-centos-5/">How to configure a network device</a></div>
<div class="clearfix steps"><a href="/images/centos-5/security-level-config.png"><img class="preview" alt="Security Level Configuration" src="/images/centos-5/t-security-level-config.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/firewall-configuration-centos-5/">How to configure the firewall</a></div>
<div class="clearfix steps"><a href="/images/centos-5/date-time-properties-2.png"><img class="preview" alt="Date and Time Properties" src="/images/centos-5/t-date-time-properties-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/synchronize-system-clock-centos-5/">How to synchronize the system clock using NTP</a></div>
<h2>System Utilities</h2>
<p>This section describes utilities you can use to manage your system.</p>
<div class="clearfix steps"><a href="/images/windows-xp/putty-terminal.png"><img class="preview" alt="PuTTY" src="/images/windows-xp/t-putty-terminal.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/ssh-howto/">How to setup SSH to remotely administer a Linux server using a command line</a></div>
<div class="clearfix steps"><a href="/images/windows-xp/tightvnc-session.png"><img class="preview" alt="TightVNC Session" src="/images/windows-xp/t-tightvnc-session.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/vnc-remote-desktop-howto/">How to use VNC to remotely administer a Linux server using a GUI</a></div>
<div class="clearfix steps"><a href="/images/centos-5/webmin-main.png"><img class="preview" alt="Webmin Main" src="/images/centos-5/t-webmin-main.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/webmin-setup-howto/">How to setup Webmin, a web based system administration tool</a></div>
<div class="clearfix steps"><a href="/images/centos-5/service-rsync.png"><img class="preview" alt="Service rsync" src="/images/centos-5/t-service-rsync.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/rsync-howto/">How to use rsync to synchronize files between two computers</a></div>
<div class="clearfix steps"><a href="/images/vi/vi-3.gif"><img class="preview" alt="vi" src="/images/vi/t-vi-3.gif" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/vi-editor-tutorial/">How to use vi, a command line editor</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/system-administration-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Add the RPMforge Repository in RHEL/CentOS 5/6</title>
		<link>http://www.linuxmail.info/add-rpmforge-centos-5/</link>
		<comments>http://www.linuxmail.info/add-rpmforge-centos-5/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:51:21 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 6]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=301</guid>
		<description><![CDATA[This article describes how to add the RPMforge repository in Red Hat Enterprise Linux or CentOS 5 or 6.]]></description>
			<content:encoded><![CDATA[<p><strong>RPMforge</strong> is a third party RPM repository for Red Hat Enterprise Linux or CentOS. Adding the RPMforge repository will give you access to an extensive library of precompiled binaries. This article describes how to add the RPMforge repository in Red Hat Enterprise Linux or CentOS 5 or 6.</p>
<span id="more-301"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Adding RPMforge to Yum</h2>
<p>The rpmforge repo package can be downloaded from the site below.</p>
<div class="clearfix steps"><a href="/images/centos-5/firefox-rpmforge.png"><img class="preview" alt="Firefox RPMforge" src="/images/centos-5/t-firefox-rpmforge.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Launch Firefox and go to <a href="http://dag.wieers.com/rpm/FAQ.php#B2">http://dag.wieers.com/rpm/FAQ.php#B2</a>. Click on the package appropriate for your version of Red Hat Enterprise Linux or CentOS.</div>
<div class="clearfix steps"><a href="/images/centos-5/firefox-rpmforge-install.png"><img class="preview" alt="Firefox RPMForge Install" src="/images/centos-5/t-firefox-rpmforge-install.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Choose <em>Open with Software Installer (default)</em> and click <em>Ok</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/installing-rpmforge.png"><img class="preview" alt="Installing RPMForge" src="/images/centos-5/t-installing-rpmforge.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. The <strong>Installing packages</strong> window will appear. Click <em>Apply</em> to proceed.</div>
<div class="clearfix steps"><a href="/images/centos-5/install-rpmforge-success.png"><img class="preview" alt="Installing RPMForge" src="/images/centos-5/t-install-rpmforge-success.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Finally click <em>Ok</em>.</div>
<h2>Lowering the RPMforge priority</h2>
<p>Lowering the priority of the RPMforge repository will ensure that the base packages provided by RHEL/CentOS will not be replaced by a newer version from RPMforge.</p>
<div class="clearfix steps"><a href="/images/centos-5/yum-install-priorities.png"><img class="preview" alt="Install priorities" src="/images/centos-5/t-yum-install-priorities.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Install the Yum priorities package using the command below.
<pre class="steps">
yum install yum-priorities
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-rpmforge-repo.png"><img class="preview" alt="Edit rpmforge.repo" src="/images/centos-5/t-edit-rpmforge-repo.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Edit the file <em>/etc/yum.repos.d/rpmforge.repo</em> and add the line below.
<pre class="steps">
priority=10
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/yum-check-update.png"><img class="preview" alt="Yum check update" src="/images/centos-5/t-yum-check-update.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Test your configuration using the command below. You should see a <em>priority protections</em> message in the output.
<pre class="steps">
yum check-update
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/add-rpmforge-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

