No description or website provided.
PHP JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
administrator
cache
cli
components
images
includes
language
libraries
logs
media
modules
mysqldump
plugins
templates
tmp
LICENSE.txt
README.md
README.txt
configuration.php
htaccess.txt
index.php
robots.txt
web.config.txt

README.md

Installing Joomla on EC2

Create a Linux instance on EC2

In your security group allow access to ssh and http

Login to your instance and add your public key

$ ssh -i ~/.ssh/yourname-ec2.pem ec2-user@ec2-107-20-110-250.compute-1.amazonaws.com
$ echo ssh-rsa AAAA...k= yourname@domain.org >> .ssh/authorized_keys

Update your Linux system

$ sudo yum -y update

Install MySQL and the Apache, PHP, Git

$ sudo yum install -y mysql-server httpd php php-mysql git

Download and unpack joomla

$ sudo chown -R ec2-user.apache /var/www/html
$ wget http://joomlacode.org/gf/download/../Joomla_1.7.3-Stable-Full_Package.zip
$ unzip Joomla_1.7.3-Stable-Full_Package.zip  -d /var/www/html

Change the httpd config

$ sudo vi /etc/httpd/conf/httpd.conf
...
User ec2-user
Group apache

Add MySQL and Apache to runlevel and start the deamons

$ sudo chkconfig --level 3 mysqld on
$ sudo service mysqld restart

$ sudo chkconfig --level 3 httpd on
$ sudo service httpd restart

Put the Joomla installation under version control

$ cd /var/www/html
$ git init
$ git add --all
$ git config --global user.name "Your Name"
$ git config --global user.email "yourname@domain.org"
$ git commit -a -m "Initial joomla import"

Create a MySQL database

$ mysqladmin -u root create jokiga

Complete the browser based Joomla installation

Make a database backup

$ mkdir /var/www/html/mysqldump 
$ mysqldump -u root jokiga > mysqldump/jokiga-mysqldump.sql
$ git add --all
$ git commit -a -m "Joomla post install checkpoint"

Restoring JoKiGa from GitHub

Restore html into an empty folder

$ sudo chown ec2-user /var/www/html
$ cd /var/www/html
$ git init
$ git remote add origin git@github.com:ddiesler/jokiga.git
$ git pull origin master
$ sudo service httpd restart

Restore database content

$ sudo service mysqld restart
$ mysql -u root -p jokiga < jokiga-mysqldump.sql