Snippets
Revised by
Idoenk . Heri Purnomo
477d040
Install and Secure phpMyAdmin with Nginx on Ubuntu 16.04
Step 1 — Install phpMyAdmin
sudo apt-get update
sudo apt-get install phpmyadmin
create a symbolic link from the installation files to our Nginx document root directory:
sudo ln -s /usr/share/phpmyadmin /var/www/html
enable the mcrypt PHP module, which phpMyAdmin relies on. This was installed with phpMyAdmin, so we’ll toggle it on and restart our PHP processor:
sudo phpenmod mcrypt
sudo systemctl restart php7.0-fpm
phpMyAdmin installation is now operational
http://server_domain_or_IP/phpmyadmin
Use bash script below to install from git
If you do not intend to develop, you can skip the installation of developer tools by invoking:
composer update --no-dev
Additionally you need to install dependencies using the Composer tool:
composer update
Doc: https://docs.phpmyadmin.net/en/latest/setup.html#installing-from-git
You can clone a snippet to your computer for local editing. Learn more.