Step 1: Login to your EC2 Instance using SSH

 

— Step 2: Navigate to the web root folder and download phpMyAdmin

  • Enter this command to go to the web root folder
    cd /var/www/html
  • Enter this command to download the latest version of phpMyAdmin
    wget https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.tar.gz
  • Uncompress the file
    tar -xzvf phpMyAdmin-latest-all-languages.tar.gz
  • Get the uncompressed phpMyAdmin folder name
    ls
  • Rename the uncompressed folder
    mv <FOLDER NAME> phpMyAdmin
  • Remove the downloaded file
    rm -rf  phpMyAdmin-latest-all-languages.tar.gz

Start typing and press Enter to search