<?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>BuildDocs.com - Operating System and Application Build Documents Repository &#187; redhat</title>
	<atom:link href="http://builddocs.com/tags/redhat/feed/" rel="self" type="application/rss+xml" />
	<link>http://builddocs.com</link>
	<description>Better Docs / Better Systems</description>
	<lastBuildDate>Thu, 15 Jul 2010 11:22:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>10 Simple Steps to RedHat Linux Security</title>
		<link>http://builddocs.com/security_applications/10-simple-steps-to-redhat-linux-security/</link>
		<comments>http://builddocs.com/security_applications/10-simple-steps-to-redhat-linux-security/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 11:42:57 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[hardening]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=1074</guid>
		<description><![CDATA[This document outlines 10 easy-to-implement steps to lockdown a RedHat Linux server. This document assumes a fresh vanilla RedHat 5.4 install as described in the post Installing RedHat 5.4 64 bit.
Not all of the below steps are appropriate for all systems. You will need to use your judgment to pick and choose which security measures [...]]]></description>
			<content:encoded><![CDATA[<p>This document outlines 10 easy-to-implement steps to lockdown a RedHat Linux server. This document assumes a fresh vanilla RedHat 5.4 install as described in the post <a href="http://builddocs.com/server_os_builds/installing-redhat-5-4-64-bit/">Installing RedHat 5.4 64 bit</a>.</p>
<p>Not all of the below steps are appropriate for all systems. You will need to use your judgment to pick and choose which security measures are relevant to your environment.</p>
<p>1. <a href="#banner">Configure Security Banners/Disclaimers</a><br />
2. <a href="#grub">Set GRUB boot loader password</a><br />
3. <a href="#single">Password protect single user mode</a><br />
4. <a href="#passwords">Configure Password Policy</a><br />
5. <a href="#services">Disable Unnecessary Services</a><br />
6. <a href="#accounts">Delete Unnecessary accounts and groups</a><br />
7. <a href="#sysadmin">Restrict su to sysadmin group</a><br />
8. <a href="#ssh">Prevent root login through ssh</a><br />
9. <a href="#tcp_wrappers">Configure IP Access Controls with tcp_wrappers</a><br />
10. <a href="#limits">Resource Limits</a></p>
<p><a name="banner"></a></p>
<h2><a name="banner">Configure Security Banners/Disclaimers<br />
</a></h2>
<p>The Security Banner refers to the message that is displayed when users log in. Banners provide legal protection against unauthorized access attempts and provide a means to prosecute violators.</p>
<p>Here is an example of a generic banner:<br />
<em><br />
Warning! This is a private system.  Unauthorized access to or use of this system is strictly prohibited. Unauthorized users are subject to criminal prosecution and penalties. </em></p>
<p><em><img class="aligncenter size-full wp-image-1137" title="6" src="http://builddocs.com/wp-content/uploads/2009/10/61.jpg" alt="6" width="466" height="288" /><br />
</em></p>
<p>To configure a banner in Redhat, edit the file /etc/issue:</p>
<p><strong>su root</strong><br />
<em>Enter root password</em><br />
<strong>vi /etc/issue</strong></p>
<p>Use vi commands to edit file and replace with your banner text. Enter <strong>ESC:x!</strong> when finished to save file.</p>
<p><img class="aligncenter size-full wp-image-1135" title="2" src="http://builddocs.com/wp-content/uploads/2009/10/23.jpg" alt="2" width="560" height="420" /></p>
<p>In order for this banner to be displayed when users attempt to ssh to your server you will need to add it to the sshd_config file.</p>
<p><strong>vi /etc/ssh/sshd_config</strong></p>
<p>Arrow down to the line that begins with Banner. By default it should be</p>
<p><em>#Banner /some/banner</em></p>
<p>Edit this line, removing the # character and change the path to point to the /etc/issue file from above.</p>
<p><strong>Banner /etc/issue</strong></p>
<p>Enter <strong>ESC:x!</strong> when finished to save file.</p>
<p><img class="aligncenter size-full wp-image-1136" title="4" src="http://builddocs.com/wp-content/uploads/2009/10/42.jpg" alt="4" width="560" height="420" /></p>
<p>Enter the following command to restart the ssh server for the changes to take effect:</p>
<p><strong>/etc/init.d/sshd restart</strong></p>
<p><a name="grub"></a></p>
<h2><a name="grub">Set GRUB boot loader password</a></h2>
<p>Setting a password on the grub boot loader will require you to enter a password before booting the system. Although this is a recommended security practice, it is worth mentioning that this can be annoying, especially if you ever need to reboot the system remotely. I would not recommend this if you do not have physical access to the server.</p>
<p>The first step is to create a MD5 representation of your password. Enter the following to execute the grub md5 utility:</p>
<p><strong>/sbin/grub-md5-crypt</strong></p>
<p>Enter your password and confirm it. The program will generate an encrypted string. Carefully copy this string to a notepad.</p>
<p><img class="aligncenter size-full wp-image-1139" title="7" src="http://builddocs.com/wp-content/uploads/2009/10/72.jpg" alt="7" width="560" height="420" /></p>
<p>Next you will need to edit the grub config file and add this encrypted password:</p>
<p><strong>su root</strong><br />
<em>Enter root password</em><br />
<strong>vi /boot/grub/grub.conf</strong></p>
<p>Insert a new line as following, placing your md5 password string after the &#8211;md5:</p>
<p>password &#8211;md5 $5Hhd9D4HEO7$%df8fHdLO9PDjU70</p>
<p>Save the file by entering <strong>ESC:x!</strong></p>
<p><strong><img class="aligncenter size-full wp-image-1140" title="9" src="http://builddocs.com/wp-content/uploads/2009/10/92.jpg" alt="9" width="560" height="420" /><br />
</strong></p>
<p>Reboot and verify that the new password is working.</p>
<p><img class="aligncenter size-full wp-image-1141" title="10" src="http://builddocs.com/wp-content/uploads/2009/10/102.jpg" alt="10" width="504" height="280" /></p>
<p>Note: If for some reason this doesn&#8217;t work you may be locked out of your system. You will need to insert the RedHat installation CD/DVD and boot the system in recovery mode in order to undo the changes. To undo above edit the /boot/grub/grub.conf file and remove or comment out the password line.</p>
<p><a name="single"></a></p>
<h2>Password protect single user mode</h2>
<p>Single user mode is a system maintenance mode similar to windows safemode. If an attacker obtains access to the console he/she could potentially exploit this capability to bypass security controls and obtain root access to the system. It is a good idea to protect single user mode with a password to help prevent this.</p>
<p>Doing so is actually quite easy. Edit the /etc/inittab as followsg:</p>
<p><strong>su root</strong><br />
<em>Enter root password</em><br />
<strong>vi /etc/inittab</strong></p>
<p>Insert the following line:</p>
<p><strong>~~:S:wait:/sbin/sulogin</strong></p>
<p>Type <strong>ESC:x!</strong> to save and exit.</p>
<p><img class="aligncenter size-full wp-image-1143" title="12" src="http://builddocs.com/wp-content/uploads/2009/10/122.jpg" alt="12" width="560" height="420" /></p>
<p><a name="passwords"></a></p>
<h2>Configure Password Policy</h2>
<p>The following settings force users to change their password every 90 days and enforce passwords at least 8 characters long.</p>
<p><strong>su root</strong><br />
<em>Enter root password</em><br />
<strong>vi /etc/login.defs</strong></p>
<p>Edit the file as follows:</p>
<p>PASS_MAX_DAYS 90<br />
PASS_MIN_DAYS 1<br />
PASS_MIN_LEN 8<br />
PASS_WARN_AGE 14</p>
<p>Type <strong>ESC:x!</strong> to save and exit</p>
<p><img class="aligncenter size-full wp-image-1144" title="14" src="http://builddocs.com/wp-content/uploads/2009/10/142.jpg" alt="14" width="560" height="420" /></p>
<p><a name="services"></a></p>
<h2>Disable Unnecessary Services</h2>
<p>An important security principle is &#8220;if you don&#8217;t need it, disable it&#8221;. All running services expose the system to some level of risk. Obviously, some services are much more vulnerable than others but often you don&#8217;t know what the vulnerabilities of any given service are, and some may yet to have been discovered.</p>
<p>To see what services are enabled enter:</p>
<p><strong>/sbin/chkconfig &#8211;list</strong></p>
<p><strong><img class="aligncenter size-full wp-image-1146" title="15" src="http://builddocs.com/wp-content/uploads/2009/10/152.jpg" alt="15" width="560" height="420" /><br />
</strong></p>
<p>To disable a service enter:</p>
<p><strong>/sbin/chkconfig -del</strong> <em>service</em></p>
<p>At a minimum the following should be disabled:</p>
<p>/sbin/chkconfig -del bluetooth<br />
/sbin/chkconfig -del cups<br />
/sbin/chkconfig -del autofs<br />
/sbin/chkconfig -del isdn<br />
/sbin/chkconfig -del portmap<br />
/sbin/chkconfig -del vncserver<br />
/sbin/chkconfig -del mdmonitor<br />
/sbin/chkconfig -del winbind</p>
<p><img class="aligncenter size-full wp-image-1147" title="16" src="http://builddocs.com/wp-content/uploads/2009/10/163.jpg" alt="16" width="560" height="420" /></p>
<p>It is also a good idea to go through the /etc/xinetd.d directory and delete any unused services here. For example:</p>
<p>rm /etc/xinetd.d/gssftp<br />
rm /etc/xinetd.d/krb5-telnet<br />
rm /etc/xinetd.d/tftp<br />
rm /etc/xinetd.d/daytime*<br />
rm /etc/xinetd.d/chargen*<br />
rm /etc/xinetd.d/ekrg5-telnet*</p>
<p><img class="aligncenter size-full wp-image-1148" title="17" src="http://builddocs.com/wp-content/uploads/2009/10/172.jpg" alt="17" width="560" height="420" /></p>
<p><a name="accounts"></a></p>
<h2>Delete Unnecessary accounts and groups</h2>
<p>There are a number of default accounts and groups that you probably will never need and having them around can be a potential risk. Use the following commands to delete them:</p>
<p><strong>/sbin/userdel adm<br />
/sbin/groupdel adm<br />
/sbin/userdel lp<br />
/sbin/groupdel lp<br />
/sbin/userdel shutdown<br />
/sbin/groupdel shutdown<br />
/sbin/userdel halt<br />
/sbin/groupdel halt<br />
/sbin/userdel news<br />
/sbin/groupdel news<br />
/sbin/userdel uucp<br />
/sbin/groupdel uucp<br />
/sbin/userdel operator<br />
/sbin/groupdel operator<br />
/sbin/userdel games<br />
/sbin/groupdel games<br />
/sbin/userdel gopher<br />
/sbin/groupdel gopher<br />
/sbin/userdel ftp<br />
/sbin/groupdel ftp<br />
/sbin/userdel mail<br />
/sbin/groupdel mail<br />
/sbin/userdel xfs<br />
/sbin/groupdel xfs<br />
/sbin/userdel ntp<br />
/sbin/groupdel ntp<br />
/sbin/userdel mailnull<br />
/sbin/groupdel mailnull<br />
/sbin/userdel pcap<br />
/sbin/groupdel pcap<br />
</strong></p>
<p><a name="sysadmin"></a></p>
<h2>Restrict su to sysadmin group</h2>
<p>Another layer of protection is to prevent unprivileged users from being able to execute the su command, denying them the ability to become more powerful users.</p>
<p>The first step is to create a system administrators group. Only trusted system admins should be made members of this group.</p>
<p><strong>/usr/sbin/groupadd sysadmin</strong></p>
<p><img class="aligncenter size-full wp-image-1153" title="24" src="http://builddocs.com/wp-content/uploads/2009/10/24.jpg" alt="24" width="560" height="420" /></p>
<p>Next, enter the following commands to restrict the su command to this group:</p>
<p>chgrp sysadmin /bin/su<br />
chmod o-rwx /bin/su</p>
<p><img class="aligncenter size-full wp-image-1154" title="25" src="http://builddocs.com/wp-content/uploads/2009/10/25.jpg" alt="25" width="560" height="420" /></p>
<p>Finally, make sure to add existing system admins to the sysadmin group. For each account execute the following:</p>
<p><strong>/usr/sbin/usermod -g sysadmin <em>username</em></strong></p>
<p><strong><em><img class="aligncenter size-full wp-image-1155" title="26" src="http://builddocs.com/wp-content/uploads/2009/10/26.jpg" alt="26" width="560" height="420" /><br />
</em></strong></p>
<p><a name="ssh"></a></p>
<h2>Prevent root login through ssh</h2>
<p>There is one very well known account that you can&#8217;t really get rid of: root. However, one measure you can take to prevent people from trying to access this account is to disallow login as root through ssh.</p>
<p>This is another very easy one to implement. All you need to do is edit the /etc/ssh/sshd_config, uncomment the PermitRootLogin line and set it to no.</p>
<p><strong>su root</strong><br />
<em>Enter root password</em><br />
<strong>vi /etc/ssh/sshd_config</strong></p>
<p>Change the line:</p>
<p><em>#PermitRootLogin yes</em></p>
<p>To:</p>
<p><strong>PermitRootLogin no</strong></p>
<p><strong><img class="aligncenter size-full wp-image-1149" title="19" src="http://builddocs.com/wp-content/uploads/2009/10/191.jpg" alt="19" width="560" height="420" /></strong></p>
<p><a name="tcp_wrappers"></a></p>
<h2>Configure IP Access Controls with tcp_wrappers</h2>
<p>TCP_Wrappers is a security framework used to enforce ip address access controls on services such as ssh and ftp. It is installed by default in RedHat and most linux/unix distros. It can be used two ways: you can deny specified ip address or you can restrict access to only allowed ip addresses. In the following example we will do the later.</p>
<p>There are two configuration files that control the access: /etc/hosts.allow and /etc/hosts.deny. As the names imply, hosts.allow lists ip addresses that are allowed, and hosts.deny lists ip addressses that are not allowed.</p>
<p>In the following example we will first configure the hosts.deny file to deny ALL, and then configure the hosts.allow file to only permit ssh for users on the 192.168.1 subnet.</p>
<p><strong>su root</strong><br />
<em>Enter root password</em><br />
<strong>vi /etc/hosts.deny</strong></p>
<p>add the line:</p>
<p><strong>ALL: ALL</strong></p>
<p><strong>ESC:x!</strong> to save</p>
<p><img class="aligncenter size-full wp-image-1150" title="20" src="http://builddocs.com/wp-content/uploads/2009/10/20.jpg" alt="20" width="560" height="420" /></p>
<p><strong>vi /etc/hosts.allow</strong></p>
<p>add the line:</p>
<p><strong>sshd: 192.168.1</strong></p>
<p><strong>ESC:x!</strong> to save</p>
<p><img class="aligncenter size-full wp-image-1152" title="23" src="http://builddocs.com/wp-content/uploads/2009/10/231.jpg" alt="23" width="560" height="420" /></p>
<p><a name="limits"></a></p>
<h2>Resource Limits</h2>
<p>These settings will prevent users from consuming too many resources. These changes will have the following effects: file sized will be limited to 100 MB and users can have a maximum of 150 concurrent processes running.</p>
<p>su root<br />
Enter root password<br />
vi /etc/security/limits</p>
<p>Insert the following lines at the bottom of the file:<br />
hard fsize 102400<br />
hard nproc 150</p>
<p><img class="aligncenter size-full wp-image-1156" title="27" src="http://builddocs.com/wp-content/uploads/2009/10/27.jpg" alt="27" width="560" height="420" /></p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/security_applications/10-simple-steps-to-redhat-linux-security/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing VMware Tools on RedHat 5.4</title>
		<link>http://builddocs.com/server_os_builds/installing-vmware-tools-on-redhat-5-4/</link>
		<comments>http://builddocs.com/server_os_builds/installing-vmware-tools-on-redhat-5-4/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 21:50:26 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vmware tools]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=1055</guid>
		<description><![CDATA[Interested in getting VMware Certified? Check out this VCP 410 Exam Prep

This document outlines the steps to install VMware tools on Redhat 5.4. This document assumes a fresh vanilla install as described in the post
Installing RedHat 5.4 64 bit.
To begin log into your RedHat server as a user and right click on the desktop to [...]]]></description>
			<content:encoded><![CDATA[<p>Interested in getting <A HREF="http://exameducation.com">VMware Certified</A>? Check out this <A HREF="http://exameducation.com">VCP 410 Exam Prep</A></p>
<p><HR></p>
<p>This document outlines the steps to install VMware tools on Redhat 5.4. This document assumes a fresh vanilla install as described in the post<br />
<A HREF="http://builddocs.com/server_os_builds/installing-redhat-5-4-64-bit/">Installing RedHat 5.4 64 bit</A>.</p>
<p>To begin log into your RedHat server as a user and right click on the desktop to open a terminal window.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/110.jpg" alt="1" width="560" height="420" class="aligncenter size-full wp-image-1056" /></p>
<p>Enter the command <strong>su</strong> and enter your root password to become root.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/22.jpg" alt="2" width="560" height="420" class="aligncenter size-full wp-image-1059" /></p>
<p>Change directories to the temp directory:</p>
<p><strong>cd /tmp</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/32.jpg" alt="3" width="560" height="420" class="aligncenter size-full wp-image-1060" /></p>
<p>From the VMWare file menu click on VM and click on &#8220;Install VMware Tools&#8221;</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/4.JPG" alt="4" width="567" height="468" class="aligncenter size-full wp-image-1062" /></p>
<p>Enter the following command to mount the cdrom:</p>
<p><strong>mount -o ro /dev/cdrom /mnt</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/52.jpg" alt="5" width="560" height="420" class="aligncenter size-full wp-image-1063" /></p>
<p>Enter the following command to copy files from the /mnt mointpoint to the current directory (/tmp):</p>
<p><strong>cp /mnt/* .</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/132.jpg" alt="13" width="560" height="420" class="aligncenter size-full wp-image-1065" /></p>
<p>There are two files: an rpm and a tar.gz archive. I have not had the best of luck with the rpm, so instead we will install the generic way using the perl script contained within the archive.</p>
<p>Enter the following to unzip the archive:</p>
<p><strong>gunzip VM*.gz<br />
tar -xvf VM*.tar</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/141.jpg" alt="14" width="560" height="420" class="aligncenter size-full wp-image-1067" /></p>
<p>Change directories to the newly created vmware-tools-distrib directory:</p>
<p><strong>cd vmware-tools-distrib<br />
</strong><br />
<img src="http://builddocs.com/wp-content/uploads/2009/10/151.jpg" alt="15" width="560" height="420" class="aligncenter size-full wp-image-1068" /></p>
<p>Enter the following to execute the vmware-install perl script:</p>
<p><strong>perl vmware-install.pl<br />
</strong><br />
<img src="http://builddocs.com/wp-content/uploads/2009/10/162.jpg" alt="16" width="560" height="420" class="aligncenter size-full wp-image-1069" /></p>
<p>Continue to press Enter at prompts to accept defaults until script completes</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/171.jpg" alt="17" width="560" height="420" class="aligncenter size-full wp-image-1070" /></p>
<p>Script completes in about a minute and you&#8217;re all done</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/181.jpg" alt="18" width="560" height="420" class="aligncenter size-full wp-image-1071" /></p>
<p>Please post questions or comments below</p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/server_os_builds/installing-vmware-tools-on-redhat-5-4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing RedHat 5.4 64 bit</title>
		<link>http://builddocs.com/server_os_builds/installing-redhat-5-4-64-bit/</link>
		<comments>http://builddocs.com/server_os_builds/installing-redhat-5-4-64-bit/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 12:29:09 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=1011</guid>
		<description><![CDATA[This document demonstrates a general purpose RedHat 5.4 64-bit linux server build. In this build we will be using the rhel-server-5.4-x86_64-dvd.iso image downloaded from redhat.com.
Insert CD/DVD and power on system. At the splash screen press Enter key to begin install.

Select OK and press Enter to run a media test (optional).

Review License Agreement and press Close [...]]]></description>
			<content:encoded><![CDATA[<p>This document demonstrates a general purpose RedHat 5.4 64-bit linux server build. In this build we will be using the rhel-server-5.4-x86_64-dvd.iso image downloaded from redhat.com.</p>
<p>Insert CD/DVD and power on system. At the splash screen press Enter key to begin install.</p>
<p><img class="aligncenter size-full wp-image-1013" src="http://builddocs.com/wp-content/uploads/2009/10/1.jpg" alt="1" width="448" height="336" /></p>
<p>Select OK and press Enter to run a media test (optional).</p>
<p><img class="aligncenter size-full wp-image-1015" src="http://builddocs.com/wp-content/uploads/2009/10/2.jpg" alt="2" width="504" height="280" /></p>
<p>Review License Agreement and press Close to continue</p>
<p><img class="aligncenter size-full wp-image-1016" src="http://builddocs.com/wp-content/uploads/2009/10/4.jpg" alt="4" width="560" height="420" /></p>
<p>Press Next</p>
<p><img class="aligncenter size-full wp-image-1017" src="http://builddocs.com/wp-content/uploads/2009/10/3.jpg" alt="3" width="560" height="420" /></p>
<p>Select Language</p>
<p><img class="aligncenter size-full wp-image-1018" src="http://builddocs.com/wp-content/uploads/2009/10/3.5.jpg" alt="3.5" width="560" height="420" /></p>
<p>If you have an Installation Number enter it here. Otherwise select Skip.</p>
<p><img class="aligncenter size-full wp-image-1019" src="http://builddocs.com/wp-content/uploads/2009/10/3.7.jpg" alt="3.7" width="560" height="420" /></p>
<p>If you are installing on a fresh disk you will receive a message indicating that no partition table was found. Press Yes to initialize disk.</p>
<p><img class="aligncenter size-full wp-image-1020" src="http://builddocs.com/wp-content/uploads/2009/10/3.8.jpg" alt="3.8" width="560" height="420" /></p>
<p>Leave default selected (&#8221;Remove linux partitions on selected drives and create default layout&#8221;) but check the box &#8220;Review and Modify Partition Layout&#8221;</p>
<p><img class="aligncenter size-full wp-image-1022" src="http://builddocs.com/wp-content/uploads/2009/10/5.jpg" alt="5" width="560" height="420" /></p>
<p>At warning Press Yes to continue creating new partitions (existing data will be deleted)</p>
<p><img class="aligncenter size-full wp-image-1024" src="http://builddocs.com/wp-content/uploads/2009/10/6.jpg" alt="6" width="560" height="420" /></p>
<p>On the following screen you may review default partitions. By default there are only two partitions: swap and / (root). 1 GB of swap should be good for most systems. Some people use the rule of thumb: swap equals twice physical memory; however, nowadays systems typically have multiple gigs of memory in which case this much swap is overkill.</p>
<p>In this build we will modify the / partition and reallocate space to create additional partitions for /var and /opt. This step is optional, but it separates logs (mostly on /var) and applications (often in /opt) into their own partitions, providing some insurance to prevent them from filling up disk space on the root partition.</p>
<p>Click on the / partition and press the edit button.</p>
<p><img class="aligncenter size-full wp-image-1025" src="http://builddocs.com/wp-content/uploads/2009/10/7.jpg" alt="7" width="560" height="420" /></p>
<p>On the popup screen, select / and press Edit. Reduce the size to allow for the creation of the /var and /opt partitions. In this case we will make the / partition 8992 MB (Use your judgment to decide how much to assign depending on how much space is available and what types of applications will be running).</p>
<p><img class="aligncenter size-full wp-image-1027" src="http://builddocs.com/wp-content/uploads/2009/10/81.jpg" alt="8" width="560" height="420" /></p>
<p>Press the Add button to create new partitions for /var and /opt. In this case we will make /var 4000 MB and /opt 4288 MB.</p>
<p><img class="aligncenter size-full wp-image-1028" src="http://builddocs.com/wp-content/uploads/2009/10/9.jpg" alt="9" width="560" height="420" /></p>
<p>Review partitions one more time and press Next</p>
<p><img class="aligncenter size-full wp-image-1029" src="http://builddocs.com/wp-content/uploads/2009/10/10.jpg" alt="10" width="560" height="420" /></p>
<p>Leave defaults and press next (if you want to be super secure, you may configure a password for the grub loader, which requires a password to boot the system. This can be very annoying if you are doing remote administration).</p>
<p><img class="aligncenter size-full wp-image-1031" src="http://builddocs.com/wp-content/uploads/2009/10/11.jpg" alt="11" width="560" height="420" /></p>
<p>Enter static IP address and network configuration</p>
<p><img class="aligncenter size-full wp-image-1032" src="http://builddocs.com/wp-content/uploads/2009/10/12.jpg" alt="12" width="560" height="420" /></p>
<p>Select time zone</p>
<p><img class="aligncenter size-full wp-image-1033" src="http://builddocs.com/wp-content/uploads/2009/10/13.jpg" alt="13" width="560" height="420" /></p>
<p>Enter root password</p>
<p><img class="aligncenter size-full wp-image-1034" src="http://builddocs.com/wp-content/uploads/2009/10/14.jpg" alt="14" width="560" height="420" /></p>
<p>The software development option gives you all kinds of useful stuff like perl and java. These are a pain to install manually so it&#8217;s nice to let the installer do it for you here.</p>
<p>If this is going to be a web server you may choose to check the web server box, but I am not a fan of the default apache package so I prefer to build it manually post-install.</p>
<p>Select Software Development and press next</p>
<p><img class="aligncenter size-full wp-image-1035" src="http://builddocs.com/wp-content/uploads/2009/10/15.jpg" alt="15" width="560" height="420" /></p>
<p>Press Next</p>
<p><img class="aligncenter size-full wp-image-1036" src="http://builddocs.com/wp-content/uploads/2009/10/16.jpg" alt="16" width="560" height="420" /></p>
<p>OS will be installed. May take about 10-15 minutes</p>
<p><img class="aligncenter size-full wp-image-1038" src="http://builddocs.com/wp-content/uploads/2009/10/17.jpg" alt="17" width="560" height="420" /></p>
<p>When installation is complete press Reboot</p>
<p><img class="aligncenter size-full wp-image-1040" src="http://builddocs.com/wp-content/uploads/2009/10/18.jpg" alt="18" width="560" height="420" /></p>
<p>After reboot there will be a few more configuration items. Press Forward to continue</p>
<p><img class="aligncenter size-full wp-image-1041" src="http://builddocs.com/wp-content/uploads/2009/10/19.jpg" alt="1" width="560" height="420" /></p>
<p>Read License Agreement and press Forward</p>
<p><img class="aligncenter size-full wp-image-1042" src="http://builddocs.com/wp-content/uploads/2009/10/21.jpg" alt="2" width="560" height="420" /></p>
<p>RedHat comes with a server-based firewall. Select services to be enabled and/or add any port exceptions. Since we don&#8217;t really know what this server will be used for at this point the only one we will worry about is ssh.</p>
<p><img class="aligncenter size-full wp-image-1043" src="http://builddocs.com/wp-content/uploads/2009/10/31.jpg" alt="3" width="560" height="420" /></p>
<p>We will leave default setting for SELinux security settings.</p>
<p><img class="aligncenter size-full wp-image-1044" src="http://builddocs.com/wp-content/uploads/2009/10/41.jpg" alt="4" width="560" height="420" /></p>
<p>We will enable kdump to capture information in the event of a crash and leave the default 128 memory allocation.</p>
<p><img class="aligncenter size-full wp-image-1045" src="http://builddocs.com/wp-content/uploads/2009/10/51.jpg" alt="5" width="560" height="420" /></p>
<p>We will use NTP to keep the system clock in-sync. Click on the Network Time Protocol tab and enter NTP servers (if unsure skip and just leave default).</p>
<p><img class="aligncenter size-full wp-image-1046" src="http://builddocs.com/wp-content/uploads/2009/10/71.jpg" alt="7" width="560" height="420" /></p>
<p>Setup software updates. If you have a subscription to red hat you may setup software updates here.</p>
<p><img class="aligncenter size-full wp-image-1047" src="http://builddocs.com/wp-content/uploads/2009/10/91.jpg" alt="9" width="560" height="420" /></p>
<p>It&#8217;s a bad idea to log in as root all the time so you should create a user account. Enter your username and password.</p>
<p><img class="aligncenter size-full wp-image-1048" src="http://builddocs.com/wp-content/uploads/2009/10/101.jpg" alt="10" width="560" height="420" /></p>
<p>We don&#8217;t have a sound card so we skip this.</p>
<p><img class="aligncenter size-full wp-image-1049" src="http://builddocs.com/wp-content/uploads/2009/10/111.jpg" alt="11" width="560" height="420" /></p>
<p>At this point we are done the OS install. Press Finish.</p>
<p><img class="aligncenter size-full wp-image-1051" src="http://builddocs.com/wp-content/uploads/2009/10/121.jpg" alt="12" width="560" height="420" /></p>
<p>Press OK to Reboot.</p>
<p><img class="aligncenter size-full wp-image-1052" src="http://builddocs.com/wp-content/uploads/2009/10/131.jpg" alt="13" width="560" height="420" /></p>
<p>Please leave comments below if you have any questions or would like to add anything to this build.</p>
<p>I recommend you also review this article on <A HREF="http://builddocs.com/security_applications/10-simple-steps-to-redhat-linux-security/">Redhat 5.4 Security</A></p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/server_os_builds/installing-redhat-5-4-64-bit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
