Case 1 (With Elastix Repository)
Create new repository
vi /etc/yum.repos.d/elastix.repo
[elastix-base] name=Base RPM Repository for Elastix mirrorlist=http://mirror.elastix.org/?release=2&arch=$basearch&repo=base #baseurl=http://repo.elastix.org/elastix/2/base/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix [elastix-updates] name=Updates RPM Repository for Elastix mirrorlist=http://mirror.elastix.org/?release=2&arch=$basearch&repo=updates #baseurl=http://repo.elastix.org/elastix/2/updates/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix [elastix-beta] name=Beta RPM Repository for Elastix mirrorlist=http://mirror.elastix.org/?release=2&arch=$basearch&repo=beta #baseurl=http://repo.elastix.org/elastix/2/beta/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix [elastix-extras] name=Extras RPM Repository for Elastix mirrorlist=http://mirror.elastix.org/?release=2&arch=$basearch&repo=extras #baseurl=http://repo.elastix.org/elastix/2/extras/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix
Install EPEL Repository for dependencies
wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm rpm -ivh epel-release-5-4.noarch.rpm
Install Elastix with yum
yum install asterisk* elastix*
Run Elastix Firstboot script
/etc/init.d/elastix-firstboot start
Case 2 (With Elastix CD)
Get Elastix ISO CD.
mount -o loop -t iso9660 /dev/cdrom /mnt/cdrom
vi /etc/yum.repos.d/elastix-cd.repo
[elastix-cd] name=Elastix RPM Repository for CentOS CD baseurl=file:///mnt/cdrom gpgcheck=0 enabled=1
yum --nogpgcheck install asterisk* elastix* reboot
Setup MySQL and Webinterface password:
rm /etc/elastix.conf #password default
/etc/init.d/elastix-firstboot start
Note: Before setup password, root’s password is empty.