Was this page helpful?

Install Siremis

    Siremis

    官方網站;http://siremis.asipto.com/

    必要的系統需求

    • Kamailio 4.x
    • Apache 啟用 mod_rewrite
    • PHP5 啟用 GD

    TIPs:

    檢查 apache 已載入模組
    apachectl -t -D DUMP_MODULES

    註:如果沒有 rewrite_module 這項目,依照下述步驟將該模組啟用

    啟用模組 mod_rewrite

    ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/
    service apache2 restart

    安裝 PHP5

    apt-get install php5 php5-mysql php5-gd

    下載安裝 SIREMIS

    下載位址: http://siremis.asipto.com/pub/downloads/siremis/

    cd /usr/src
    wget http://siremis.asipto.com/pub/downloads/siremis/siremis-4.0.0.tgz
    tar xzf siremis-4.0.0.tgz -C /var/www
    

    設定 apache

    cd /var/www/siremis-4.0.0/
    make apache-conf
    
    # siremis apache conf snippet ...
    
            Alias /siremis "/var/www/siremis-4.0.0/siremis"
            <Directory "/var/www/siremis-4.0.0/siremis">
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride All
                    Order allow,deny
                    Allow from all
                    <FilesMatch "\.xml$">
                            Order deny,allow
                            Deny from all
                    </FilesMatch>
                    <FilesMatch "\.inc$">
                            Order deny,allow
                            Deny from all
                    </FilesMatch>
            </Directory>
    

    將以上輸出的內容複製到檔案 /etc/apache2/sites-available/default 的這個區段內

    <VirtualHost *:80>
    ...
    </VirtualHost>

    重啟 apache2

    service apache2 restart

    透過網頁開始安裝

    http://your.server.ip/siremis

    TIPs:

    如果想要修改目錄別名 siremis,可以修改 Makefile 的 URLBASE

    建立 htaccess

    #cd /var/www/siremis-4.0.0
    #make prepare
    updating htaccess file...
    updating app.inc file...
    creating folders...
    done
    
    #make chown
    

    確認以下目錄可以被 apache 寫入

    siremis/log
    siremis/session
    siremis/files
    siremis/themes/default/template/cpl

    重啟 apache2

    建立 DB user

    mysql> GRANT ALL PRIVILEGES ON siremis.* TO [email protected] IDENTIFIED BY 'siremisrw';
    

    開始網頁安裝

    • Setup Now
    • System Check
    • Database Configuration
      • Siremis DB type = MySQL
      • Siremis DB HostName = localhost
      • Siremis DB Port = 3306
      • Siremis DB Name = siremis
      • Siremis DB Username = siremis
      • Siremis DB Password = <db_pass>
      • SIP DB type = MySQL
      • SIP DB HostName = localhost
      • SIP DB Port = 3306
      • SIP DB Name = kamailio
      • SIP DB Username = kamailio
      • SIP DB Password = <db_pass>
      • 全部勾選
        Create Siremis Database - this create database 'siremis'
        Import Default Data - this imports initial data into database 'siremis'
        Update SIP Database - this updates the structure of Kamailio database for accounting and charts modules
        Replace DB Config - this updates Siremis configuration file with the details to access databases
    Was this page helpful?
    標籤 (Edit tags)
    • No tags
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core