[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: new to debian

On 25 February 2011 16:29, Francois Gelinas <fgelinas@novavision.ca> wrote:
> Hi,
> I’m new to Debian and when I do an apt-get install apache2, I get lots of
> errors 404 not found and of course I don’t get an http server.
It's hard to determine where you are getting the 404 not found errors, when
you execute the apt-get install command or after that, when you try to access
something through a browser.

If these 404 errors occur when running the apt-get install apache2 command,
that means you are trying to install over http from erroneous sources listed in
your /etc/apt/sources.list.  Does an apt-get update or apt-get upgrade -s work?
If neither of those commands work then you need to sort out your
file with the relevant repository sources.  No one can advise
correctly on that because we don't
know what release you are using e.g. lenny, squeeze, testing, stable
or unstable?

If the command
/usr/sbin/apache2 -v
tells you a version number for your apache server and gives you a
build date then you
have apache2 installed.
ps -ef | grep apache
will indicate if your instance of apache is running.

If it isn't running then, as root, type in
/etc/init.d/apache2 start
to start the server.
Check your logs for any errors.

Finally, once you have an instance of apache running, put the URL
http://localhost/manual into your browser and you should be able to
read the apache manual.

Kind Regards

Lesley Binks

A: because it disrupts the normal flow of conversation.
Q: why is top-posting so annoying?
A: top-post reply.
Q: what's the most annoying thing you can do in email?

Reply to: