LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-15-2004, 02:00 PM   #1
jmg1894
LQ Newbie
 
Registered: Jun 2004
Posts: 16

Rep: Reputation: 0
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.
 
Old 07-15-2004, 02:03 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
su -c "cd /; updatedb "
locate apachectl



Cheers,
Tink
 
Old 07-15-2004, 02:13 PM   #3
jmg1894
LQ Newbie
 
Registered: Jun 2004
Posts: 16

Original Poster
Rep: Reputation: 0
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?
 
Old 07-15-2004, 02:21 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
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
 
Old 07-15-2004, 02:23 PM   #5
eeried
Member
 
Registered: Jan 2004
Distribution: Xubuntu Dapper - Debian Etch - Puppy Linux
Posts: 136

Rep: Reputation: 15
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!



Cheers,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I check if PHP is installed? imsam Linux - Newbie 8 02-13-2012 02:51 PM
How to check what libraries are installed? Palamides Linux - Software 3 01-06-2005 07:28 PM
How to check SW installed not by rpm maxgg Linux - Newbie 1 12-23-2004 09:29 AM
How do I check what wm I have installed. mlsbraves *BSD 12 12-08-2004 10:25 PM
Shell Script to Check apache installed or not. apt Programming 7 12-06-2004 11:07 PM


All times are GMT -5. The time now is 03:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration