Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Installing

With Ubuntu installing is very straightforward,

sudo aptitude install apache2

Apache 2.x is now installed.

If you load up your browser and type in the ip address of your server you will see a simple page letting you know Apache is working.

Provide Server Name

Apache is working fine, but during restart you will get the warning message, "apache2: Could not reliably determine the server's fully qualified domain name, using ...".

Most websites have a domain name attached to them. Apache is looking for this on startup. There actually is not much documentation on exactly what is happening here. If you happen to know then email me. Based on my reading here is how to resolve it.

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

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

Next add the result to the empty /etc/apache/httpd.conf.

sudo vi /etc/apache2/httpd.conf

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

ServerName tinman

..

  • No labels