Httpd service in Linux

Posted on 2010-09-17
Last Modified: 2013-12-06
I have installed Linux Centos, when I went to services I noticed tha there is no httpd service, which I think it' s required to set up Apache server.

How can I get this service running?

Question by:jskfan
LVL 35

Accepted Solution

torimar earned 63 total points
ID: 33706797
The httpd daemon is not required for setting up Apache, it _is_ Apache. If you haven't yet set up Apache, it cannot be there.

Try this in a terminal as root:

service httpd start

or this:

/etc/init.d/httpd start

If this fails with error messages or unrecognized commands, you need to install Apache to start with. Go:

yum install httpd

then run the above "service httpd start" command.

Here's a small minimalist guide on what you have to set up and configure in order  to run Apache successfully:
LVL 12

Assisted Solution

mccracky earned 63 total points
ID: 33706898
I can't remember CentOS right now, but some distros name it "apache" or "apache2" rather than httpd.  Is that running?  If that's not it, try following something like the above or this:
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 63 total points
ID: 33706903
LVL 76

Assisted Solution

arnold earned 125 total points
ID: 33706974
yum install httpd #requires internet connection
or use
system-install-packages httpd
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!


Assisted Solution

psreedhar2000 earned 62 total points
ID: 33707372
You can use the installation DVD and find the correct RPM to install HTTP.
LVL 25

Assisted Solution

madunix earned 62 total points
ID: 33707522
a complete guide installing apache with other software
LVL 76

Assisted Solution

arnold earned 125 total points
ID: 33708501
to psreedhar2000's suggestion if you have the media, system-cdinstall-helper httpd

Assisted Solution

kbensch earned 62 total points
ID: 33798809

If httpd is not in the chkconfig --list  then you need to install it.

Best way to do that is to do yum install httpd

You can also do a search for additional packages with yum search httpd

This is the recommended way from the cli as when you do a system update you do yum update which will then update packages in the correct manner.


Author Closing Comment

ID: 33812695

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now