Please note this is specific manual (non general installation).
Why CentOS ? First of all it is the replica of RedHat. Second – it is stable, if the package is inside the CentOS – means this package is almost bugs free. Third – if you wish to install new packages and avoid dependencies hell, you can use standard YUM and be happy.
So which way of installation to choose ?
I prefer CentOS x64 bit version, due to the heavy load web projects requires definitely more than 4GB of RAM. I also prefer CentOS network boot installation where you can get only 15 MB file like ‘CentOS-5.6-x86_64-netinstall.iso‘. Such a small image will give you opportunity to install you server via the following tools like KVMoverIP and brand solutions like DRAC (Dell), RSA (IBM) or iLo (HP).
Once you’ve downloaded the image and will start installation you will see the screen like this.
I suggest the following parameters after boot: linux text ext4
This will gives you opportunity to start the installation in text mode and also will allows you to format your drive in EXT4.
The rest questions in wizard are quite simple, until you’ll be asked where from to install the rest.
Setup you network setting (be sure that you use configuration which allows you to access the internet). If it’s not possible this manual is not for you.
So you should get the following screen:
To understand what data to provide you should first select the place which suits you the most. You can do it here:
All mirrors are build pretty same way, with standard file location structure. We can take for example Dalhousie University in Canada: http://mirror.its.dal.ca/centos/
So this link means for us that for Web site name we should use mirror.its.dal.ca
and depends on the version of CentOS you need to install CeontOS directory: centos/5.6/os/x86_64/(for x64 version) or centos/5.6/os/i386 (for x86). So as you see this is quite simple, and using this example you can install CentOS from any working mirror in the world which is fastest for you.
HDD partitioning is pretty simple, don’t forget to select EXT4 while preparing the partition.
Next step is software selection.
As for me I do select only BASE and few packages inside:
For sure you may need something else, but anyway you can install the rest later on.
This is it. After successful installation you got the system ready for further installations.