Setting up Joomla Using Bitnami:
1. Go to amazon market place
2. Search for joomla bitnami
3. Select the bitnami joomla ami
4. Click continue
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.
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.
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.
11. open the httpd-app.conf file using the following command.
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
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 firstname.lastname@example.org
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.
Share this post and leave a comment for queries.