LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I check if Apache is installed? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-check-if-apache-is-installed-205450/)

jmg1894 07-15-2004 02:00 PM

How do I check if Apache is installed?
 
I was wondering how I can check to see if Apache is installed and running. I am trying to get to my linux box through a web browser but I am unable to even get a welcome to apache screen.

Tinkster 07-15-2004 02:03 PM

su -c "cd /; updatedb "
locate apachectl



Cheers,
Tink

jmg1894 07-15-2004 02:13 PM

It seems to be running. Could it be firewall related? I have enable http using lokkit.
How else can I chech to see if http is allowed through my firewall?

Tinkster 07-15-2004 02:21 PM

The commands I gave you just check fo its presence
in the filesystem. If you want to know whether it's running
check
ps -aux | grep httpd


As for the firewall:
Depends on how you set-up your firewall ....

On my machine dropped packets (except for a few
too generic ones) get logged, too ...

"iptables -L" may give you an indication of what's
actually happening as well...



Cheers,
Tink

eeried 07-15-2004 02:23 PM

Hello,

I've not been able to get a wecome screen with Apache either -- can't even find the index.html file! It's certainly not in the /var/www/ though this is the default dir set for Apache. Yet it's launched at boot time.

However, I've been able to to create a website locally, with a CMS based on MySQL and PHP.

Apache is rather a bit of a mystery!

:confused:

Cheers,


All times are GMT -5. The time now is 04:24 PM.