Table of Contents
- If you have downloaded the os iso(s) for CentOS you may relaise that the boot.iso is no longer included. Have a look at this page for information.
- i386 torrent here. You want CentOS-6.0-i386-bin-DVD.torrent.
- i386 boot iso here. You want CentOS-6.0-i386-netinstall.iso.
- x86_64 torrent here. You want CentOS-6.0-x86_64-bin-DVD.torrent.
- x86_64 boot.iso here. You want CentOS-6.0-x86_64-netinstall.iso.
- From the netinstall.iso create eith a bootable CD or USB (for usb I use this: LiveUSB)
- Boot your clean server from the desired netinstall ISO.
- If you have access to an online repository, then do a http install.
- If you do not have access to an online repository then you will want to have burnt the DVDs from the torrent download and install the server from these.
- Generally I choose the following during an installation.
- Custom Hard Disk setup which would generally be raid based. Commonly I have been doing 3 x 500GB hds.
- \boot 200 meg (md0) (Raid 1 with one spare)
- swap 2x the amount of ram, generall across the three HDs
- rest of the 3 500s as a single raid 5 formatted as LVM, About 950 GB split:
- /usr 25,000 GB
- /tmp 500 MB
- /var 45,000 GB
- /home 850,000 GB
- / gets the rest
- Setup Time, Server root password, and other screens as needed.
- Packages: Server and KDE (not gnome). Don't install Office, Games or other non server features. I do install graphical internet.
- Once all the packages have been installed you will need to reboot.
- I am currently finding that a reboot does not give me a GUI, I have then had to install:
- yum groupinstall "KDE Desktop"
- yum groupinstall "X Window System"
- Then run startx.
- This gives me a GUI
- Now nano /etc/inittab
- And change id:3:initdefault: to id:5:initdefault:
- Reboot and make sure the server restarts as expected.
- After the reboot you will need to set up a few areas:
- This may not be in order.
- Firewall: I totally disable and set this up manually from my firewall script.
- selinux: I totally disable.
- Sound card: I ignore
- Users: I set up my first user, which is generally the same for all my servers.
- This will become your main administrational user, as root is not commonially used, for security reasons.
- REBOOT
You are ready to move on to the next page.
Hardening.