apt-get install apache2
then you will see the installar begin the installation:
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
apache2-mpm-worker apache2-utils apache2.2-common libapr1 libaprutil1 libexpat1 libgcrypt11 libgnutls13 libgpg-error0
libldap2 libmagic1 libopencdk8 libpq4 libsasl2-2 libsqlite3-0 libtasn1-3 mime-support
Suggested packages:
rng-tools gnutls-bin file
Recommended packages:
libsasl2-modules libtasn1-3-bin
The following NEW packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-common libapr1 libaprutil1 libexpat1 libgnutls13 libldap2 libmagic1
libpq4 libsasl2-2 libsqlite3-0 libtasn1-3 mime-support
The following packages will be upgraded:
libgcrypt11 libgpg-error0 libopencdk8
3 upgraded, 15 newly installed, 0 to remove and 111 not upgraded.
Need to get 3656kB of archives.
After unpacking 10.0MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.usc.edu stable/main libgpg-error0 1.4-1 [34.6kB]
Get:2 http://security.debian.org stable/updates/main libpq4 8.1.9-0etch1 [270kB]
Get:3 http://mirrors.usc.edu stable/main libgcrypt11 1.2.3-2 [196kB]
Get:4 http://mirrors.usc.edu stable/main libopencdk8 0.5.9-2 [97.7kB]
Get:5 http://mirrors.usc.edu stable/main libtasn1-3 0.3.6-2 [52.9kB]
Get:6 http://mirrors.usc.edu stable/main libgnutls13 1.4.4-3 [282kB]
Get:7 http://mirrors.usc.edu stable/main libsasl2-2 2.1.22.dfsg1-8 [100kB]
Get:8 http://mirrors.usc.edu stable/main libldap2 2.1.30-13.3 [151kB]
Get:9 http://mirrors.usc.edu stable/main libmagic1 4.17-5etch1 [275kB]
Get:10 http://mirrors.usc.edu stable/main mime-support 3.39-1 [30.9kB]
Get:11 http://mirrors.usc.edu stable/main libapr1 1.2.7-8.2 [109kB]
Get:12 http://mirrors.usc.edu stable/main libexpat1 1.95.8-3.4 [62.9kB]
Get:13 http://mirrors.usc.edu stable/main libsqlite3-0 3.3.8-1.1 [194kB]
Get:14 http://mirrors.usc.edu stable/main libaprutil1 1.2.7+dfsg-2 [68.5kB]
Get:15 http://mirrors.usc.edu stable/main apache2-utils 2.2.3-4 [341kB]
Get:16 http://mirrors.usc.edu stable/main apache2.2-common 2.2.3-4 [932kB]
Get:17 http://mirrors.usc.edu stable/main apache2-mpm-worker 2.2.3-4 [421kB]
Get:18 http://mirrors.usc.edu stable/main apache2 2.2.3-4 [38.6kB]
Fetched 3656kB in 43s (85.0kB/s)
(Reading database ... 13434 files and directories currently installed.)
Preparing to replace libgpg-error0 1.0-1 (using .../libgpg-error0_1.4-1_i386.deb) ...
Unpacking replacement libgpg-error0 ...
Preparing to replace libgcrypt11 1.2.0-11.1 (using .../libgcrypt11_1.2.3-2_i386.deb) ...
Unpacking replacement libgcrypt11 ...
Preparing to replace libopencdk8 0.5.5-10 (using .../libopencdk8_0.5.9-2_i386.deb) ...
Unpacking replacement libopencdk8 ...
Selecting previously deselected package libtasn1-3.
Unpacking libtasn1-3 (from .../libtasn1-3_0.3.6-2_i386.deb) ...
Selecting previously deselected package libgnutls13.
Unpacking libgnutls13 (from .../libgnutls13_1.4.4-3_i386.deb) ...
Selecting previously deselected package libsasl2-2.
Unpacking libsasl2-2 (from .../libsasl2-2_2.1.22.dfsg1-8_i386.deb) ...
Selecting previously deselected package libldap2.
Unpacking libldap2 (from .../libldap2_2.1.30-13.3_i386.deb) ...
Selecting previously deselected package libmagic1.
Unpacking libmagic1 (from .../libmagic1_4.17-5etch1_i386.deb) ...
Selecting previously deselected package mime-support.
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_i386.deb) ...
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_1.95.8-3.4_i386.deb) ...
Selecting previously deselected package libpq4.
Unpacking libpq4 (from .../libpq4_8.1.9-0etch1_i386.deb) ...
Selecting previously deselected package libsqlite3-0.
Unpacking libsqlite3-0 (from .../libsqlite3-0_3.3.8-1.1_i386.deb) ...
Selecting previously deselected package libaprutil1.
Unpacking libaprutil1 (from .../libaprutil1_1.2.7+dfsg-2_i386.deb) ...
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.2.3-4_i386.deb) ...
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.3-4_i386.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.3-4_i386.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.2.3-4_all.deb) ...
Setting up libgpg-error0 (1.4-1) ...
Setting up libgcrypt11 (1.2.3-2) ...
Setting up libopencdk8 (0.5.9-2) ...
Setting up libtasn1-3 (0.3.6-2) ...
Setting up libgnutls13 (1.4.4-3) ...
Setting up libsasl2-2 (2.1.22.dfsg1-8) ...
Setting up libldap2 (2.1.30-13.3) ...
Setting up libmagic1 (4.17-5etch1) ...
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 libpq4 (8.1.9-0etch1) ...
Setting up libsqlite3-0 (3.3.8-1.1) ...
Setting up libaprutil1 (1.2.7+dfsg-2) ...
Setting up apache2-utils (2.2.3-4) ...
Setting up apache2.2-common (2.2.3-4) ...
Setting Apache2 to Listen on port 80. If this is not desired, please edit /etc/apache2/ports.conf as desired. Note that the Port directive no longer works.
Module alias installed; run /etc/init.d/apache2 force-reload to enable.
Module autoindex installed; run /etc/init.d/apache2 force-reload to enable.
Module dir installed; run /etc/init.d/apache2 force-reload to enable.
Module env installed; run /etc/init.d/apache2 force-reload to enable.
Module mime installed; run /etc/init.d/apache2 force-reload to enable.
Module negotiation installed; run /etc/init.d/apache2 force-reload to enable.
Module setenvif installed; run /etc/init.d/apache2 force-reload to enable.
Module status installed; run /etc/init.d/apache2 force-reload to enable.
Module auth_basic installed; run /etc/init.d/apache2 force-reload to enable.
Module authz_default installed; run /etc/init.d/apache2 force-reload to enable.
Module authz_user installed; run /etc/init.d/apache2 force-reload to enable.
Module authz_groupfile installed; run /etc/init.d/apache2 force-reload to enable.
Module authn_file installed; run /etc/init.d/apache2 force-reload to enable.
Module authz_host installed; run /etc/init.d/apache2 force-reload to enable.
Setting up apache2-mpm-worker (2.2.3-4) ...
Starting web server (apache2)....
Setting up apache2 (2.2.3-4) ...
Building Dependency Tree... Done
The following extra packages will be installed:
apache2-mpm-worker apache2-utils apache2.2-common libapr1 libaprutil1 libexpat1 libgcrypt11 libgnutls13 libgpg-error0
libldap2 libmagic1 libopencdk8 libpq4 libsasl2-2 libsqlite3-0 libtasn1-3 mime-support
Suggested packages:
rng-tools gnutls-bin file
Recommended packages:
libsasl2-modules libtasn1-3-bin
The following NEW packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-common libapr1 libaprutil1 libexpat1 libgnutls13 libldap2 libmagic1
libpq4 libsasl2-2 libsqlite3-0 libtasn1-3 mime-support
The following packages will be upgraded:
libgcrypt11 libgpg-error0 libopencdk8
3 upgraded, 15 newly installed, 0 to remove and 111 not upgraded.
Need to get 3656kB of archives.
After unpacking 10.0MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.usc.edu stable/main libgpg-error0 1.4-1 [34.6kB]
Get:2 http://security.debian.org stable/updates/main libpq4 8.1.9-0etch1 [270kB]
Get:3 http://mirrors.usc.edu stable/main libgcrypt11 1.2.3-2 [196kB]
Get:4 http://mirrors.usc.edu stable/main libopencdk8 0.5.9-2 [97.7kB]
Get:5 http://mirrors.usc.edu stable/main libtasn1-3 0.3.6-2 [52.9kB]
Get:6 http://mirrors.usc.edu stable/main libgnutls13 1.4.4-3 [282kB]
Get:7 http://mirrors.usc.edu stable/main libsasl2-2 2.1.22.dfsg1-8 [100kB]
Get:8 http://mirrors.usc.edu stable/main libldap2 2.1.30-13.3 [151kB]
Get:9 http://mirrors.usc.edu stable/main libmagic1 4.17-5etch1 [275kB]
Get:10 http://mirrors.usc.edu stable/main mime-support 3.39-1 [30.9kB]
Get:11 http://mirrors.usc.edu stable/main libapr1 1.2.7-8.2 [109kB]
Get:12 http://mirrors.usc.edu stable/main libexpat1 1.95.8-3.4 [62.9kB]
Get:13 http://mirrors.usc.edu stable/main libsqlite3-0 3.3.8-1.1 [194kB]
Get:14 http://mirrors.usc.edu stable/main libaprutil1 1.2.7+dfsg-2 [68.5kB]
Get:15 http://mirrors.usc.edu stable/main apache2-utils 2.2.3-4 [341kB]
Get:16 http://mirrors.usc.edu stable/main apache2.2-common 2.2.3-4 [932kB]
Get:17 http://mirrors.usc.edu stable/main apache2-mpm-worker 2.2.3-4 [421kB]
Get:18 http://mirrors.usc.edu stable/main apache2 2.2.3-4 [38.6kB]
Fetched 3656kB in 43s (85.0kB/s)
(Reading database ... 13434 files and directories currently installed.)
Preparing to replace libgpg-error0 1.0-1 (using .../libgpg-error0_1.4-1_i386.deb) ...
Unpacking replacement libgpg-error0 ...
Preparing to replace libgcrypt11 1.2.0-11.1 (using .../libgcrypt11_1.2.3-2_i386.deb) ...
Unpacking replacement libgcrypt11 ...
Preparing to replace libopencdk8 0.5.5-10 (using .../libopencdk8_0.5.9-2_i386.deb) ...
Unpacking replacement libopencdk8 ...
Selecting previously deselected package libtasn1-3.
Unpacking libtasn1-3 (from .../libtasn1-3_0.3.6-2_i386.deb) ...
Selecting previously deselected package libgnutls13.
Unpacking libgnutls13 (from .../libgnutls13_1.4.4-3_i386.deb) ...
Selecting previously deselected package libsasl2-2.
Unpacking libsasl2-2 (from .../libsasl2-2_2.1.22.dfsg1-8_i386.deb) ...
Selecting previously deselected package libldap2.
Unpacking libldap2 (from .../libldap2_2.1.30-13.3_i386.deb) ...
Selecting previously deselected package libmagic1.
Unpacking libmagic1 (from .../libmagic1_4.17-5etch1_i386.deb) ...
Selecting previously deselected package mime-support.
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_i386.deb) ...
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_1.95.8-3.4_i386.deb) ...
Selecting previously deselected package libpq4.
Unpacking libpq4 (from .../libpq4_8.1.9-0etch1_i386.deb) ...
Selecting previously deselected package libsqlite3-0.
Unpacking libsqlite3-0 (from .../libsqlite3-0_3.3.8-1.1_i386.deb) ...
Selecting previously deselected package libaprutil1.
Unpacking libaprutil1 (from .../libaprutil1_1.2.7+dfsg-2_i386.deb) ...
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.2.3-4_i386.deb) ...
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.3-4_i386.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.3-4_i386.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.2.3-4_all.deb) ...
Setting up libgpg-error0 (1.4-1) ...
Setting up libgcrypt11 (1.2.3-2) ...
Setting up libopencdk8 (0.5.9-2) ...
Setting up libtasn1-3 (0.3.6-2) ...
Setting up libgnutls13 (1.4.4-3) ...
Setting up libsasl2-2 (2.1.22.dfsg1-8) ...
Setting up libldap2 (2.1.30-13.3) ...
Setting up libmagic1 (4.17-5etch1) ...
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 libpq4 (8.1.9-0etch1) ...
Setting up libsqlite3-0 (3.3.8-1.1) ...
Setting up libaprutil1 (1.2.7+dfsg-2) ...
Setting up apache2-utils (2.2.3-4) ...
Setting up apache2.2-common (2.2.3-4) ...
Setting Apache2 to Listen on port 80. If this is not desired, please edit /etc/apache2/ports.conf as desired. Note that the Port directive no longer works.
Module alias installed; run /etc/init.d/apache2 force-reload to enable.
Module autoindex installed; run /etc/init.d/apache2 force-reload to enable.
Module dir installed; run /etc/init.d/apache2 force-reload to enable.
Module env installed; run /etc/init.d/apache2 force-reload to enable.
Module mime installed; run /etc/init.d/apache2 force-reload to enable.
Module negotiation installed; run /etc/init.d/apache2 force-reload to enable.
Module setenvif installed; run /etc/init.d/apache2 force-reload to enable.
Module status installed; run /etc/init.d/apache2 force-reload to enable.
Module auth_basic installed; run /etc/init.d/apache2 force-reload to enable.
Module authz_default installed; run /etc/init.d/apache2 force-reload to enable.
Module authz_user installed; run /etc/init.d/apache2 force-reload to enable.
Module authz_groupfile installed; run /etc/init.d/apache2 force-reload to enable.
Module authn_file installed; run /etc/init.d/apache2 force-reload to enable.
Module authz_host installed; run /etc/init.d/apache2 force-reload to enable.
Setting up apache2-mpm-worker (2.2.3-4) ...
Starting web server (apache2)....
Setting up apache2 (2.2.3-4) ...
NEXT STEP if you want to install PHP CLICK HERE