Choose and confirm a secure password and make note of it.
You will now be asked to choose and confirm a password for the phpMyAdmin application and its database (which will be created in this step). You’ll need to enter the database administrator password that you configured during the MySQL installation to allow these changes. The next prompt will ask if you would like dbconfig-common to configure a database for phpMyAdmin to use. Since Nginx, the web server we’re using, isn’t one of the available options, you can just hit TAB, and then ENTER to bypass this prompt. It will ask you which web server you would like the software to automatically configure.
Phpmyadmin nginx install#
Then, we’ll use the apt packaging tools to pull the software down from the repositories and install it on our system:ĭuring the installation, you will be prompted for some information.
Phpmyadmin nginx update#
With our LEMP platform already in place, we can begin by installing phpMyAdmin, which is available from Ubuntu’s default repositories.įirst, we’ll update the server’s local package index to make sure it has a fresh set of references to available packages. Once you’ve completed these prerequisite steps, you’re ready to get started with this guide. If you do not have an existing domain configured with an SSL/TLS certificate, you can follow this guide on securing Nginx with Let’s Encrypt on Ubuntu 16.04. Be sure to note your MySQL database administrator password.įinally, there are important security considerations to be aware of when using software like phpMyAdmin: it communicates directly with your MySQL installation, handles authentication using MySQL credentials, and executes and returns results for arbitrary SQL queries.įor these reasons, and because it is a widely-deployed PHP application that is frequently targeted for attack, you should never run phpMyAdmin on remote systems over a plain HTTP connection. If you haven’t done this yet, you can follow the guide on installing a LEMP stack on Ubuntu 16.04. We’re also going to assume that you’ve completed a LEMP (Linux, Nginx, MySQL and PHP) installation on your Ubuntu 16.04 server.
First, we’ll assume that you are using a non-root user with sudo privileges, as described in steps 1-4 of the initial server setup of Ubuntu 16.04.Before you get started with this guide, make sure you’ve completed the following prerequisite steps: