Snippets

Idoenk . Heri Purnomo Remote pull phpmyadmin

Created by Idoenk . Heri Purnomo last modified

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

You’ll need to use Yarn to install some JavaScript dependencies:

yarn install

Doc: https://docs.phpmyadmin.net/en/latest/setup.html#installing-from-git

1
2
3
4
5
6
7
8
9

git clone --depth=1 --branch=STABLE git://github.com/phpmyadmin/phpmyadmin.git /usr/share/phpmyadmin


# If you do not intend to develop, you can skip the installation of developer tools by invoking:
composer update --no-dev

# Run [Yarn](https://yarnpkg.com/lang/en/docs/install) to install some JavaScript dependencies, eg. scss compiler:
yarn install

Comments (0)

HTTPS SSH

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