Tuesday, January 13, 2009

Installing Apache on Ubuntu 7.10 (Gusty Gibbon)

From the terminal screen, type “sudo apt-get install apache2″:

Note: The default document root is “/var/www/”.

noland@mojito:~$ sudo apt-get install apache2
[sudo] password for noland:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-mpm-worker apache2-utils apache2.2-common libapr1 libaprutil1 libpq5
Suggested packages:
apache2-doc
The following NEW packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-common libapr1 libaprutil1 libpq5
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 2182kB of archives.
After unpacking 6226kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com gutsy/main libapr1 1.2.7-8.2ubuntu1 [112kB]
Get:2 http://us.archive.ubuntu.com gutsy/main libpq5 8.2.5-1.1 [227kB]
Get:3 http://us.archive.ubuntu.com gutsy/main libaprutil1 1.2.7+dfsg-2build1 [70.2kB]
Get:4 http://us.archive.ubuntu.com gutsy/main apache2-utils 2.2.4-3build1 [346kB]
Get:5 http://us.archive.ubuntu.com gutsy/main apache2.2-common 2.2.4-3build1 [946kB]
Get:6 http://us.archive.ubuntu.com gutsy/main apache2-mpm-worker 2.2.4-3build1 [439kB]
Get:7 http://us.archive.ubuntu.com gutsy/main apache2 2.2.4-3build1 [41.8kB]
Fetched 2182kB in 2s (730kB/s)
Selecting previously deselected package libapr1.
(Reading database ... 99159 files and directories currently installed.)
Unpacking libapr1 (from .../libapr1_1.2.7-8.2ubuntu1_i386.deb) ...
Selecting previously deselected package libpq5.
Unpacking libpq5 (from .../libpq5_8.2.5-1.1_i386.deb) ...
Selecting previously deselected package libaprutil1.
Unpacking libaprutil1 (from .../libaprutil1_1.2.7+dfsg-2build1_i386.deb) ...
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.2.4-3build1_i386.deb) ...
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.4-3build1_i386.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.4-3build1_i386.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.2.4-3build1_all.deb) ...
Setting up libapr1 (1.2.7-8.2ubuntu1) ...
Setting up libpq5 (8.2.5-1.1) ...Setting up libaprutil1 (1.2.7+dfsg-2build1) ...

Setting up apache2-utils (2.2.4-3build1) ...
Setting up apache2.2-common (2.2.4-3build1) ...
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.4-3build1) ...
* Starting web server apache2 OK ]

Setting up apache2 (2.2.4-3build1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place

You can now place your files in "/var/www/"

No comments: