Step 2 – Connecting your AWS EC2 Instance from SSH Otherwise you need to read this tutorial “ how to launch ec2 instance in aws step by step“ for launch aws ec2 instance. If you have already launch new ec2 instance, so you can move next step. Step 6: Install, Configure and Access phpMyAdminįirst of all, you need to launch aws ec2 instance.Step 3: Install Apache 2 on ubuntu 18.04.Step 2: Connecting your AWS EC2 Instance from SSH.How to Install LAMP Stack, PHPmyadmin on Ubuntu 18.04 AWS EC2įollow the following easy steps to install lamp(Linux, apache 2, PHP and MySQL) and PHPMyAdmin on ubuntu 18.04 amazon(aws) ec2: Here, we will show you step by step on how to install lamp stack with phpmyadmin on ubuntu 18.04 ec2 aws. Replace with your actual sub-domain and don’t forget to create DNS A record for it.Install lamp stack with phpmyadmin on ubuntu amazon ec2. 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 Īs 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. |