Here I describe installation and configuration of Apache. These instructions should be valid for version 2.0.x and above.
When downloading Apache from apache.org for Microsoft Windows Operating System, you are given two options:
- Win32 Binary without crypto (no mod_ssl) (MSI Installer)
- Win32 Binary including OpenSSL 0.x (MSI Installer)
OpenSSL is an open-source implementation of SSL and TLS protocols. mod_ssl is a package that provides cryptography for Apache via SSL and TLS. SSL and TLS specify how to securely encrypt and send confidential information over HTTP.
Oracle's VirtualBox is a very solid and stable virtual machine but it isn't the simplest to work with. So I abandoned it a week after I started working with. Recently, I had to return. Why? Vagrant. It is a fantastic virtual machine workflow system. It is amazingly easy to use and deals with VirtualBox for you. On top of that there are many excellent stack available for free download from the Internet. Following is how I setup my LAMP stack.
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
This is not an error, only a warning.
To fix this in Ubuntu 12.04 LTS, type the following:
$ echo "ServerName localhost" | sudo tee /etc/apache2/conf.d/fqdn
$ sudo service apache2 restart
To fix this in Ubuntu 14.04 LTS, type the following:
echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/fqdn.conf
sudo a2enconf fqdn