seven:/etc/init.d # ls -l apa*
-rwxr--r--  1 root root 8767 2005-03-16 07:50 apache2


Steve Holdoway wrote:

On Mon, May 16, 2005 12:48 pm, Roger Searle said:


Hi, I have apache2 installed on this suse 9.1 box (Yast tells me all
sorts of apache2 packages are there).  How can I start the server?
Running httpd gives me "command not found".   In a browser http://seven
or http://192.168.0.7 or http://localhost all give "the connection was
refused when attempting to contact seven".  None of this is a surprise
given the server isn't started.

Looked so simple when Steve demonstrated it recently.  Googling produces
so much info on apache tutorials, and I have dozens of apache files and
directories all over the place that I am overwhelmed by the whole thing
and hope someone can point me in the right direction.

Cheers,
Roger



Logged in as root in a command box...

cd /etc/init.d
ls -l apa*

There should be a file apache2 there. If not, look for httpd.

to start the web server,

./apache2 start

You should then get response to http://localhost form your browser.

hth,

Steve



Reply via email to