<?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>Mon, 30 Aug 2010 09:09:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<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>name</em></tt><br />shows the file content</li>
<li><tt><strong>more</strong> <em>name</em></tt><br />shows the file content a few screens at a time</li>
<li><tt><strong>less</strong> <em>name</em></tt><br />shows the file content similar to how vi displays a file</li>
<li><tt><strong>vi</strong> <em>name</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>name</em></tt><br />shows the first few lines of a file</li>
<li><tt><strong>tail</strong> <em>name</em></tt><br />shows the last few lines of a file</li>
</ul>]]></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</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[Red Hat Enterprise Linux 5]]></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.]]></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.</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>
<!--more-->
<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>
		<item>
		<title>Rsync Howto</title>
		<link>http://www.linuxmail.info/rsync-howto/</link>
		<comments>http://www.linuxmail.info/rsync-howto/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 09:04:39 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=83</guid>
		<description><![CDATA[Learn how to synchronize files using a small amount of data transfers with rsync.]]></description>
			<content:encoded><![CDATA[<p><strong>Rsync</strong> is a software that synchronizes files and directories using a small amount of data transfers. You can use this to backup data. This page will show you how to use rsync to synchronize files from a source machine.</p>
<span id="more-83"></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"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />For Windows users, you can use <a href="http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp">DeltaCopy</a>. DeltaCopy includes the rsync console application and a client and server GUI.</div>
<h2>Server</h2>
<div class="clearfix steps"><a href="/images/centos-5/edit-rsyncd-conf.png"><img class="preview" alt="Edit rsyncd.conf" src="/images/centos-5/t-edit-rsyncd-conf.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">1. Edit the file <em>/etc/rsyncd.conf</em> and add the lines below.
<pre class="steps">
[pub]
path=/home/public
read only=no
</pre>
Replace <em>pub</em> with any directory name you prefer. The <em>path</em> on the other hand should point to a valid <em>nobody</em> readable and writeable directory.
</div></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>2. Allow the <em>rsync</em> service to launch by enabling it in the <em>On Demand Service</em> in the <strong>Service Configuration</strong> tool. <a href="/how-to-start-stop-services-centos-5/">Learn more about the Service Configuration tool.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/security-level-config-2.png"><img class="preview" alt="Security Level Configuration" src="/images/centos-5/t-security-level-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Open the rsync port 873 in the firewall. <a href="/firewall-configuration-centos-5/">Learn how to configure the firewall.</a></div>
<h2>Client</h2>
<p>To transfer a file/directory, the basic command is <tt>rsync src dest</tt>. Below are some examples.</p>
<div class="clearfix steps"><a href="/images/centos-5/rsync-download.png"><img class="preview" alt="Terminal rsync" src="/images/centos-5/t-rsync-download.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">To get a file/directory from the server, type in
<pre class="steps">rsync rsync://server/pub/test.txt .</pre>
Replace <em>server</em> with the name of your server, <em>pub</em> with the name of your directory, <em>test.txt</em> with the name of a file or directory you wish to download and replace <em>.</em> with a path to your local directory if you do not want to save into your current directory.
</div></div>
<div class="clearfix steps"><a href="/images/centos-5/rsync-upload.png"><img class="preview" alt="Terminal rsync" src="/images/centos-5/t-rsync-upload.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">To send a file/directory to the server, type in
<pre class="steps">rsync test.txt rsync://server/pub</pre>
Replace <em>server</em> with the name of your server, <em>pub</em> with the name of your directory, <em>test.txt</em> with the name of a file or directory you wish to upload.
</div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/rsync-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webmin Setup Howto</title>
		<link>http://www.linuxmail.info/webmin-setup-howto/</link>
		<comments>http://www.linuxmail.info/webmin-setup-howto/#comments</comments>
		<pubDate>Wed, 28 May 2008 13:47:49 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linux-mail.info/webmin-setup-howto/</guid>
		<description><![CDATA[This article will show you how to install Webmin, a web-based interface for system administration for Unix.]]></description>
			<content:encoded><![CDATA[<p><strong>Webmin</strong> is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. This article will show you how to install Webmin.</p>
<span id="more-80"></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/firefox-webmin.png"><img class="preview" alt="Firefox Webmin" src="/images/centos-5/t-firefox-webmin.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Go to <a href="http://www.webmin.com">www.webmin.com</a> and download the Webmin RPM package.</div>
<div class="clearfix steps"><a href="/images/centos-5/webmin-install.png"><img class="preview" alt="Install Webmin" src="/images/centos-5/t-webmin-install.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Double click the downloaded file to install Webmin.</div>
<div class="clearfix steps"><a href="/images/centos-5/security-level-config-2.png"><img class="preview" alt="Firewall Configuration" src="/images/centos-5/t-security-level-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. After installing Webmin, configure the firewall to allow traffic on the TCP port 10000. <a href="/firewall-configuration-centos-5/">Learn how to configure the firewall</a>.</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Start the <em>httpd</em> service. <a href="/how-to-start-stop-services-centos-5/">Learn how to start and stop services here.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/webmin-login.png"><img class="preview" alt="Webmin Login" src="/images/centos-5/t-webmin-login.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. From a web browser, connect to <strong>https://localhost:10000</strong> and login using root.</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>6. That&#8217;s it. It&#8217;s working.</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/webmin-setup-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VNC Remote Desktop Howto</title>
		<link>http://www.linuxmail.info/vnc-remote-desktop-howto/</link>
		<comments>http://www.linuxmail.info/vnc-remote-desktop-howto/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 23:14:13 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linux-mail.info/vnc-remote-desktop-howto/</guid>
		<description><![CDATA[How to setup and configure VNC server and connect to it using TightVNC to remotely administer a Linux box.]]></description>
			<content:encoded><![CDATA[<p><strong>Virtual Network Computing (VNC)</strong> is a graphical desktop sharing system which enables you to remotely control another computer. This article will show you how to setup VNC server to remotely manage your Linux machine.</p>
<span id="more-71"></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>

<p>VNC server should already be included in a Server GUI installation, but if you chose a custom installation, you can install it using the <a href="/how-to-add-remove-applications-centos-5/">Package Manager</a> tool.</p>
<h2>VNC Server</h2>
<p>The VNC server should be configured from a <a href="/ssh-howto/">remote SSH terminal</a>.</p>
<div class="clearfix steps"><a href="/images/windows-xp/putty-terminal-vncserver.png"><img class="preview" alt="Terminal window" src="/images/windows-xp/t-putty-terminal-vncserver.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Launch the VNC server by typing in <tt>vncserver</tt> in an <a href="/ssh-howto/">SSH</a> window. If this your first time to run vncserver, you will be asked for a password. VNC server will show your hostname followed by a colon and a number. Note down this number.</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />To change your VNC password, type in <tt>vncpasswd</tt> in a terminal window.</div>
<div class="clearfix steps"><a href="/images/windows-xp/putty-terminal-xstartup.png"><img class="preview" alt="Edit xstartup" src="/images/windows-xp/t-putty-terminal-xstartup.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">2. Type in <tt>vi ~/.vnc/xstartup</tt> to edit the xstartup file. Note that .vnc is a hidden directory. Uncomment the lines below
<pre class="steps">
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
</pre>
and replace 
<pre class="steps">
twm &#038;
</pre>
with either &#8220;startx &#038;&#8221; for a GNOME desktop or &#8220;startkde &#038;&#8221; for a KDE desktop.
</div></div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />Check out the <a href="/vi-editor-tutorial/">vi Editor Tutorial</a> if you need help in using vi.</div>
<div class="clearfix steps"><a href="/images/windows-xp/putty-terminal-vncserver-2.png"><img class="preview" alt="Terminal window" src="/images/windows-xp/t-putty-terminal-vncserver-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Terminate your VNC session by typing in <tt>vncserver kill :1</tt> Replace <tt>1</tt> with the number from step 1. Then launch it again using the command from step 1. You need to discard the session before xstartup was modified, otherwise you will be working on a remote desktop session built from the stone age.</div>
<h2>VNC Client</h2>
<p>To connect to the remote VNC server, we will be using <a href="http://www.tightvnc.com/">TightVNC</a>, a free remote control software package derived from the popular VNC software.</p>
<div class="clearfix steps"><a href="/images/windows-xp/tightvnc-connection.png"><img class="preview" alt="TightVNC Connection" src="/images/windows-xp/t-tightvnc-connection.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Launch TightVNC. The <strong>New TightVNC Connection</strong> window will be shown. Fill in the <em>VNC server</em> field and click <em>Connect</em>. The <em>VNC server</em> field has the format <em>hostname:number</em>. Number is the session number noted down from step 1 of VNC Server.</div>
<div class="clearfix steps"><a href="/images/windows-xp/tightvnc-authentication.png"><img class="preview" alt="TightVNC Authentication" src="/images/windows-xp/t-tightvnc-authentication.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>Standard VNC Authentication</strong> window, type in your VNC password.</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>3. That&#8217;s it, you now have a remote desktop session using VNC.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/vnc-remote-desktop-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
