Elastix Installation v1.3.2
Elastix Installation v1.3.2
Elastix Installation
Version 1.3.2
PaloSanto Solutions
June 2009
Introduction
This manual corresponds to the Installation of the Elastix distro version 1.3.2
Elastix is distributed as an ISO file that can be burned to a CD from any CD burning software.
This version can be downloaded from http://www.elastix.org or directly from the download site for the project:
http://sourceforge.net/projects/elastix/
Turn on your server and insert the CD. Make sure that your server boots from the optical drive (CDROM),
otherwise you must enable this option in the BIOS of your machine. If you burned correctly your CD you
should get the following screen:
Note: The Elastix Installation CD will format the hard drive during the installation process. This will
delete all the information in the system, please make sure you don’t have any important information
stored in the hard drive.
Otherwise you can press ENTER or wait till the CD begins the installation automatically.
You have to choose the keyboard layout according to your language. If your keyboard language is English
select the option: “en”.
First, the installer will search the necessary dependencies for the installation.
After this, the installation begins; you’ll see the next screen:
Note: You must remove the CD and is recommended to modify the BIOS to boot from the hard drive as the
first option.
After the system restart the following kernel will boot automatically: Elastix-base (2.6.18-
53.1.19.e15)
Log in as the root user with the password set at the moment of installation.
The Flash memory device should be placed on one of the USB ports of the Elastix server. Once you place
the flash memory, start the server. Make sure that your server boots from a USB drive (Flash memory),
otherwise you must enable this option in the BIOS of your machine. If everything is correct you should get
the following screen.
Note: The flash memory device will format the hard drive during the installation process. This will
delete all the information in the system, please make sure you don’t have any important information
stored in the hard drive.
Otherwise you can press ENTER or wait till the flash memory device begins the installation automatically.
You have to choose the keyboard layout according to your language. If your keyboard language is English
select the option: “en”.
Note: The next procedures will be executed by the installation device automatically.
First, the installer will search the necessary dependencies for the installation.
After this, the installation begins; you’ll see the next screen:
Note: You must remove the flash memory device and is recommended to modify the BIOS to boot from the
hard drive as the first option.
After the system restart the following kernel will boot automatically: Elastix-base (2.6.18-
53.1.19.e15)
Log in as the root user with the password set at the moment of installation.
In order to fulfill this assignment a script called CentOS2Elastix has been developed. This script basically
turns CentOS to Elastix. CentOS is a popular distribution of Elastix based on another popular distribution,
“Red Hat”. By all this, at least on theory, this script should work well on Red Hat too.
However, not everything it’s so easy. Just a few versions of CentOS are supported. The last version of
CentOS2Elastix works using the kernel 2.6.18-53. It is necessary to keep this kernel installed because some
Elastix drivers are dependent of it. For example, Zaptel.
CentOS2Elastix can be downloaded from elastix.org. However it’s only an ISO image and you have to
“mount” it before being able to access to the content.
# mkdir /testFolder
# mount -o loop ElastiXCorE-xxxx.iso /testFolder
# cd /testFolder
# ./install
In the last example we have to replace xxxx with script version we downloaded.
Even though, there are 3 kind of RAID supported (0, 1 y 5), is a general practice the use of RAID 1 or
“mirror”; this allows us to duplicate the information in partitions. It’s important to say that it’s not really
necessary to add all the partitions to the arrangement; however, it’s recommendable to make a mirror of
every partition if you have 2 hard drives.
A common scheme for partitioning consists on having a 100Mb partition for “/boot”, 2Gb for swap memory
and the rest of the space for the root “/”. If you are following this scheme with a type 1 array, you will need to
create 3 partitions on each hard drive, in such a way that you will end up with 6 RAID type partitions
Software RAID configuration is setup during Elastix installation process using advanced mode. Basically, an
additional step related with the hard drive partition will show. This step is divided in additional steps: the
creation of the RAID partitions, and the creation of RAID devices to group these partitions.
To enter in advanced mode is necessary to write the command advanced in the initial installation screen.
Like the normal installation process, the advanced installation requires the setup of the keyboard layout
according to the keyboard language. Once you have selected the keyboard layout the partition type screen
will appear.
To begin with the partition we have to select “Create custom layout”, the hard drives must be listed and
selected too. The partition screen will show the list of partitions once they’re created.
The first step will be to create all RAID partitions choosing the option “New”.
In system file type it’s necessary to choose “software R”, additionally it’s necessary to specify the partition
size, the hard drive for the partition, and if it is a primary partition. After selecting “OK” the new partition will
show on the list as shown below:
It’s necessary to repeat this process for every RAID partition. Finally you should have the following list:
The list of partitions is exactly the same between the two hard drives. The next step is the creation of RAID
devices. For this operation you select the option “RAID”.
In this screen you have to choose the mount point for the device, the type of system files, the type of RAID
(1) and the RAID partitions that belongs to the device. It’s necessary to be careful and choose the
corresponding partitions. This process it’s going to repeat for every RAID device according to the scheme of
partitions defined. Later, the RAID devices will appear in the partitions list.
Finally, you select the option “OK” and continue with the normal installation procedure.