Super User is a question and answer site for computer enthusiasts and power users. 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 am deploying an httpd server on RHEL6. I've installed the rpm and everything.

Now, when it comes to service startup, most of the post give as example the following line:

chkconfig --levels 235 httpd on

which doesn't makes sense to me.

According to wiki most linux distributions are using runlevel 2 as Multi-User mode without networking. So what is the point of running httpd with no network enabled?

share|improve this question
up vote 3 down vote accepted

Don't believe everything you read on Wikipedia.

Taken from a live, recently installed CentOS 6 system: The network is started in runlevels 2, 3, 4 and 5.

# chkconfig --list network
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off

As a practial matter, only runlevels 3 and 5 ever really get used. Runlevel 3 is the usual "no-graphical-desktop" runlevel, while runlevel 5 is used to start a graphical desktop.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .