Issue the following command:
sudo aptitude install apache2
Issue the following command:
sudo a2enmod rewrite
sudo a2enmod headers
sudo a2enmod expires
To activate the modules, restart Apache
Issue the following command:
sudo /etc/init.d/apache restart
If everything is working correctly, the browsing to the server via the IP address should display a page claiming that the server is working.
Copyright ShareWiz by Peter Roux