Now that we can connect to the ec2 instance – we want to setup a basic website. I use ubuntu AMI – so, following instructions are for ubuntu. Similar instructions for other platforms can be ported as well.
Installing LAMP Server
# install Apache , PHP and MySql as a package sudo tasksel install lamp-server # we may want to enable some of the apache modules # without rewrite = rewriting URLs will not work sudo a2enmod rewrite # headers and expires module will help in performance sudo a2enmod headers sudo a2enmod expires








