yeah.sh
  1. du -ha --time --max-depth=2 /home/
  2.  
  3. agi php-{mbstring,zip,gd,xml,pear,gettext,cgi} php-mysqli
  4. mkdir /var/www/html/phpmyadmin
  5.  
  6. wget https://files.phpmyadmin.net/phpMyAdmin/4.9.0.1/phpMyAdmin-4.9.0.1-all-languages.tar.gz
  7. tar xzf phpMyAdmin-4.9.0.1-all-languages.tar.gz --strip-components=1 -C /var/www/html/phpmyadmin
  8. cp /var/www/html/phpmyadmin/config.sample.inc.php /var/www/html/phpmyadmin/config.inc.php
  9. #pour changer la ligne 'blowfish_secret' :
  10. nano /var/www/html/phpmyadmin/config.inc.php
  11. chmod 660 /var/www/html/phpmyadmin/config.inc.php
  12. chown -R www-data:www-data /var/www/html/phpmyadmin
  13. systemctl restart apache2