Skip to content

Instantly share code, notes, and snippets.

@germs12
Last active December 14, 2015 21:38
Show Gist options
  • Save germs12/5152198 to your computer and use it in GitHub Desktop.
Save germs12/5152198 to your computer and use it in GitHub Desktop.
Linux 102 - Apache
# https://help.ubuntu.com/12.10/serverguide/httpd.html
$ sudo apt-get install apache2
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-bin apache2.2-common libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
ssl-cert
Suggested packages:
apache2-doc apache2-suexec apache2-suexec-custom openssl-blacklist
The following NEW packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
ssl-cert
0 upgraded, 10 newly installed, 0 to remove and 75 not upgraded.
Need to get 3,524 kB of archives.
After this operation, 9,357 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ quantal/main libapr1 i386 1.4.6-3 [90.8 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ quantal/main libaprutil1 i386 1.4.1-3 [85.0 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ quantal/main libaprutil1-dbd-sqlite3 i386 1.4.1-3 [11.9 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ quantal/main libaprutil1-ldap i386 1.4.1-3 [9,602 B]
Get:5 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main apache2.2-bin i386 2.2.22-6ubuntu2.1 [2,988 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main apache2-utils i386 2.2.22-6ubuntu2.1 [91.4 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main apache2.2-common i386 2.2.22-6ubuntu2.1 [228 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main apache2-mpm-worker i386 2.2.22-6ubuntu2.1 [2,246 B]
Get:9 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main apache2 i386 2.2.22-6ubuntu2.1 [1,442 B]
Get:10 http://us.archive.ubuntu.com/ubuntu/ quantal/main ssl-cert all 1.0.32 [16.4 kB]
Fetched 3,524 kB in 0s (4,421 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libapr1.
(Reading database ... 57796 files and directories currently installed.)
Unpacking libapr1 (from .../libapr1_1.4.6-3_i386.deb) ...
Selecting previously unselected package libaprutil1.
Unpacking libaprutil1 (from .../libaprutil1_1.4.1-3_i386.deb) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3.
Unpacking libaprutil1-dbd-sqlite3 (from .../libaprutil1-dbd-sqlite3_1.4.1-3_i386.deb) ...
Selecting previously unselected package libaprutil1-ldap.
Unpacking libaprutil1-ldap (from .../libaprutil1-ldap_1.4.1-3_i386.deb) ...
Selecting previously unselected package apache2.2-bin.
Unpacking apache2.2-bin (from .../apache2.2-bin_2.2.22-6ubuntu2.1_i386.deb) ...
Selecting previously unselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.2.22-6ubuntu2.1_i386.deb) ...
Selecting previously unselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.22-6ubuntu2.1_i386.deb) ...
Selecting previously unselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.22-6ubuntu2.1_i386.deb) ...
Selecting previously unselected package apache2.
Unpacking apache2 (from .../apache2_2.2.22-6ubuntu2.1_i386.deb) ...
Selecting previously unselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.32_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for ufw ...
Setting up libapr1 (1.4.6-3) ...
Setting up libaprutil1 (1.4.1-3) ...
Setting up libaprutil1-dbd-sqlite3 (1.4.1-3) ...
Setting up libaprutil1-ldap (1.4.1-3) ...
Setting up apache2.2-bin (2.2.22-6ubuntu2.1) ...
Setting up apache2-utils (2.2.22-6ubuntu2.1) ...
Setting up apache2.2-common (2.2.22-6ubuntu2.1) ...
Enabling site default.
Enabling module alias.
Enabling module autoindex.
Enabling module dir.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module status.
Enabling module auth_basic.
Enabling module deflate.
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Enabling module reqtimeout.
Setting up ssl-cert (1.0.32) ...
Processing triggers for ureadahead ...
Processing triggers for ufw ...
Setting up apache2-mpm-worker (2.2.22-6ubuntu2.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 ]
Setting up apache2 (2.2.22-6ubuntu2.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment