Install nginx phpmyadmin ubuntu 20.04
Once you are logged in to your database server you need to create a database for phpMyAdmin installation: MariaDB> CREATE USER IDENTIFIED WITH mysql_native_password BY 'your-passwd' This will prompt you for a password, so enter your MariaDB root password and hit Enter. Now we create a new superuser account just for phpMyAdmin: sudo mysql -u root -p You will be prompted to confirm the password, enter the same password, select OK, and press Enter. Select Yes and hit Enter.Įnter a password for phpMyAdmin to register with the database, select OK, and press Enter. Next, the installer will ask you whether you want to use dbconfig-common tool to set up the database. We’ll configure Nginx in the next section. There is no option to choose Nginx, press TAB to select OK, and then Enter. The installer will ask you to choose the web server that should be automatically configured to run phpMyAdmin.
Install nginx phpmyadmin ubuntu 20.04 install#
Run the following command to install phpMyAdmin for Nginx on Ubuntu systems: sudo apt install phpmyadmin First, make sure that all your system packages are up-to-date by running the following apt commands in the terminal. Install phpMyAdmin with Nginx on Ubuntu 20.04 LTS Focal Fossa
![install nginx phpmyadmin ubuntu 20.04 install nginx phpmyadmin ubuntu 20.04](https://kirelos.com/wp-content/uploads/2020/05/echo/p3.png)
![install nginx phpmyadmin ubuntu 20.04 install nginx phpmyadmin ubuntu 20.04](https://kirelos.com/wp-content/uploads/2020/05/echo/p4.png)
We recommend acting as a non-root sudo user, however, you can harm your system if you’re not careful when acting as the root. A non-root sudo useror access to the root user.SSH access to the server (or just open Terminal if you’re on a desktop).
![install nginx phpmyadmin ubuntu 20.04 install nginx phpmyadmin ubuntu 20.04](https://devanswers.co/wp-content/uploads/2017/08/mysql-setup.png)
It’s recommended that you use a fresh OS install to prevent any potential issues.A server running one of the following operating systems: Ubuntu 20.04, 18.04, and any other Debian-based distribution like Linux Mint.