Create an Amazon instance using Cent OS 5.10. I used ami-33c63a44 for this purpose.
Run the below commands in sequence:
- yum -y update
- yum -y install wget
- wget http://sourceforge.net/projects/elastix/files/Elastix%20PBX%20Appliance%20Software/2.5.0/Elastix-2.5.0-Stable-x86_64-bin-21oct2014.iso
- mkdir /mnt/iso
- mount -o loop Elastix-2.5.0-Stable-x86_64-bin-21oct2014.iso /mnt/iso
- cd /mnt/iso
- vi /etc/yum.repos.d/elastix-cd.repo
- yum -y install mysql-server
- yum -y install cyrus-sasl
- yum -y install elastix
- yum clean all
- cd /etc/rc3.d/
- ./S66elastix-firstboot start
- Enter a password for MySQL
- Enter a password for admin account of elastix
- If the firstboot failed before prompting for admin password the run
- sqlite3 /var/www/db/acl.db “UPDATE acl_user SET md5_password=’`echo -n dupWI45a|md5sum|cut -d’ ‘ -f1`’ WHERE name=’admin'”
- Reboot
- yum -y update