How to Setup Bitnami Joomla on Amazon ec2

Joomla is one of the popular content management systems. You can install joomla on ec2 manually or you can use bitnami AMI’s for one click install. In this tutorail i will explain how to set up joomla on ec2 using bitnami AMI.

Also read: How to install joomla on amazon ec2 manually.

Setting up Joomla Using Bitnami:

1. Go to amazon market place

2. Search for joomla bitnami

3. Select the bitnami joomla ami

joomla

4. Click continue

joomla2

 5. select “launch with ec2 console”  and scroll down a bit and select the joomla version and OS of your choice. Click “launch with ec2 console” option with the region of your choice.

joomla3
joomla4

6. It will take you to the ec2 management console. launch the instance like you would launch an instance normally. Select the instance type, security groups (with ports 80 ,8080 open) , select the key pair and launch the instance.

7. Once the instance is up and running, copy the public ip of your instance and paste it in new browser window and hit enter. It will take you to the bitnami start page.

joomla5

8. Click access my application and you will be able to access your application. The default user name will be “user” and the password is “bitnami”. You can access the application and application dashboard from the following urls.

http://<public ip or  public dns>/joomla
https:/<public ip or public dns>/administrator

9. By default you wont be able to access the phpmyadmin page for security reasons. So you have to make some changes to access the phpmyadmin page using your instance public ip or public dns.

10. Connect the instance using putty.

Read: how to connect an ec2 instance using putty

11. open the httpd-app.conf file using the following command.

vi /home/bitnami/apps/phpmyadmin/conf/httpd-app.conf 

12 Once you open the file, uncomment the commented lines and change “allow from 127.0.0.1” to “allow from all”. The file should look like the following

conf

13. Now restart the apache server using the following command.

sudo /opt/bitnami/ctlscript.sh restart apache

14. Now , you will be able to access phpmyadmin page using the public dns . The default user name is root and password is bitnami. You can access phpmyadmin from the following url.

http://<publicip or dns>/phpmyadmin

Accessing phpmyadmin through tunneling:
You can access phpmyadmin using your localhost by creating a tunnel between your system and the web server. Issue the following command in the terminal and hit enter to create a tunnel.

ssh -N -L 8888:127.0.0.1:80 -i /home/bitnami.pem [email protected]

In the above command, /home/bitnami.pem is the path to the key pair you have for the bitnami instance. Replace ec2-64-146-250-177.us-west-2.compute.amazonaws.com with the public dns of your instance.

After running the above command successfully , you can access phpmyadmin using your localhost address using the following url.

http://localhost:8888/phpmyadmin

Share this post and leave a comment for queries.

0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like