Install Apache2
sudo apt-get update
sudo apt-get install apache2
Install PHP 7
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get purge php5-fpm
sudo apt-get install php7.0-cli php7.0-common libapache2-mod-php7.0 php7.0 php7.0-mysql php7.0-fpm
sudo apt-get install php7.0-cgi php7.0-dbg php7.0-dev php7.0-curl php7.0-gd
sudo apt-get install php7.0-mcrypt php7.0-xsl php7.0-intl
Restart Apache Now
sudo service apache2 restart
Now the PHP is installed with Apache webserver. Lets verify the installation
php -v
Install Mysql 5.7
sudo wget https://dev.mysql.com/get/mysql-apt-config_0.6.0-1_all.deb
sudo dpkg -i mysql-apt-config_0.6.0-1_all.deb
You will get a screen asking to select MySQL version.
MySQL Server -> MySQL 5.7 -> Apply
sudo apt-get update
sudo apt-get install mysql-server-5.7
Now the MySQL server is installed. Lets verify the MySQL installation
mysql –version
Lets restart webserver again
sudo service apache2 restart
Install FTP
sudo apt-get install vsftpd
You should now, now be able to connect with FileZilla or any FTP client application. You can connect using the .ppk file, which you have downloaded from AWS admin
Install Zip/Unzip
sudo apt-get install zip unzip
Hope that help.
Cheers
Jaswant