ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Building Elastix MT via RPM Repo

    IT Discussion
    voip asterisk linux elastix mt pbx centos 6 elastix centos
    13
    101
    39.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by scottalanmiller

      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.

      B 1 Reply Last reply Reply Quote 2
      • scottalanmillerS
        scottalanmiller
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403
          last edited by

          Elastix MT and Elastix 4 are VoIP systems correct?

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender
              last edited by

              The NTG guys definitely lean toward Elastix. I thought FreePBX was easier to use.

              JaredBuschJ scottalanmillerS 3 Replies Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @Dashrender
                last edited by JaredBusch

                @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.

                1 Reply Last reply Reply Quote 2
                • JaredBuschJ
                  JaredBusch @Dashrender
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @Dashrender
                    last edited by

                    @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.

                    JaredBuschJ DashrenderD 2 Replies Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @scottalanmiller
                      last edited by

                      @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.

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @JaredBusch
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender @scottalanmiller
                          last edited by

                          @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.

                          dafyreD 1 Reply Last reply Reply Quote 0
                          • dafyreD
                            dafyre @Dashrender
                            last edited by

                            @Dashrender Was most of that 4 days spent waiting for their systems to write your information to disk? lol.

                            DashrenderD 1 Reply Last reply Reply Quote 2
                            • DashrenderD
                              Dashrender @dafyre
                              last edited by

                              @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.

                              appcaonA 1 Reply Last reply Reply Quote 0
                              • appcaonA
                                appcaon @Dashrender
                                last edited by

                                @Dashrender tem quedesligar selinux no final

                                1 Reply Last reply Reply Quote 0
                                • norojoshiN
                                  norojoshi
                                  last edited by

                                  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

                                  scottalanmillerS 2 Replies Last reply Reply Quote 1
                                  • scottalanmillerS
                                    scottalanmiller @norojoshi
                                    last edited by

                                    @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?

                                    norojoshiN 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller
                                      last edited by

                                      Welcome to the community, by the way @norojoshi

                                      1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @norojoshi
                                        last edited by

                                        @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.

                                        1 Reply Last reply Reply Quote 0
                                        • norojoshiN
                                          norojoshi @scottalanmiller
                                          last edited by

                                          @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'.)

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @norojoshi
                                            last edited by

                                            @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?

                                            norojoshiN 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 6 / 6
                                            • First post
                                              Last post