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://files.phpmyadmin.net/phpMyAdmin/4.5.0.2/phpMyAdmin-4.5.0.2-all-languages.tar.bz2

Step3: Extract the file

#tar -jxf phpMyAdmin-4.5.0.2-all-languages.tar.bz2 -C /var/www/html

Step4: Rename the folder

#mv phpMyAdmin-4.5.0.2-all-languages phpmyadmin

Step5: Remove the zip file

rm -rf phpMyAdmin-4.5.0.2-all-languages.tar.bz2

 

That's all... phpMyAdmin will be available while loading the server ipaddress in browser.

 

Leave a Reply

Your email address will not be published. Required fields are marked *