Re: Apache server

From: Randell D. (you.can.email.me.at.randelld_at_yahoo.com)
Date: 09/15/03


Date: Sun, 14 Sep 2003 22:30:09 GMT


"Philip Miller" <help@rejuvenating.com> wrote in message
news:vm75mchtkh758@corp.supernews.com...
> I am new to Linux. So assume nothing.
>
> Is apache server already installed with the normal SuSe Linux 8.1 install?
> Because it does not seem that I have any server. I enter http://localhost
> in my browser and nothing happens. And I don't see any directory where
> Apache is loaded. I can ping it from the rest of my network.
>
> So if I decide to install it from SuSe direct (Apache 2.0) or from Apache
> direct on a Pentium class machine (i486) what are the exact steps that I
> take? If these are line codes are they from the konsole? Again assume
> nothing.
>
> Thanks,
> Phil

When you enter http://localhost in your browser - Where is the browser? Is
it running on your SuSE linux box, or do you have a small network and you're
attempting to connect to Apache from another machine? "localhost" means
"self" thus if you are on another machine and ask for localhost, it won't
see your Apache server.

Secondly - you can check to see if its running via the following

# ps -ef | grep http

If you get three or more lines in the output (perhaps something like
httpd -f /etc/httpd/httpd.conf or something) then its like that it is
running.

An alternative method is to use rpm to check

# rpm --query --all > /tmp/tmpfile
# grep -i apache /tmp/tmpfile

If you get a result there, it means you have a version of apache installed
(but perhaps not configured).

If it is installed, you can start/stop it using

# rcapache start

or

# rcapache stop

and sometimes you can test the status with

# rcapache status

Lastly - if you want to install it I strongly suggest you read the
documentation - Its not that difficult but at the same time don't think
you'll have a web server up and running in minutes if you don't have basic
unix/linux skills like using tar or vi... You should learn how to walk
before crawling...



Relevant Pages

  • Re: Apache problem/question
    ... >access my apache server -> not to use http://localhost but to use ... i have tried to adjust the vhost section acording to the ... >guide in the apache web page, but when i try i get error 404. ... >should i install Apache 1.3.x? ...
    (comp.lang.php)
  • installing and running apache 2.0.46 / php5.0.0b1 / Suse Linux 8.2
    ... everything seemed to install ok ... 1)I do not see a process for apache using ps -ef ... and stop the server to go on with the configuration for PHP: ... Use your normal procedure for starting the Apache server, ...
    (alt.os.linux.suse)
  • Re: [PHP] Re: two php.ini on the same server
    ... but the problem is how to create separate php.ini for each Apache server. ... Apache 1.3.xx running php 4 ... So, if you, say, wanted to have php 5 running two apache servers, it would probably work if you recompile php 5 and install it into a new directory. ...
    (php.general)
  • Apache server
    ... Is apache server already installed with the normal SuSe Linux 8.1 install? ...
    (alt.os.linux.suse)
  • Re: [suse][apache][ssl] https://localhost => error messages
    ... >> to make my Apache server SSL-aware, ... > Did you start the apache server with the correct switch? ... I have not done anything beyond running Yast to install the RPMS. ... curl: SSL: error:140770FC:SSL ...
    (comp.os.linux.security)