Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jun 01, 2014 3:51 pm 
Offline

Joined: Sun Jun 01, 2014 3:46 pm
Posts: 1
Hey guys, thought I'd add this here (as it did take me some time to get Elastix to run on my box)


Elastix is possibly the most powerful packaging of the Asterisk server. Elastix comes as its own distribution built on top of CentOS and for most users going with the Elastix-provided install media is the best process. However, if you wish to install the Elastix packages onto your own install of CentOS, like for times when you need to install to a Xen-based virtual server, then you need to use a different process.

Elastix provides its packages through a standard YUM repository system making it very easy to work with. Using these repos is barely documented, if at all, and not all dependencies are addressed through these repos. Additionally, with the introduction of Elastix 2.x, some of the necessary packages are handled by the Elastix 1.x branch while others are handled by the 2.x branch making the process a little more confusing.

To begin, we need a base installation of the CentOS 5 series. Start with any CentOS 5 minimal install and updated it to the latest patches.

Code:
yum -y update


Then we will need to install the EPEL extensions from the Fedora Project.

Code:
rpm -ivh ftp://mirror.cs.princeton.edu/pub/mirrors/fedora-epel/5/i386/epel-release-5-4.noarch.rpm


Now let’s add some useful packages that we are sure to want.

Code:
yum -y install sysstat fail2ban bwm-ng system-config-securitylevel-tui


To install Elastix itself we need to upload the CD ISO image that we have downloaded from the Elastix website. To make things simple, simply upload it to the /tmp directory of our new server. Once we have the file there, we need to mount it so that we can use it like a local filesystem.

Download the ISO:

Code:
cd /tmp/
wget http://downloads.sourceforge.net/project/elastix/Elastix%20PBX%20Appliance%20Software/2.4.0/Elastix-2.4.0-Stable-x86_64-bin-04feb2013.iso?r=http%3A%2F%2Fwww.elastix.org%2Findex.php%2Fen%2Fdownloads%2Fmain-distro.html&ts=1402225510&use_mirror=freefr


Code:
mkdir /mnt/iso
mount -o loop /tmp/Elastix-2.4.0-Stable-x86_64-bin-04feb2013.iso /mnt/iso
cd /mnt/iso


In order to utilize the new Elastix repo that we have just mounted we need to create a YUM repo entry for this.
Code:
nano /etc/yum.repos.d/elastix-cd.repo


and add this:

Code:
[elastix-cd]
name=Elastix RPM Repo CD
baseurl=file:///mnt/iso/
gpgcheck=0
enabled=1


And at this point we should be ready to actually install Elastix which is about 266 packages.

Code:
yum -y install elastix


Once that completes we will want to reboot. You will want to be connected to the server via the console, not via SSH, as Elastic’s First Boot system will come up and step you through the basic setup of the system which just requires you to set two key passwords. If you are not at the console you will never see this dialog and you will be unaware that the application needs your attention.

Once the system comes back up, we should remove some unneeded services. No need to have extra stuff running. It is unlikely that we will be using iSCSI or NFS on our PBX so we will turn those services off.

(i.e. use the console SSH in your SSH client to connect to your server)

Code:
chkconfig iscsi off
chkconfig iscsid off
chkconfig netfs off


Top
   
PostPosted: Sun Sep 14, 2014 6:40 pm 
Offline

Joined: Sun Sep 14, 2014 6:03 pm
Posts: 1
Hi.

I followed your instructions and successfully installed Elastix 2.4.0 on a VPS at Linode.com.... thank you.

However I cannot find the A2billing or Vtiger web pages. Could you advise me where to find them or install them if they didn't come with this version of Elastix.

I am also unable to find /etc/asterisk/extension_a2billing_additionals.conf. Do you know where is the location or name of this file in Elastix 2.4.0.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group