Operating System Installation: CentOS 5.2
Go Here Instead - Operating System Installation: CentOS_5.3
- For setup instructions under 4.3, see Operating System Installation: CentOS 4.3.
This document guides the user in the installation of the Linux CentOS 5.2 distribution on a server in preparation to configure the machine to serve as either an Oracle Database or a HeroEngine Server.
This document assumes a very low level of knowledge in setting up and configuring CentOS / Redhat 5 and the Oracle client.
When do you need to do this?
Quick install instructions for advanced users
The latest version of CentOS is at : http://isoredirect.centos.org/centos/5/isos/i386/
I would suggest downloading the DVD instead of the 6 CDs http://centos.mirroring.us/5.2/isos/i386/CentOS-5.2-i386-bin-DVD.iso
The following are minimum partition suggestions:
- /boot 100M Boot flag on
- / (root) 10Gig
- Swap partition -- 50-100% of the RAM installed.
Static IP needs to be set, and you can disable IPv6. You’ll need to know the following network information:
- Static IP for the host
- Fully Qualified Host Name
- Subnet mask
- Default Gateway
- Primary DNS Server
- Secondary DNS server
- Desktop – Gnome unchecked
- Server GUI
- All Sever Daemons disabled under the Servers Group
- Disabling Dialup Networking Support under Base System
- Everything else default
Firewall and SELinux disabled.
NTP (Netowrk Time Protocol) turned on, and Synchronize system clock before starting service enabled
Initial Operating System Installation
Step by Step Instructions for installation of CentOS 5.2 Boot the system with the CentOS 5.2 32bit DVD.
When you see this screen, hit <ENTER> to start the graphical installer.
On the following screen, you can choose whether to test the installation media or not; by default, we’ll skip this part.
Next you will see the initial CentOS 5 splash screen, click Next to continue.
Select English (English) as the default language and click Next.
Select U.S. English for the keyboard type and click Next.
Disk partitioning will come next. In this scenario we have a single 10Gig hard drive seen as /dev/hda. We will be allowing the OS to make the determinations of how to setup the partitions and reviewing what is suggested. Advanced users may create their own disk partitioning scheme. Select Yes to continue.
In this case we will be removing all existing partitions and creating a default layout. Check the box to review what’s been suggested to make sure it meets our needs. Select Next to continue.
You will be prompted to confirm this choice. If you’re satisfied, click Yes to continue.
The system made the following determinations for our 10.2Gig drive:
- It created a 100MB partition called /dev/hda1 with a mount point of /boot
- It created a 10.1Gig Logical Volume Partition called VolGroup00 and subdivided it into two logical volumes called LogVol00 root and LogVol01 swap.
We suggest swap be between 50%-100% the amount of RAM installed
- LogVol00 / (root) and 8.13Gig in size
- LogVol01 swap and 1.984Gig in size (in this case 50% of the RAM we have installed – 4Gig)
If you’re satisfied with the partition layout select Next to continue. Otherwise, modify partition types and sizes as necessary and then click Next.
Make sure the radio button to use the Grub boot loader is selected. If you wish to set a boot loader password you can check the “Use a boot loader password” box to do so. When satisfied,click Next.
Now we’re going to configure the IP Address for the server. Do not use DHCP; instead, assign a static IP by first clicking on the Edit button, then following the instructions below:
You will need the following information:
- IP address
- FQDN – Fully Qualifed Domain (host) Name
- Default Gateway
- Primary DNS
- Secondary DNS
Check the box to enable IPv4 Support. Select the Manual configuration radio button and enter the IP address and subnet mask for this host. The IPv6 box can be unchecked if IPv6 is not supported by your network. Click OK to continue.
Next enter in the hostname, Gateway address, Primary and Secondary DNS, and select Next to continue.
Select your time zone, for us it’s America/Chicago in this case and leave the checkbox named ‘System clock uses UTC’ marked. When finished, click Next.
Next, set the root password. You’ll need to enter it in twice. When finished, select Next to continue.
Uncheck all boxes except for the one marked “Server – GUI”. Activate the ‘Customize now’ radio button and click Next to continue.
On the next screen, make the following Package Group choices:
- Desktop Environments
- Gnome Desktop Environment
- Text-based Internet
- Development – Nothing Checked
- Servers – By default, almost all server components are checked. You will need to uncheck all the server component boxes
- Base System
- Administrator Tools
- Un-check Dialup Networking Support
- System Tools
- X Windows System
- Virtualization – Nothing Checked
- Clustering – Nothing Checked
- Cluster Storage – Nothing Checked
- Languages – Nothing Checked
Once you’ve made the appropriate Package Group choices, click Next to continue.
Now, CentOS is ready to begin the installation. Click Next to continue.
After formatting the partitions according to the settings selected earlier, the installation will begin.
Once it’s completed you’ll be prompted to Reboot the system. Select the Reboot button, wait for your new CentOS install to come up, and continue with the “Post Installation Steps” section of this document.
Post Operation System Installation
Initial startup screen
There are a few configuration changes we need to make to our new system. Click Forward to continue.
The first configuration change we will make is to disable the firewall. Choose ‘Disabled’ from the drop down box and click Forward to continue.
A Window will pop up and ask you to confirm this choice. Click Yes to continue.
Next, SELinux needs to be disabled. Select Disabled from the drop down box and click Forward to continue.
Again, a window will prompt you to confirm your selection. Click Yes to continue.
Next you can choose to enable or disable Kdump (which is a mechanism to capture system information should there be a crash). By default, we will not enable Kdump. More advanced users may enable it should they choose.
Date and Time
Verify the date and time are correct. If they’re not, update them to the correct time. We also suggest enabling the Network Time Protocol. Select the Network Time Protocol tab to enable NTP.
Check the box to Enable Network Time Protocol; by defaults 3 NTP servers are already included. You may choose to Add additional Time servers if you have a different set of servers you wish to use. Under ‘Show advanced options,’ we suggest checking the box to Synchronize system clock before starting service. Once you’ve made your selections, click Forward to continue.
Next, create an account for yourself. Enter in a Username, the Full Name, Password and Confirm Password. We will be using default authentication settings of shadow passwords and MD5 password hashing. More advanced users may wish to use a central LDAP server or Active Directory for authentication, but that is beyond the scope of this document.
No sound cards are installed in this server and will not be configured. Sound is not needed for a HeroEngine server, so this step may be skipped if a sound card is installed. Click Forward to continue.
No additional CDs will be installed at this time, click Finish to complete the Post OS Installation process.
You may see a window informing you the system may need to reboot. Click OK to continue and reboot the system.
Choose the Server's Role
We are now ready to choose your server’s role and continue setup based on its role:
- Continue with instructions for development environment to compile HeroEngine Server Daemons
- Continue with instructions for setting up a HeroEngine Server
- Oracle Database
- Deprecated CentOS 5.2 page- link to the deprecated page from which this and the pages this page links to derived. Maintaining a link to preserve the confusing original document.