Install Elastix 4 on CentOS(VPS)

    內容表格
    1. 1. 系統環境
    2. 2. 安裝開始

    版本為 12:52, 20 Nov 2024

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    系統環境

    • Cloud At Cost
    • CentOS 7.0 (3.10.0-123.el7.x86_64)
    • Elastix 4.0.74-Stable

    安裝開始

    #> wget --no-check-certificate https://sourceforge.net/projects/elastix/files/Elastix%20PBX%20Appliance%20Software/4.0.0/Elastix-4.0.74-Stable-x86_64-bin-10Feb2016.iso/download -O Elastix-4.0.74-Stable-x86_64-bin-10Feb2016.iso
    #> mkdir /mnt/ISO
    #> mount -o loop Elastix-4.0.74-Stable-x86_64-bin-10Feb2016.iso /mnt/ISO/
    
    #> sed -i 's/SELINUX=.*$/SELINUX=disabled/' /etc/selinux/config
    #> setenforce 0
    #> vi /etc/yum.repos.d/Elastix-cd.repo
    
    [elastix-cd]
    name=Elastix RPM Repository for CentOS
    baseurl=file:///mnt/ISO
    gpgcheck=0
    enabled=1
    
    #> wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    #> rpm -ivh epel-release-latest-7.noarch.rpm
    
    #> cd /mnt/ISO/Elastix
    #> yum --nogpgcheck --disablerepo=\* --enablerepo=epel,elastix-cd localinstall kernel-3.10.0-229.14.1.el7.x86_64.rpm kernel-devel-3.10.0-229.14.1.el7.x86_64.rpm
    
    #> reboot
    
    #> mount -o loop Elastix-4.0.74-Stable-x86_64-bin-10Feb2016.iso /mnt/ISO/
    #> sed -n '/%packages/,/%end/p' /mnt/ISO/ks/anaconda-ks.cfg | sed '/^%/d' > elastix4-packages.lst
    
    #> yum -y --nogpgcheck --disablerepo=\* --enablerepo=epel,elastix-cd install $(cat elastix4-packages.lst | grep -v "^elastix\|RoundCubeMail\|freePBX\|lcdelastix\|wanpipe\|dahdi\|rhino" ) | tee yum-install-1st.log
    
    #> yum -y --nogpgcheck --disablerepo=\* --enablerepo=epel,elastix-cd install $(cat elastix4-packages.lst | grep "^elastix\|RoundCubeMail\|freePBX\|lcdelastix" ) |
    tee yum-install-2nd.log
    
    #> systemctl enable mariadb
    #> systemctl enable httpd
    
    #> reboot
    
    #> /usr/bin/elastix-admin-passwords --init
    
    #> reboot
    Powered by MindTouch Core