![]() ![]() ![]() However, installing and configuring all of these services takes time and skills. In addition, it is widely popular and well-supported among the Open Source community. It is an acronym representing Linux, Nginx, MySQL/MariaDB, and PHP. The LEMP stack is an open-source solution used to develop web applications. They are popular among software developers due to their flexibility and portability. When it comes to application development, containers are now the standard approach. Replace with your actual sub-domain and don’t forget to create DNS A record for it.This guide shows you how to set up your LEMP (Nginx, MariaDB, PHP) stack easily and quickly using Docker Compose. We will configure it so that we can access phpMyAdmin via a sub-domain. To be able to access the phpMyAdmin web interface, we need to create a Nginx server block by running the following command. Now you can exit by executing: exit Step 2: Create Nginx Server Block for phpMyAdmin show grants for you can see, user phpmyadmin has all privileges on database phpmyadmin. You can use the following command to log into MariaDB server. If you are curious as I am, you can log into MariaDB and check what privileges phpmyadmin user has been granted. Once done, a new database named phpmyadmin is created and the database user phpmyadmin has necessary privileges to manage this database. Nginx isn’t on the list, so press the Tab key and hit OK to skip this step. Next, it will prompt you to select a web server to configure. This will also create a new database user named phpmyadmin. During the installation, it will ask if you want to use dbconfig-common to configure the database. The above command will install all necessary dependencies including PHP7 extensions. PhpMyAdmin is included in Ubuntu 20.04 software repository, so we can easily install it with the following command. Step 1: Download and Install phpMyAdmin on Ubuntu 20.04 With that out of the way, let’s get started with installing phpMyAdmin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |