siremis:install:main

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

siremis:install:main [2010/10/31 13:58] (current)
Line 1: Line 1:
 +====== Siremis v1.x - Installation ======
  
 +<​code>​
 +Author:
 +    Elena-Ramona Modroiu
 +</​code>​
 +
 +===== Requirements =====
 +
 +  * [[http://​www.kamailio.org|Kamailio (OpenSER) 3.0.0]] installed. There is a patch in misc directory to make latest SIREMIS work with older OpenSER (Kamailio) 1.5.x – that should work as well with Kamailio (OpenSER) 1.4.x for the database tables that had no structure change in 1.5.x.
 +  * Web server (e.g., Apache)
 +  * PHP5 with MySQL support
 +
 +===== Download =====
 +
 +Latest version of SIREMIS 1.x is available at:
 +
 +  * http://​siremis.asipto.com/​pub/​downloads/​siremis/​
 +  * it includes everything, so you do not need to download something extra
 +
 +Untar the archive on the local file system (e.g., in your web server root folder):
 +
 +  * cd /var/www
 +  * tar xvfz siremis-x.y.z.tgz
 +
 +===== Web Server =====
 +
 +Set the web URL alias to SIREMIS-WEB folder:
 +
 +  * edit web server config (for Apache2: /​etc/​apache2/​sites-available/​default)
 +  * add something like:
 +
 +    Alias /siremis/ "/​var/​www/​siremis-x.y.z/​siremis-web/"​
 +    <​Directory "/​var/​www/​siremis-x.y.z/​siremis-web/">​
 +        Options Indexes FollowSymLinks MultiViews
 +        AllowOverride All
 +        Order allow,deny
 +        Allow from all
 +        RedirectMatch ^/siremis/$ /​siremis/​bin/​
 +        <Files ~ "​\.inc$">​
 +            Order allow,deny
 +            Deny from all
 +        </​Files>​
 +    </​Directory>​
 +
 +  * Note that siremis-web contains symbolic links to folders in siremis directory – be sure you keep it this way if you copy/move siremis intallation.
 +  * Following directories must have write permission for web server: siremis/​log,​ siremis/​session,​ siremis/​files and siremis/​templates/​cpl.
 +  * Restart the web server
 +
 +===== MySQL =====
 +
 +Set the connection to MySQL:
 +
 +  * edit file siremis/​metadata/​Config.xml and set MySQL server address, username, password and Kamailio (OpenSER) database name.
 +
 +Create user access table:
 +
 +  * create a new table in Kamailio (OpenSER) database name ob_users:
 +<code sql>
 +    CREATE TABLE `ob_users` (
 +        `SYSID` int(11) NOT NULL auto_increment,​
 +        `USERID` varchar(15) NOT NULL,
 +        `PASSWORD` varchar(15) default NULL,
 +        PRIMARY KEY  (`SYSID`)
 +    );
 +</​code>​
 +  * add an user using mySQL command
 +<code sql>
 +    insert into ob_users(USERID,​ PASSWORD) values (‘admin’,​ ‘admin’);​
 +</​code>​
 +
 +
 +
 +===== Web Page =====
 +
 +Access the web page:
 +<​code>​
 +    http://​yourserver.com/​siremis/​
 +    Enter username and password to log in
 +</​code>​
 +
 +===== Accounting Pannel =====
 +
 +If you want Accounting Services follow instructions at [[siremis:​install:​accounting|Install Accounting]]
 +
 +
 +===== Commands Pannel =====
 +
 +  * if you want MI Commands Panel follow instructions at: [[siremis:​install:​mi-commands|Install MI Commands Panel]]
 +  * for XMLRPC Commands Panel you must install pear package XML_RPC
 +         <​note>​See:​ siremis/​metadata/​service/​siremisXRCommands.xml</​note> ​
 +
 +  * for FreeSwitch event socket communication
 +         <​note>​See:​ siremis/​metadata/​service/​siremisFSCommands.xml</​note>​
 +         
 +===== Charts Panel =====
 +
 +  * if you want Charts Panel follow instructions at: [[siremis:​install:​charts|Install Charts Panel]]
 +
 +
 +===== Upgrade =====
 +
 +Quick upgrade:
 +
 +  * if you haven’t used MI commands or Charts, then you can simply replace the current installation directory with the new version and set the database connection details in //​**metadata/​Config.xml**//​.
 +
 +Upgrade guidelines:
 +
 +  * make a backup of current Siremis installation directory
 +  * replace old installation directory with the new one extracted from tarball
 +  * then update //​**metadata/​Config.xml**//​ (see above) with database connection details (you can copy the file from previous installation)
 +  * restore services cofiguration
 +          * go to siremis/​metadata/​service/​
 +          * update copy from same folder of previous Siremis installation directory the files siremisMICommands.xml and siremisCharts.xml
 +
 +
 +**//Enjoy! We appreciate your feedback!//​** ​
 +
 +{{tag>​kamailio siremis}}


Copyright 2010-2020 Asipto.com