![]() Step 6 – Install, Configure and Access phpMyAdminĦ.1 – Installing phpmyadmin on amazon ec2 ubuntu Move the PHP index file to the first position after the DirectoryIndex specification, like this:ĭirectoryIndex index.php index.html index.cgi index.xhtml index.htm Sudo nano /etc/apache2/mods-enabled/dir.confĭirectoryIndex index.html index.cgi index.php index.xhtml index.htm ![]() Now, you need to configure dir.conf file by using the following sudo nano command: Sudo apt-get install php libapache2-mod-php php-mysql php-curl php-gd php-json php-zip php-mbstringĪfter successfully installed PHP on ubuntu amazon ec2 instance. So open your ssh terminal and type the following command: Now, install PHP with it’s common extensions. Now, Type exit on ssh terminal to get out of MySql: So, you will need to set the root password of the database and secure it using the following command :Īfter the password has been set you can check the whether MySQL is working correctly by logging into the database with the command : Then, secure MySql server by using the following command. Now, open your ssh terminal and type the following command to install MySql Server:Ĥ.2 – Securing MySQL server in Apache aws ec2 And, it will be looks like the Apache 2 page in the following picture: Step 3 – Install Apache 2 on ubuntu 18.04ģ.5 – Verify that the Apache service is runningģ.6 – Open Browser and type EC2 intance IPįinally, open your browser and type your AWS ec2 instance IP address. If you are new to connect aws ec2 instance with windows, ubuntu and mac system. In this step, you need to connect your aws ec2 instance from ssh terminal. Step 2 – Connecting your AWS EC2 Instance from SSH If you have already launch new ec2 instance, so you can move next step. First of all, you need to launch aws ec2 instance.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |