Installing Apache

OK, this post will seem very strange to most readers. I am in the process of installing Apache onto my Ubuntu distribution, and I want to record everything that happens. So I am simply copying to this blog the terminal output. To most people this will seem like a crazy thing to do, but if I have a problem, then I already have a copy of everything that happened, and can hopefully get some advice! It is also a learning process for me. So here goes.

[email protected]:~$ sudo apt-get install apache2
Password:
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
libpcre3 libpq5
The following NEW packages will be installed
apache2 apache2-mpm-worker apache2-utils
apache2.2-common libapr1 libaprutil1
libpcre3 libpq5
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 2311kB of archives.
After unpacking 6443kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get: 1 http://gb.archive.ubuntu.com feisty/main libapr1 1.2.7-8.1 [109kB] Get: 2 http://security.ubuntu.com feisty-security/main libpq5 8.2.4-0ubuntu0.7.04 [223kB] Get: 3 http://gb.archive.ubuntu.com feisty/main libaprutil1 1.2.7+dfsg-2build1 [70.2kB] Get: 4 http://gb.archive.ubuntu.com feisty/main libpcre3 6.7-1ubuntu2 [167kB] Get: 5 http://security.ubuntu.com feisty-security/main apache2-utils 2.2.3-3.2ubuntu0.1 [340kB] Get: 6 http://security.ubuntu.com feisty-security/main apache2.2-common 2.2.3-3.2ubuntu0.1 [930kB] Get: 7 http://security.ubuntu.com feisty-security/main apache2-mpm-worker 2.2.3-3.2ubuntu0.1 [432kB] Get: 8 http://security.ubuntu.com feisty-security/main apache2 2.2.3-3.2ubuntu0.1 [38.7kB] Fetched 2311kB in 3s (649kB/s)
Selecting previously deselected package libapr1.
(Reading database … 105146 files and directories currently installed.)
Unpacking libapr1 (from …/libapr1_1.2.7-8.1_i386.deb) …
Selecting previously deselected package libpq5.
Unpacking libpq5 (from …/libpq5_8.2.4-0ubuntu0.7.04_i386.deb) …
Selecting previously deselected package libaprutil1.
Unpacking libaprutil1 (from …/libaprutil1_1.2.7+dfsg-2build1_i386.deb) …
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from …/libpcre3_6.7-1ubuntu2_i386.deb) …
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from …/apache2-utils_2.2.3-3.2ubuntu0.1_i386.deb) …
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from …/apache2.2-common_2.2.3-3.2ubuntu0.1_i386.deb) …
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from …/apache2-mpm-worker_2.2.3-3.2ubuntu0.1_i386.deb) …
Selecting previously deselected package apache2.
Unpacking apache2 (from …/apache2_2.2.3-3.2ubuntu0.1_all.deb) …
Setting up libapr1 (1.2.7-8.1) …

Setting up libpq5 (8.2.4-0ubuntu0.7.04) …

Setting up libaprutil1 (1.2.7+dfsg-2build1) …

Setting up libpcre3 (6.7-1ubuntu2) …

Setting up apache2-utils (2.2.3-3.2ubuntu0.1) …
Setting up apache2.2-common (2.2.3-3.2ubuntu0.1) …
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-3.2ubuntu0.1) …
* Starting web server (apache2)… apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
[ OK ]

  1 comment for “Installing Apache

  1. Jon
    September 24, 2007 at 10:13 pm

    Excellent, I just pointed my browser to http://localhost/apache2-default/ and “IT WORKS!”

Leave a Reply

Your email address will not be published. Required fields are marked *