Snippets

Idoenk . Heri Purnomo Remote pull phpmyadmin

Updated by Idoenk . Heri Purnomo

File Readme.md Added

  • Ignore whitespace
  • Hide word diff
+# 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
+```
Created by Idoenk . Heri Purnomo

File bash Added

  • Ignore whitespace
  • Hide word diff
+
+git clone --depth=1 --branch=STABLE git://github.com/phpmyadmin/phpmyadmin.git /usr/share/phpmyadmin
  1. 1
  2. 2
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.