![]() ![]() For additional help or useful information, we recommend you check the official phpMyAdmin website. sudo apt update & sudo apt install phpmyadmin. Thanks for using this tutorial for installing phpMyAdmin with Nginx on Ubuntu 20.04 Focal Fossa LTS system. Lets begin by updating the package lists and installing phpMyAdmin for Nginx on Ubuntu 20.04 / 20.10. Now open your browser and surf to and your PHPMyAdmin will ask you for the user and password of your MySQL installation, you can use root as user and the root MySQL password, or any other MySQL user/password.Ĭongratulations! You have successfully installed phpMyAdmin. We must create a symbolic link from the phpMyAdmin directory: sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin MariaDB> GRANT ALL PRIVILEGES ON *.* TO flush privileges 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. Step 1 Installing Nginx Because Nginx is available in Ubuntus default repositories, you can install it using the apt packaging system. 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. 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. You can install phpMyAdmin by using APT to download the phpmyadmin package from the default Ubuntu repositories. Install phpMyAdmin with Nginx on Ubuntu 20.04 LTS Focal Fossa ![]() 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |