Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to new Confluence 3.5 bash option for code display.

...

With Ubuntu installing is very straightforward,

Code Block
langlanguagehtmlbash
sudo aptitude install apache2

...

First use the hostname command to determine the name of your system,

Code Block
langlanguagehtmlbash
hostname # Determine name of your system. In this example this server will return tinman
tinman

Next load the empty /etc/apache/httpd.conf into an editor of your choice,

Code Block
langlanguagehtmlbash
sudo vi /etc/apache2/httpd.conf

Add to the very top of the httpd.conf file,

Code Block
langlanguagehtmlbash
ServerName tinman

Apache Basic Server Hardening

...

I found that you can save quite a bit of memory (to put results here) if the status apache module is disabled,

Code Block
langlanguagehtmlbash
sudo a2dismod
Your choices are: alias auth_basic authn_file authz_default authz_groupfile authz_host authz_user autoindex cgid
                  deflate dir env filter jk mime negotiation proxy proxy_http rewrite setenvif status substitute
Which module(s) do you want to disable (wildcards ok)?
status
Module status disabled.
Run '/etc/init.d/apache2 restart' to activate new configuration!
sudo /etc/init.d/apache2 restart

...