Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm setting up a CentOS 6 server on a VPS. I've worked with Apache before, but I've never dealt with CentOS 6.

I guess it would just be this right?

sudo yum install httpd -y
sudo yum install mod_ssl -y

(And then use chkconfig to set it to run on startup and start configuring the details under /etc/httpd/conf.)

Is there more to it? Anything special I should be know about going in? Any gotchas I should be wary of?

share|improve this question
up vote 1 down vote accepted

yum install -y mod_ssl is sufficient. It will install all required dependencies (including httpd).

After installation: chkconfig httpd on

share|improve this answer
That worked, thanks. – Agvorth Sep 20 '12 at 9:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.