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.9k
    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.
    • zathiroZ
      zathiro
      last edited by

      Hi, Scott, i check this script and run in a Centos 6 over Rackspace cloud , but, i can`t view the web interface, asterisk run ok, but, the web interface maybe is a problem with a mysql or httpd services.
      Any suggestion?

      scottalanmillerS 2 Replies Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @zathiro
        last edited by

        @zathiro said:

        Hi, Scott, i check this script and run in a Centos 6 over Rackspace cloud , but, i can`t view the web interface, asterisk run ok, but, the web interface maybe is a problem with a mysql or httpd services.
        Any suggestion?

        Did the script correctly set the password before completing? Did you reboot after the script ran?

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

          @zathiro welcome to MangoLassi, by the way!

          zathiroZ 1 Reply Last reply Reply Quote 0
          • zathiroZ
            zathiro @scottalanmiller
            last edited by

            @scottalanmiller Thanks !! Yes i run the complete Script, elastix-firstboot for config password and then reboot the server, but can't see the web interface, I have done as 4 times and nothing...

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

              @zathiro said:

              @scottalanmiller Thanks !! Yes i run the complete Script, elastix-firstboot for config password and then reboot the server, but can't see the web interface, I have done as 4 times and nothing...

              What does...

              /etc/init.d/httpd status
              

              Return?

              zathiroZ 1 Reply Last reply Reply Quote 0
              • zathiroZ
                zathiro @scottalanmiller
                last edited by

                @scottalanmiller

                httpd (pid 2773) is running...

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

                  What is the output of...

                  netstat -tulpn
                  
                  1 Reply Last reply Reply Quote 1
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    I'm guessing that your firewall is closing the ports.

                    zathiroZ 1 Reply Last reply Reply Quote 1
                    • zathiroZ
                      zathiro @scottalanmiller
                      last edited by

                      @scottalanmiller Oh, I see, activate a fw accept to see if the problem was, and this is resolved, I never imagined that the default was fw reject all connections, but now I can enter the dashboard, scoot thanks for your help

                      Scritp for fw-accept.

                      #!bin/bash
                      iptables -F
                      iptables -X
                      iptables -t nat -F
                      iptables -t nat -X
                      iptables -t mangle -F
                      iptables -t mangle -X
                      iptables -P INPUT ACCEPT
                      iptables -P FORWARD ACCEPT
                      iptables -P OUTPUT ACCEPT

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

                        @zathiro said:

                        @scottalanmiller Oh, I see, activate a fw accept to see if the problem was, and this is resolved, I never imagined that the default was fw reject all connections, but now I can enter the dashboard, scoot thanks for your help

                        Scritp for fw-accept.

                        #!bin/bash
                        iptables -F
                        iptables -X
                        iptables -t nat -F
                        iptables -t nat -X
                        iptables -t mangle -F
                        iptables -t mangle -X
                        iptables -P INPUT ACCEPT
                        iptables -P FORWARD ACCEPT
                        iptables -P OUTPUT ACCEPT

                        Yes, the default is to accept nothing but port 22, which is the SSH port for management. This is the industry standard (that Linux started.) Every OS blocks everything by default now on the firewall. Having the web open by default would be very bad. But rather easy to open up when needed.

                        zathiroZ 1 Reply Last reply Reply Quote 0
                        • zathiroZ
                          zathiro @scottalanmiller
                          last edited by

                          @scottalanmiller Yes off course, now I can open ports only for my vpn network that I have and not for the public

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

                            All working now?

                            zathiroZ 1 Reply Last reply Reply Quote 0
                            • zathiroZ
                              zathiro @scottalanmiller
                              last edited by

                              @scottalanmiller Yes! now it working and performance the firewall with iptables, thanks scott, for all!!

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

                                No problem. Glad that we got that fixed. I'll update the doc to mention that. Firewall is default on in CentOS 6 so I had ignored it.

                                zathiroZ 1 Reply Last reply Reply Quote 0
                                • zathiroZ
                                  zathiro @scottalanmiller
                                  last edited by

                                  @scottalanmiller Yes!, I also ignored the firewall of centos

                                  1 Reply Last reply Reply Quote 1
                                  • V
                                    VoipNewbie
                                    last edited by

                                    I am trying to install an copy of Elastix MT on a VPS on ImpactVPS. I got this part and got this. Can you let me know what I'm doing wrong? [root@ElastixServer ~]# cd /mnt/elastixmt/Elastix
                                    -bash: cd: /mnt/elastixmt/Elastix: No such file or directory

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

                                      @VoipNewbie said in Building Elastix MT via RPM Repo:

                                      I am trying to install an copy of Elastix MT on a VPS on ImpactVPS. I got this part and got this. Can you let me know what I'm doing wrong? [root@ElastixServer ~]# cd /mnt/elastixmt/Elastix
                                      -bash: cd: /mnt/elastixmt/Elastix: No such file or directory

                                      In order to navigate to that you need to have uploaded the ISO image and mounted it using that name. What did you do before this step?

                                      V 3 Replies Last reply Reply Quote 0
                                      • V
                                        VoipNewbie @scottalanmiller
                                        last edited by

                                        @scottalanmiller I was following your tutorial. Hy4y? Above.

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          VoipNewbie @scottalanmiller
                                          last edited by

                                          @scottalanmiller I was following your Elastix MT tutorial. The one you posted above.

                                          1 Reply Last reply Reply Quote 0
                                          • V
                                            VoipNewbie @scottalanmiller
                                            last edited by

                                            @scottalanmiller this is the tutorial I was following.

                                            #!/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 PBX Appliance Software/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

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