Re: Building a box from the ground up
Where/how will you run this? What type of services/software are you intending to run?
Originally posted by justageek
I will be building a box specifically for web hosting, but only intended for learning and experimentation. This will not be a production server.
Renting a license for cpanel for a test server can be an expensive addition. You might consider not using a control panel at all, if you're learning. It will allow you to get more familiar with how things work without having a GUI do most of the tasks for you.
I have decided to stick with the norm for now and use Redhat, Apache, WHM and CPanel.
I'd just suggest you install and configure and get familiar with all the issues involved with any and all of the software and tools you intend or want to run on a server, get used to it, educate yourself on it all and take the time to do it right.
What is the best way to approach this?
If you want to go with the most common install, you'd probably use Linux Redhat 7.2 or 7.3, use the Apache web server, install all the common things like compilers, Perl, Email software, ProFTP, etc. If you want to use Cpanel, just simply get Redhat 7.2 or 7.3 and install it and it'll install all the rest for you.
What type of install should I choose?
That depends on the size of the drive, how many you have, etc. I'd say you should have a good idea of how large the partitions should be in relation to the size of the drive, what you'll be running and so on. A separate partition for the following is desirable, more stable and secure:
How would you partition the drive(s)?
/, /boot, /usr, /var, /tmp, and /home. If you plan to do any real jailing of services, you should have unused space or an extra partition handy, called whatever you wish.
There's too many to list.
What security considerations should I take in to account?
That's too open for an answer. It depends on what you are running and many things are individually optimized (and in different ways).
How would you optimize it?
You definitely do not want a GUI on a web server. Never install any such thing on a web server. It takes up room, has tools nd programs that are not meant to run in a web server environment and therefore open up a lot more security risks.
Would you install Gnome, KDE or simply use the command line?