CentOS to Elastix How To (Centos <= 5.1)
- Before installing Elastix on CentOs, you need to know that you must have an Internet connection.
- Download the latest version of CentOS2Elastix
- Mount the iso file in your system (It could be /mnt)
- mount -o loop ElastiXCorE-xxx.iso /YourFolder
- e.g.: mount -o loop ElastiXCorE-1.1-04jun2008.iso /mnt
- Go to the mounted path
- cd /YourFolder
- e.g.: cd /mnt
- Run the script
CentOS to Elastix How To (Centos 5.2)
- Before installing Elastix on CentOs, you must have an Internet connection.
- Download the latest version of [[http://sourceforge.net/project/showfiles.php?group_id=161807&pa
Mount the cd iso on an empty directory
mount /dev/cdrom /media/cdrom cd /media/cdrom cd CentOS
Then install the kernel 2.6.18-53 required for zaptel and Elastix to work :
rpm -ivh --oldpackage kernel-2.6.18-53.1.19.el5.i686.rpm
Note that we are using the –oldpackage because we are installing an older version of the kernel. After reboot we will have two kernels. The Elastix server needs to know what kernel to use. Make sure that next time you reboot you use the kernel version you just installed. Check the following file:
You must have similar lines to this, if not add them but compare them to the original configuration file. Your configuration may differ from this one
title CentOS (2.6.18-53.el5) root (hd0,0) kernel /vmlinuz-2.6.18-53.1.19.el5 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.18-53.1.19.el5.img
In the grub configuration file you will find a line with the default value, you will need to change this value depending on your system configuration so you don't have to choose the kernel every time you start the machine. For example my system at that time had two kernel versions and the second one was 2.6.18-53.1.19 so I set default to 1.
Rebboot. After this reboot run:
The output should be:
If the outpot does not show this version, 1) reboot the machine and select the correct kernel at boot.
If you are okay up to this point you should be able to run the install script without any problems. Do the following:
mount /dev/cdrom /media/cdrom cd /media/cdrom ./install
The machine will reboot and it is very probable that menu.lst (in CentOS also known as /etc/grub.conf) is changed and you are not using the correct kernel. This would cause zaptel to not start. Correct as shown above. After fixing it should work fine.
Note: if you are using a xen virtual machine, adapt this how to to use the xen version of the kernel.