在ec2上安装phpmyadmin快速解决方案

Do the following:

  1. Navigate to the apache folder

    cd /var/www/html
  2. Ensure ownership of the folder (assuming signed in with ec2-user)

    sudo chown ec2-user .
  3. Download phpMyAdmin

    wget http://www.sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/4.0.3/phpMyAdmin-4.0.3-all-languages.tar.bz2
  4. Unzip

    tar -jxf phpMyAdmin-4.0.3-all-languages.tar.bz2 -C /var/www/html
  5. Rename the folder

    mv phpMyAdmin-4.0.3-all-languages phpmyadmin
  6. Remove the zip file

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

That's the basics. You can find more info in the link provided above.


你可能感兴趣的:(phpMyAdmin,EC2)