All Required Commands
cd E:// in my case yours maybe C://
cd Downloads/
ssh -i 'your file name' ubuntu@'your elastic IP'
sudo apt update
sudo apt upgrade
sudo apt install apache2
sudo apt install mysql-server
sudo mysql_secure_installation --ENTER|Y|Y|Y|Y
sudo apt install php libapache2-mod-php php-mysql
sudo apt install phpmyadmin php-mbstring php-gettext
if an error occurs like no package, then use this command first
sudo add-apt-repository ppa:phpmyadmin/ppa
now create a user for PHPMYADMIN login
sudo mysql
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON * . * TO 'username'@'localhost';
FLUSH PRIVILEGES;
exit
After this login and enjoy your server is live
Learn coding, web development, ethical hacking, server deployment, cloud computing,
Technical Facts and many more