frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Elastix 4 installation on CentOS 7 VPS

ValentineValentine Member
edited September 25 in Various Tutorials

Elastix is an unified communications server software that brings together IP PBX, email, IM, faxing and collaboration functionality. It has a Web interface and includes capabilities such as a call center software with predictive dialing.

The Elastix functionality is based on open source projects including Asterisk, FreePBX, HylaFAX, Openfire and Postfix. Those packages offer the PBX, fax, instant messaging and email functions, respectively.

Elastix is free software, released under the GNU General Public License.

The tutorial was prepared with our "CentOS 7" template and is meant to work on our self-managed virtual private servers.

WARNING

CentOS 7 reached the EOL June 30, 2024:

https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/

Because of this, you may encounter some repository issues. We recommend that you reinstall another OS that has not yet reached EOL.

If you are using CentOS 7 and encounter a mirror issue, please check out this guide to resolve the problem.

0. Preliminary requirements:
"CentOS 7 64-bit" template installed on server.

1. Downloading install scripts:
wget -O Elastix4onCentos7vz.tar.gz --no-check-certificate https://github.com/thpryrchn/Elastix4onCentos7vz/tarball/master

tar zxvf Elastix4onCentos7vz.tar.gz --strip-components=1

2. Installation process
The first script you have to launch is:

./elastix-install-p1.sh

After installation process you have to reboot your server. Now you can launch the second installation script:

./elastix-install-p2.sh

In this step you will be asked to setup MySQL password and your Elastic admin user password. And after this setup you have to reboot your server once again.

And that's it. Now you can login to your Elastic web interface with password you have entered and manage your Elastix instance:

http://yourhostname
Tagged:

Comments

  • Hi Valentine,

    It is a very easy and useful tutorial. Although in my case I have CentOS 6.8 on a VPS, what changes should I do for installing Elastix? I already tried with this procedure and after some mistakes downloading the iPerfex repomd.xml the installation was not complete. I checked the url http://packages.iperfex.com/centos/ and is not available for CentOS 6, only 5 and 7. I will appreciate any help with this.

    Is Elastix 4 ok for CentOS 6.8 or do you think is better to go for a former version (i.e. Elastix 3).

    Thanks in advance
  • Hello,

    unfortunately you won't be able to install Elastix 4 on CentOS 6. We recommend to go with Elastix 4 + CentOS 7 because you will be managing newest versions.
  • I got it, I will check if I can upgrade the VPS CentOS version. In case I cannot install Elastix 4, do you have any set of tips of procedures for Elastix 3 with CentOS 6?

    Thanks
  • Elastix 3 is now called Elastix MT. Unfortunately at the moment we do not have any tips on that installation. However if there is a need in future we will try to make tutorial as well.
  • OK thanks again for the information. One last question, do Elastix has any functional problem if running on the same server with glassfish, mysql, jasperserver and Java own developed applications?

  • ValentineValentine Member
    edited September 2016
    We haven't tested Elastix in this kind of server setup, but it should be possible. However for stability we would recommend different instance.
  • Good Morning Valentine . After doing the procedure, elastix is not reached . How can I fix the problem? Thank you
  • Could you provide us with more information? Have you installed Elastix on freshly installed CentOS 7?
  • thanks for the reply . The installation I made on https://www.vpsz.fr/en/vps/ssd
    and I made a new installation of centos 7
  • isottina said:

    thanks for the reply . The installation I made on https://www.vpsz.fr/en/vps/ssd
    and I made a new installation of centos 7

    As mentioned in tutorial it is meant to work on our self-managed virtual private servers. If you are facing issues running it on VPSZ servers you have to contact them. It could be an issue of firewall rules.
  • I finished installation on AWS, but can't visit web-GUI via public IP, also open http and https on security group, anything wrong?
  • OLO said:
    I finished installation on AWS, but can't visit web-GUI via public IP, also open http and https on security group, anything wrong?

    This tutorial was tested and is meant to work on our self-managed virtual private servers. If you are following this instructions and installing Elastix 4 elsewhere you could face issues that we are not aware of.
  • idyahiaidyahia Member
    edited December 2016
    Hi Valentine, thank you for this amazing script, i tested it a week ago and it was perfect, i liked it and now i wanted to use it for good, i ordred a vps from Time4vps with an amazing price, but when i try to run the script it says :

    Cannot find a valid baseurl for repo: commercial-addons/x86_64
    Failed to set locale, defaulting to C
    Loaded plugins: fastestmirror, langpacks
    LowayResearch                                                                                                                                                                        |  951 B  00:00:00    
    base                                                                                                                                                                                 | 3.6 kB  00:00:00    
    Could not retrieve mirrorlist http://mirror.elastix.org/?release=4&arch=x86_64&repo=commercial_addons error was
    14: curl#6 - "Could not resolve host: mirror.elastix.org; Name or service not known"


     One of the configured repositories failed (Unknown),
     and yum doesn't have enough cached data to continue. At this point the only
     safe thing yum can do is fail. There are a few ways to work "fix" this:

    Seems like some mirros are broken, please help !

    PS: it's a fresh Centos 7 installation

    Thank you in advance

  • idyahia said:
    Seems like some mirros are broken, please help !
    Glad to hear that you find it helpful, however due to legal issues Elastix temporary discontinued distribution on Elastix 4 & MX. You can find more information about this in:
    http://www.elastix.org/blog/announcement-elastix-4-mt/
  • Hello,

    yes i tested also elastix 5 combined with 3CX, what a shame, it only give you 1 sip trunk and if you want more you need to buy an edition 275 EURO, please valentine, could you create a script that install ASTERISK NOW on remote server ?

    Thank you
  • Hi,

    AsteriskNow is custom distribution based on CentOS. Unfortunately it is not possible to install custom ISO on our servers.
Sign In or Register to comment.

Time4VPS

Learn how to install a web and database server, email, FTP client or other applications. Discover and share information on server security or optimization recommendations.
Feel free to join our constantly expanding community, participate in discussions, strengthen your knowledge on Linux and Windows server management!
© 2013 - 2024 Time4VPS. All rights reserved.

Get In Touch