...
With Ubuntu installing is very straightforward,
Code Block |
---|
|
sudo aptitude install apache2 |
...
First use the hostname command to determine the name of your system,
Code Block |
---|
|
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 |
---|
|
sudo vi /etc/apache2/httpd.conf |
Add to the very top of the httpd.conf file,
Code Block |
---|
|
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 |
---|
|
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
|
...