Get latest version of linux centos. http://isoredirect.centos.org/centos/6/isos/x86_64/
Boot Computer with CentOS Installation CD/DVD.
Select Install or Upgrade existing system options.
Choose skip media test as it may take long time to check media.
CentOS Welcome Screen press Next.
Language Selection
Select appropriate Keyboard.
Select Basic Storage Device if your hard drive is attached locally.
You may get Storage Device warning, you can click Yes, discard any data button to Continue.
Give a Hostname to the server and click on Configure Network button if you want to configure network while installation.
Click Wired tab and click on Add button.
Editing wired connection. Select Connect Automatically, go to ipv4 settings tab and select Method and select Manual in drop down. Click on Add tab to fill address box with IP Address, Netmask, Gateway and DNS Server. Here I’m using IP Address 192.168.1.64 and DNS Server is 4.2.2.2 for demo. This IP Address may vary in your environment.
Select Time Zone.
Give root password
Select appropriate partitioning as per your requirement.
Create Mount point /, and swap area in drive
Verify filesystem. Here, you can edit filesystem If you want.
Disk Format Warning, click on Format.
Select Write Changes to disk.
Hard Drive is Formatting.
Here, you can give Boot loader Password for better security.
Select the applications you want to install, you can choose Customize now and click Next.
Select the applications you want to install and click Next.
Installation started, this may take several minutes as per selection of packages.
Installation completed, Please remove CD/DVD and reboot system.
Login by root password