prepare for my dedicated server

Since I decided to upgrade one of my website’s hosting to a dedicated server in the near future, I figured that I need to prepare for the administration tasks. Got to shake some dust off my fingers. What’s the plan? Use one of my old box to practice installing Apache/PHP, MySQL and Qmail.

Downloaded the CentOS 4.3 ISO image from web and burned 4 CDs.

Dug out my 10 year old PC. Yes, you heard it right, I built it myself 10 years ago. The CPU is an AMD400(mm?), and it has 256m emmory. Hard drive? 10G. It was a HUGH hard drive then.

Ok, booted the system from CDROM and the rest of the stuff was pretty much no brainer.

I about 2 hours I had my system running.

For GUI, I selected KDE. Not that I preferred it, just thought it takes less space comparing with Gnome…I may be wrong here, or I can get some other X system which is far lighter than KDE. But I am not palnning to use the GUI to manage the machine. As a matter of fact, once the system is up I’ll change the default runlevel to 3 so it doesn’t load this clunky GUI to start.

Here is how I did it:

Su to root
Open /etc/inittab
change
id:3:initdefault:
to
id:5:initdefault:

Restarted the system…

The meaning of the runlevels:
0 – halt (Do NOT set initdefault to this)
1 – Single user mode
2 – Multiuser, without NFS (The same as 3, if you do not have networking)
3 – Full multiuser mode
4 – unused
5 – X11
6 – reboot (Do NOT set initdefault to this)

This entry was posted in server setup. Bookmark the permalink.