Operating System Installation: CentOS 5.2

From HEWIKI
Jump to: navigation, search

He server.png Documentation on this page is intended for customers of HeroEngine managing their own server(s).



Go Here Instead - Operating System Installation: CentOS_5.3







For setup instructions under 4.3, see Operating System Installation: CentOS 4.3.

Contents

Overview

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.

Prerequisites

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?

Installation

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:

  1. /boot 100M Boot flag on
  2. / (root) 10Gig
  3. 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:

Package Selection:

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.

Description

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.

Description


Next you will see the initial CentOS 5 splash screen, click Next to continue.

Description


Select English (English) as the default language and click Next.

Description


Select U.S. English for the keyboard type and click Next.

Description


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.

Description


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.

Description


You will be prompted to confirm this choice. If you’re satisfied, click Yes to continue.

Description


The system made the following determinations for our 10.2Gig drive:

We suggest swap be between 50%-100% the amount of RAM installed

Description


If you’re satisfied with the partition layout select Next to continue. Otherwise, modify partition types and sizes as necessary and then click Next.

Description


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.

Description


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:

Description


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.

Description


Next enter in the hostname, Gateway address, Primary and Secondary DNS, and select Next to continue.

Description


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.

Description


Next, set the root password. You’ll need to enter it in twice. When finished, select Next to continue.

Description


Package Selection

Uncheck all boxes except for the one marked “Server – GUI”. Activate the ‘Customize now’ radio button and click Next to continue.

Description


On the next screen, make the following Package Group choices:

Description


Description


Description


Description


Once you’ve made the appropriate Package Group choices, click Next to continue.

Description


Now, CentOS is ready to begin the installation. Click Next to continue.

Description


After formatting the partitions according to the settings selected earlier, the installation will begin.

Description


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.

Description

Post Operation System Installation

Initial startup screen

Description


There are a few configuration changes we need to make to our new system. Click Forward to continue.

Description


The first configuration change we will make is to disable the firewall. Choose ‘Disabled’ from the drop down box and click Forward to continue.

Description


A Window will pop up and ask you to confirm this choice. Click Yes to continue.

Description


Next, SELinux needs to be disabled. Select Disabled from the drop down box and click Forward to continue.

Description


Again, a window will prompt you to confirm your selection. Click Yes to continue.

Description


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.

Description


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.

Description


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.

Description


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.

Description


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.

Description


No additional CDs will be installed at this time, click Finish to complete the Post OS Installation process.

Description


You may see a window informing you the system may need to reboot. Click OK to continue and reboot the system.

Description




Choose the Server's Role

We are now ready to choose your server’s role and continue setup based on its role:

Reference

See also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox