How to install Elastix 1.5.2 on a REMOTE Server

Discussion in 'General' started by todubiyi, Jul 4, 2009.

  1. todubiyi

    Joined:
    Jul 4, 2009
    Messages:
    7
    Likes Received:
    0
    Hi,

    I'm a Linux newbie and I urgently need a help with a step-by-step procedure on how to install Elastix 1.5.2 on a remote server running CentOS 5.3.

    I have tried this, using the procedure as contained on this site: http://www.elastix.org/index.php?option ... om_centos5, but it did not work. I guess some vital steps are missing (as the writer had said).

    Please help me, as I cannot have physical access to this server and the dedicated server hosting company does not support KVM over IP or CD-Based installation by its technical staff.


    Thanks a lot.
     
  2. todubiyi

    Joined:
    Jul 4, 2009
    Messages:
    7
    Likes Received:
    0
    Just an update to the message above; when I tried to open the Elastix admin login webpage after the installation, I got the "Apache 2 Test Page" instead.

    Please what do I do from here?

    Thanks
     
  3. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Hi.
    I don't know if I can help you but I will try.

    I think that the elastix installation is not done.

    What do you have into the directory /var/www/html ?

    What's the installation procedure did you use?
    Can you describe it?
     
  4. todubiyi

    Joined:
    Jul 4, 2009
    Messages:
    7
    Likes Received:
    0
    Thank you for your reply.

    I followed the procedure as listed on the Wiki page:

    http://www.elastix.org/index.php?option ... om_centos5

    I copied it here for your perusal:

    # cd /
    # wget http://voxel.dl.sourceforge.net/sourcef ... ar2009.iso
    # mkdir /mnt/elastix-cd
    # mount -o loop /Elastix-1.5.2-stable-i386-bin-31mar2009.iso /mnt/elastix-cd

    As of writing, the Elastix kernel is 2.6.18-92.1.22.el5. You should verify this:

    # ls /mnt/elastix-cd/Elastix/kernel-2.*
    /mnt/elastix-cd/kernel-2.6.18-92.1.22.el5.i686.rpm
    # rpm -ivh --oldpackage /mnt/elastix-cd/Elastix/kernel-2.6.18-92.1.22.el5.i686.rpm

    This should set the elastix kernel as the default in grub but you can check the /etc/grub.conf to be sure.
    Add the elastix CD as a yum repo

    Note: DO NOT create the elastix updates repo because it will conflict with the dependents required by the RPMs in the elastix-cd. This repo will be created automatically upon installation.

    Create a file elastix-cd.repo in /etc/yum.repos.d :

    # nano /etc/yum.repos.d/elastix-cd.repo

    Now paste the follow in:

    [elastix-CD]
    name=Elastix RPM Repository for CentOS CD
    baseurl=file:/mnt/elastix-cd
    gpgcheck=0
    enabled=1

    You will need to remove or disable the elastix-CD repo when you are done as the CD image will not auto mount on boot.
    Install elastix using yum

    It is very important that you
     
  5. todubiyi

    Joined:
    Jul 4, 2009
    Messages:
    7
    Likes Received:
    0
    Sorry I omitted the last question you asked.

    The /var/www/html was empty.
     
  6. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Ok .

    What's going on with this step?:
    # cd /mnt/elastix-cd/Elastix
    # yum -y install asterisk* elastix-* freeze fxload kernel-module-rhino* libmfcr2 lzop perl-HTML- TokeParser-Simple perl-WWW-Mechanize
     
  7. todubiyi

    Joined:
    Jul 4, 2009
    Messages:
    7
    Likes Received:
    0
    I believe after having downloaded the ISO image, it has to be mounted as a CD and them make the system do a yum install from the system without referencing the Elastix repository site.

    What I believe though, and as you have also pointed out, the Elastix is not fully installed.

    Look at the yum -y install command, it only installs few of the files in the mounted Elastix ISO image.

    Like I said in my first mail, I'm not a Linux expert, so I would not know what the correct lines are supposed to be.
     
  8. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Ok.

    To start, you must have a minimum knowledge to install a system like that!
    that must be so hard to know where the problem come. :huh:

    A little idea.

    verify that you have always this result on:
    /etc/yum.repos.d/elastix-cd.repo

    [elastix-CD]
    name=Elastix RPM Repository for CentOS CD
    baseurl=file:/mnt/elastix-cd
    gpgcheck=0
    enabled=1


    If yes, try to install the packages one by one instead :
    yum -y install asterisk* elastix-* freeze fxload kernel-module-rhino* libmfcr2 lzop perl-HTML- TokeParser-Simple perl-WWW-Mechanize

    So make:
    yum -y install asterisk*
    yum -y install elastix-*
    yum -y install ...etc


    And look at the result on each line.

    Maybe you must be careful after elastix-* because this file can be changed /etc/yum.repos.d/elastix-cd.repo.

    Let me know.

    Regards
     
  9. todubiyi

    Joined:
    Jul 4, 2009
    Messages:
    7
    Likes Received:
    0
    danardf,

    I have installed each and every package, but still it doesn't work.

    Also the /var/www/html is still empty.

    What do I do now?
     
  10. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    When you make " yum -y install elastix* " , have you got an error?
     
  11. todubiyi

    Joined:
    Jul 4, 2009
    Messages:
    7
    Likes Received:
    0
    You know there are over 100 .rpm files on that CD while the Elastix* files are just these ones:

    elastix-1.5.2-2.noarch.rpm
    elastix-a2billing-1.3.0-2.noarch.rpm
    elastix-additionals-1.5-2.noarch.rpm
    elastix-asterisk-sounds-1.2.2-2.noarch.rpm
    elastix-mysqldbdata-1.0-3.noarch.rpm
    elastix-sugarcrm-4.5.0d-3.noarch.rpm
    elastix-vtigercrm-5.0.3-5.noarch.rpm

    When I installed the Elastix* files, there was no error.
     
  12. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    One day, I did make install from an old IBM PC (PIII 1Ghz).
    And I had not a new CDROM to accept my CD 90'.
    I did make install with an option boot from: ftp or http server.
    From my server, I had all file from CD Elastix.
    I did choice my directory for the boot and I did use Elastix.

    It's a little story.

    But, also, I did try to make update Elastix 1.2 to 1.3.2, I did copy all RMP from CD to a directory.

    I did modify this file like this:
    /etc/yum.repos.d/elastix-cd.repo

    [elastix-CD]
    name=Elastix RPM Repository for CentOS CD
    baseurl=file:/usr/src/elastix-cd
    gpgcheck=0
    enabled=1

    After, yum update was right.

    It's juste a way, an idea.
     
  13. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Else, can you put your country into your elastix profile, because I can't know where you are, and when I can reply you. :)
     

Share This Page