How to install phpMyAdmin in EC2 instance
phpMyAdmin is a free and open source tool written in PHP intended to handle the administration of MySQL or MariaDB with the use of a web browser. It can perform various tasks such as creating, modifying or deleting databases, tables, fields or rows; executing SQL statements; or managing users and permissions.
This article explains the steps to install phpMyAdmin in EC2 instance.
Step1: Change the location to document root.
#cd /var/www/html
Step2: Download phpMyAdmin
#wget https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.tar.gz
Step3: Extract the file
#tar -jxf phpMyAdmin-latest-all-languages.tar.gz -C /var/www/html
Step4: Rename the folder
#mv phpMyAdmin-latest-all-languages phpmyadmin
Step5: Remove the zip file
rm -rf phpMyAdmin-latest-all-languages.tar.gz
That's all... phpMyAdmin will be available while loading the server ipaddress in browser.