Installation of PhpMyAdmin on Amazon EC2 Linux Server


Here are the easy steps to install PhpMyAdmin on Amazon EC2 Linux Server

Installation of phpMyAdmin

phpMyAdmin is database management tool by which you can view and edit the MySQL databases on your Server. These are following steps to install phpMyAdmin on Amazon Linux EC2 instance.

  1. Log in to EC2 instance using SSH.
  2. Install the dependencies.[ec2-user ~]$ sudo yum install php70-mbstring.x86_64 php70-zip.x86_64 -y
  3. Restart Apache Server.[ec2-user ~]$ sudo service httpd restart
  4. Navigate to root directory at /var/www/html.[ec2-user ~]$ cd /var/www/html
  5. Download source package for the latest phpMyAdmin release from[ec2-user html]$ wget
  6. Create a phpMyAdmin folder and extract the package using the following command.[ec2-user html]$ mkdir phpMyAdmin && tar -xvzf phpMyAdmin-latest-all-languages.tar.gz -C phpMyAdmin --strip-components 1
  7. Delete the phpMyAdmin-latest-all-languages.tar.gz tarball.[ec2-user html]$ rmphpMyAdmin-latest-all-languages.tar.gz
  8. If the MySQL server is not running, start it now.[ec2-user ~]$ sudo service mysqld start
  9. Access the URL of your web server.


Please enter your comment!
Please enter your name here