Building Elastix MT via RPM Repo
-
After scripting out the build of Elastix 4 via RPM Repos, I figured we needed to do the same for Elastix MT (previously known as Elastix 3.) For Elastix MT we need to start from CentOS 6. I am using the latest CentOS 6.7 for this build.
#!/bin/bash # SAM's Elastix MT on CentOS 6 Installation and Build Script # http://mangolassi.it/topic/6243/building-elastix-mt-via-rpm-repo # Report any issues or questions on that thread. yum -y install epel-release yum -y install fail2ban htop sysstat glances wget screen yum -y update cd /tmp wget http://sourceforge.net/projects/elastix/files/Elastix%20PBX%20Appliance%20Software/3.0.0/latest/Elastix-3.0.0-Stable-x86_64-bin-10nov2014.iso/download mv download elastixmt.iso mkdir -p /mnt/elastixmt mount -o loop /tmp/elastixmt.iso /mnt/elastixmt cat > /etc/yum.repos.d/Elastix.repo <<EOF [Elastix-cd] name=Elastix-cd baseurl=file:///mnt/elastixmt/ gpgcheck=0 enabled=1 EOF cd /mnt/elastixmt/Elastix for i in $(ls); do yum -y install $i; done for i in $(ls); do yum -y install $i; done /etc/init.d/mysqld start /etc/init.d/elastix-firstboot start && reboot
By default in CentOS 6 the firewall will block all ports. You will need to open any web management or VoIP traffic ports as needed for your situation.
-
The build script itself runs fine. The issue, however, is that the MySQL configuration script does not work here and the system does not actually start correctly. The issues are with Elastix MT, however.
-
Elastix MT and Elastix 4 are VoIP systems correct?
-
That is correct, Elastix is probably the most popular distribution of Asterisk. However in the last two years Elastix has stumbled pretty dramatically and their newer products after Elastix 2.4 have been very problematic.
-
The NTG guys definitely lean toward Elastix. I thought FreePBX was easier to use.
-
@Dashrender said:
The NTG guys definitely lean toward Elastix.
Elastix has a HUGE non-english speaking install base.
After PBX in a Flash it is the oldest actively developed Asterisk based distro out there.
The FreePBX GUI runs both Elastix 2.X and Elastix 4.X as well as the FreePBX and PBX in a Flash distros.
-
@Dashrender said:
I thought FreePBX was easier to use.
FreePBX stays up to date. Elastix does not.
That plays a lot into the look and feel of the systems.
-
@Dashrender said:
The NTG guys definitely lean toward Elastix. I thought FreePBX was easier to use.
Try installing FreePBX without using their ISO, it has some larger complications.
-
@scottalanmiller said:
Try installing FreePBX without using their ISO, it has some larger complications.
I've seen the same said for Elastix, but it seems that 4.0 at least only misses a couple things based on your recent post.
-
@JaredBusch said:
@scottalanmiller said:
Try installing FreePBX without using their ISO, it has some larger complications.
I've seen the same said for Elastix, but it seems that 4.0 at least only misses a couple things based on your recent post.
Better than MT at least. That didn't work at all.
-
@scottalanmiller said:
@Dashrender said:
The NTG guys definitely lean toward Elastix. I thought FreePBX was easier to use.
Try installing FreePBX without using their ISO, it has some larger complications.
LOL, now that's funny. The very first PBX I stood up with a self installed FreePBX on Cloud@Cost, and yes, it was painful, but after 4 days I did get it working.
-
@Dashrender Was most of that 4 days spent waiting for their systems to write your information to disk? lol.
-
@dafyre said:
@Dashrender Was most of that 4 days spent waiting for their systems to write your information to disk? lol.
LOL - nice! nah, back in the beginning things were a bit more usable, it was digging through forums looking for solutions to problems, how to install xyz to make things work.. what settings to change, yada yada.
-
@Dashrender tem quedesligar selinux no final
-
Hi I wanted to install Elastix MT in a VPS environment. Followed your instruction but was not able to load ISO.. is there a minimum requirement for the VPS thank you in advance
-
@norojoshi said:
Hi I wanted to install Elastix MT in a VPS environment. Followed your instruction but was not able to load ISO.. is there a minimum requirement for the VPS thank you in advance
Where are you running into the issue? What command is failing?
-
Welcome to the community, by the way @norojoshi
-
@norojoshi said:
.. is there a minimum requirement for the VPS thank you in advance
Other than offering CentOS 6, no I do not believe so.
-
@scottalanmiller said:
mount -o loop /tmp/elastixmt.iso /mnt/elastixmt
Thank you for your prompt reply i am not being able to mount the ISO getting error
[root@77167 tmp]# mount -o loop /tmp/elastixmt.iso /mnt/elastixmt
mount: Could not find any loop device. Maybe this kernel does not know
about the loop device? (If so, recompile or `modprobe loop'.) -
@norojoshi Ah, okay. So that should be fixable. Sounds like the loopback mount is missing. Could be a bad kernel. What VPS host are you on? What kernel are you running?