0% found this document useful (0 votes)
2K views16 pages

Elastix 4 Installation Step by Step

This document provides step-by-step instructions for installing Elastix 4 on a virtual machine. It describes how to create a new virtual machine, configure networking and mount the Elastix ISO image, install Elastix PBX, and configure a static IP address. The key steps are to create a 25GB virtual hard disk, attach the network adapter to the host network, mount the ISO during installation, set the root password and SQL/admin passwords during setup, and edit configuration files to set a static IP.

Uploaded by

Godspower Inibu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views16 pages

Elastix 4 Installation Step by Step

This document provides step-by-step instructions for installing Elastix 4 on a virtual machine. It describes how to create a new virtual machine, configure networking and mount the Elastix ISO image, install Elastix PBX, and configure a static IP address. The key steps are to create a 25GB virtual hard disk, attach the network adapter to the host network, mount the ISO during installation, set the root password and SQL/admin passwords during setup, and edit configuration files to set a static IP.

Uploaded by

Godspower Inibu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 16

ELASTIX 4 INSTALLATION STEP BY STEP – 01

Today i’ll take you through on how to do Elastix 4 Installation step by step. I’ve been doing
tutorial on Avaya from last couple of months. So this time decided to take a look at alternative
opportunities in the market and learn different PBX.

ELASTIX 4 INSTALLATION STEP BY STEP

This article will cover Elastix Installation Step by Step and will cover as much as i could. you
need following items in place before you can start your Lab and Demo installation

CREATE NEW VIRTUAL MACHINE

1. Launch your virtualbox Manager and Click on New

2. Configure as below

3. Select Create a virtual Hard disk now


4. Select Create a virtual Hard disk now

5. Select Create Virtual Disk manager

6. Select Dynamically allocated

7. Assign 25 GB Hard disk

8. Click Create at bottom


CONFIGURE NETWORK AND MOUNT ELASTIX ISO IMAGE

1. Right Click on your virtual machine and click on settings

2. Click on Network from Left and the select Attached to: Bridged Adapter and from below
your real or physical

Network card.

3. To mount ISO image click on Storage from left and from right select empty icon and then
from the right choose
virtual optical disk file (you need to browns and select the ISO file available in your hard
drive)

INSTALL ELASTIX PBX

1. Once your Virtual Machine is ready as explained above you should start your virtual
machine and select Install Elastix 4 and hit enter

2. Once you reached to Centor Installation Summary you need to configure the following

 Date and Time according to your time zone


 Install Destination (Select the Hard drive we created for this virtual machine)
 Keyboard
 Network and Hostname
Click on Installation Destination, under Other Storage Options Select I will Configure
partitioning and click done button above

Create new mount point by clicking the ‘+’ button


Let say our hard disk is 500GB
First mount point is /home
DATA
/home
centos-home
Mount Point: /home
Desired Capacity : 51.2GB
Device Type: LVM
File system: xfs
Volume Group: centos

Second mount point is /boot


SYSTEM
/boot
sda1
Mount Point: /boot
Desired Capacity : 500MB
Device Type: Standard Partition
File system: xfs

Third mount point is /


/
centos-root
Mount Point: /
Desired Capacity : 421.36GB
Device Type: LVM
File system: xfs
Volume Group: centos

Fourth mount point is /swap


swap
centos-swap
Mount Point: swap
Desired Capacity : 3.86GB
Device Type: LVM
File system: swap
Volume Group: centos

The centos 7 partition system arrange in the following format below,


DATA
/home
centos-home

SYSTEM
/boot
sda1

/
centos-root

swap
centos-swap

Note: the root (/) partition should be allocated the highest size capacity

After everything click, Done button above.


3. Enter your root password
4. Now Enter your SQL root password and admin password (remember admin password will be
used to login via

web GUI Page)


4. Now your virtual machine will reboot one and now should be able to login as root and Web
Gui admin
How to configure a static IP address on Elastix4

Configure a Static IP Address without Network Manager

Go to the /etc/sysconfig/network-scripts directory, and locate its configuration file


(ifcfg-enp0s3). Create it if not found.

Open the configuration file and edit the following variables:


In the above, "NM_CONTROLLED=no" indicates that this interface will be set up using this
configuration file, instead of being managed by Network Manager service. "ONBOOT=yes" tells
the system to bring up the interface during boot.
Now this was very easy and quick way to install your Elastix PBX on virtual machine. I hope
you have enjoyed the article and if you want to watch this as video tutorial click on below link

Or

Elastix 4 installation on CentOS 7 VPS

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

Disable a repository permanently not supported anymore

This method will permanently enable or disable a repository.

Usually, the repository configuration files will be saved in the /etc/yum.repos.d/ directory.

Let us see the available repositories using comma


ls /etc/yum.repos.d/
Sample output:
CentOS-Base.repo CentOS-fasttrack.repo commercial-addons.repo

CentOS-Base.repo.rpmnew CentOS-Media.repo elastix.repo

CentOS-CR.repo CentOS-Sources.repo epel.repo

CentOS-Debuginfo.repo CentOS-Vault.repo epel-testing.repo

We will disable the elastix.repo and commercial-addons.repo repositories because they are
no longer supported.

To do so, edit one of the chosen repository file say ELASTIX repository file:
vi /etc/yum.repos.d/elastix.repo

Change the value enabled=1 to 0 (zero).


[elastix-base]
name=Base RPM Repository for Elastix
mirrorlist=http://mirror.elastix.org/?release=4&arch=$basearch&repo=base
#baseurl=http://repo.elastix.org/elastix/4/base/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix

[elastix-updates]
name=Updates RPM Repository for Elastix
mirrorlist=http://mirror.elastix.org/?release=4&arch=$basearch&repo=updates
#baseurl=http://repo.elastix.org/elastix/4/updates/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix

[elastix-beta]
name=Beta RPM Repository for Elastix
mirrorlist=http://mirror.elastix.org/?release=4&arch=$basearch&repo=beta

Save and close the file. Update the repository lists to take effect the changes.
yum repolist

yum -y upgrade
Install GCC (C and C++ Compiler) and Development Tools in Elastix 4.0

Command to install GCC and Development Tools on Elastix.


# yum groupinstall "Development Tools"

Sample outputs:

Verify your gcc installation on a Elastix 4

Type the following command to see gcc location:


whereis gcc
gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc /usr/share/man/man1/gcc.1.gz

You might also like