|
Home > Archive > Unix administration > November 2004 > where is the Apache HTTP server in Red Hat Enterprise Linux?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
where is the Apache HTTP server in Red Hat Enterprise Linux?
|
|
| bingster 2004-11-23, 6:08 pm |
| Linux 2.4.21-20.EL #1 Wed Aug 18 20:58:25 EDT 2004 i686 i686 i386 GNU/Linux
Not quite familiar with Linux. Still trying to understand what's
already included in the system and what should be downloaded as packages.
According to
https://www.redhat.com/docs/manuals...tpdconfig.html,
Apache HTTP server 2.0 should be provided by Red Hat Enterprise Linux.
But I cannot find it anywere on the above machine. I've searched
httpd.conf, apachectl, etc. Apache related files/commands but got
nothing back.
Can anybody shed some light? Thanks.
Bing
| |
| Steve Cousins 2004-11-23, 6:08 pm |
|
bingster wrote:
> Linux 2.4.21-20.EL #1 Wed Aug 18 20:58:25 EDT 2004 i686 i686 i386 GNU/Linux
>
> Not quite familiar with Linux. Still trying to understand what's
> already included in the system and what should be downloaded as packages.
Hi Bing,
Are you trying to find the httpd file (run "which httpd" or "locate httpd") or the root directory of
the web? If you've found the httpd.conf file (/etc/httpd/conf/httpd.conf) then look for the
"DocumentRoot" line. On my copy of RHEL WS 3 it is set to /var/www/html.
To see what services are set to start up do:
chkconfig --list | grep on
or specifically, for httpd if you are wondering if it should be starting up do:
chkconfig --list httpd
and it will show you in which runlevels it is setup to be started. If there is no listing for httpd
then maybe it didn't get installed.
Good luck,
Steve
>
> According to
> https://www.redhat.com/docs/manuals...tpdconfig.html,
> Apache HTTP server 2.0 should be provided by Red Hat Enterprise Linux.
> But I cannot find it anywere on the above machine. I've searched
> httpd.conf, apachectl, etc. Apache related files/commands but got
> nothing back.
>
> Can anybody shed some light? Thanks.
>
> Bing
| |
| Aaron Whiteman 2004-11-23, 6:08 pm |
| On 4102 September 1993, bingster wrote:
> Apache HTTP server 2.0 should be provided by Red Hat Enterprise Linux.
> But I cannot find it anywere on the above machine. I've searched
> httpd.conf, apachectl, etc. Apache related files/commands but got
> nothing back.
rpm is your friend.
$ rpm -qi httpd
Name : httpd Relocations: (not relocatable)
Version : 2.0.46 Vendor: Red Hat, Inc.
[ ... ]
$ rpm -ql httpd
/etc/httpd
/etc/httpd/conf
[ ... ]
If you get something like...
$ rpm -qi httpd
package httpd is not installed
then you simply need to install it.
$ sudo up2date httpd
up2date takes care of dependencies for you and makes sure you have
the most current version of packages provided by httpd. If you really
wanted to, you could use rpm directly from the cd...
--
I've always taken the position that if you can't find anything bad to
say about a language or an operating system then you don't understand
it.
-- Seymour Metz
| |
| bingster 2004-11-24, 8:12 am |
| Thanks all who replied. It turned out httpd was not installed by
default when I installed RHEL 3. 'up2date httpd' worked.
Bing
Aaron Whiteman wrote:
> On 4102 September 1993, bingster wrote:
>
>
>
> rpm is your friend.
>
> $ rpm -qi httpd
> Name : httpd Relocations: (not relocatable)
> Version : 2.0.46 Vendor: Red Hat, Inc.
> [ ... ]
> $ rpm -ql httpd
> /etc/httpd
> /etc/httpd/conf
> [ ... ]
>
> If you get something like...
> $ rpm -qi httpd
> package httpd is not installed
>
> then you simply need to install it.
> $ sudo up2date httpd
>
> up2date takes care of dependencies for you and makes sure you have
> the most current version of packages provided by httpd. If you really
> wanted to, you could use rpm directly from the cd...
>
|
|
|
|
|