Forum Moderators: phranque

Message Too Old, No Replies

apache installation trouble

new , apache,installation

         

kkonline

8:29 pm on Aug 2, 2008 (gmt 0)

10+ Year Member



hi all,
I have just shifted from shared host to unmanaged hosting.
Have opted for debian 4 as the OS .

On downloading the latest apache server and ftping after extracting (tar gzvf <name> )got a dir by name of httpd-2.2.9 in the server.

now according to the docs available it says i should write make .
however i receive debian:/apache/httpd-2.2.9# make
-bash: make: command not found

error on giving this command.
how to install?

encyclo

9:07 pm on Aug 2, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You don't need to compile if the repositories are set up correctly. Just try the following as root:

aptitude install apache2

The

aptitude
program will download and handle all the dependencies. (You can use
apt-get
instead if you prefer, but aptitude tends to grok the dependencies better.)

If you really want to compile, then you will need to install the

build-essential
packages. Take some time reading the extensive Debian documentation before attempting to install too many things the hard way. ;)

kkonline

3:59 am on Aug 3, 2008 (gmt 0)

10+ Year Member



HI,
Thanks a lot for your reply.
The following is the log of what happened on the server
debian:~# aptitude install apache2
Reading package lists... Done
Building dependency tree... Done
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be automatically installed:
apache2-mpm-worker apache2-utils apache2.2-common file libapr1 libaprutil1 libexpat1 libmagic1 libpcre3 libpq4 libsqlite3-0
mime-support
The following NEW packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-common file libapr1 libaprutil1 libexpat1 libmagic1 libpcre3 libpq4
libsqlite3-0 mime-support
0 packages upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 2485kB/3000kB of archives. After unpacking 9335kB will be used.
Do you want to continue? [Y/n/?] y
WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

apache2-mpm-worker libapr1 libpcre3 libexpat1 apache2-utils apache2 apache2.2-common file mime-support libpq4 libaprutil1
libsqlite3-0 libmagic1

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": yes
Writing extended state information... Done
Err [ftp.debian.org...] etch/main libmagic1 4.17-5etch1
404 Not Found
Err [ftp.debian.org...] etch/main file 4.17-5etch1
404 Not Found
Err [ftp.debian.org...] etch/main libpcre3 6.7-1
404 Not Found
Err [ftp.debian.org...] etch/main libpq4 8.1.8-1
404 Not Found
Err [ftp.debian.org...] etch/main apache2-utils 2.2.3-4
404 Not Found
Err [ftp.debian.org...] etch/main apache2.2-common 2.2.3-4
404 Not Found
Err [ftp.debian.org...] etch/main apache2-mpm-worker 2.2.3-4
404 Not Found
W: Couldn't stat source package list [security.debian.org...] etch/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_main_binary-amd64_Packages) - stat (2 No such file or directory)
Selecting previously deselected package mime-support.
(Reading database ... 7186 files and directories currently installed.)
Unpacking mime-support (from .../mime-support_3.39-1_all.deb) ...
Selecting previously deselected package libapr1.
Unpacking libapr1 (from .../libapr1_1.2.7-8.2_amd64.deb) ...
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_1.95.8-3.4_amd64.deb) ...
Selecting previously deselected package libsqlite3-0.
Unpacking libsqlite3-0 (from .../libsqlite3-0_3.3.8-1.1_amd64.deb) ...
Setting up mime-support (3.39-1) ...

Setting up libapr1 (1.2.7-8.2) ...

Setting up libexpat1 (1.95.8-3.4) ...

Setting up libsqlite3-0 (3.3.8-1.1) ...

E: Failed to fetch [ftp.debian.org...] 404 Not Found

IS the installation complete?