• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 612
  • Last Modified:

Httpd service in Linux

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?

Thanks
0
jskfan
Asked:
jskfan
8 Solutions
 
torimarCommented:
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:
http://articles.slicehost.com/2008/2/6/centos-installing-apache-and-php5
0
 
mccrackyCommented:
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:

http://cloudservers.rackspacecloud.com/index.php/CentOS_-_Apache_and_PHP_install
http://www.linuxhelpzone.com/install-apache-mysql-php-in-centos-or-redhatfedora-linux.html
0
 
Dave BaldwinFixer of ProblemsCommented:
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
arnoldCommented:
run
yum install httpd #requires internet connection
or use
system-install-packages httpd
0
 
psreedhar2000Commented:
You can use the installation DVD and find the correct RPM to install HTTP.
0
 
Fadi SODAH (aka madunix)Chief Information Security Officer, CISA, CISSP, CFR, ICATE, MCSE, CCNA, CCNP, CCIP, SCSC and SCECommented:
a complete guide installing apache with other software
http://www.howtoforge.com/centos-4.6-server-lamp-email-dns-ftp-ispconfig
0
 
arnoldCommented:
to psreedhar2000's suggestion if you have the media, system-cdinstall-helper httpd
0
 
kbenschCommented:
Hi

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.

Kobus
0
 
jskfanAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now