This shows you the differences between two versions of the page.
| — | siremis:install:main [2010/10/31 12:58] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Siremis v1.x - Installation ====== | ||
| + | < | ||
| + | Author: | ||
| + | Elena-Ramona Modroiu | ||
| + | </ | ||
| + | |||
| + | ===== Requirements ===== | ||
| + | |||
| + | * [[http:// | ||
| + | * Web server (e.g., Apache) | ||
| + | * PHP5 with MySQL support | ||
| + | |||
| + | ===== Download ===== | ||
| + | |||
| + | Latest version of SIREMIS 1.x is available at: | ||
| + | |||
| + | * http:// | ||
| + | * 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: / | ||
| + | * add something like: | ||
| + | |||
| + | Alias /siremis/ "/ | ||
| + | < | ||
| + | Options Indexes FollowSymLinks MultiViews | ||
| + | AllowOverride All | ||
| + | Order allow,deny | ||
| + | Allow from all | ||
| + | RedirectMatch ^/siremis/$ / | ||
| + | <Files ~ " | ||
| + | Order allow,deny | ||
| + | Deny from all | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | * 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/ | ||
| + | * Restart the web server | ||
| + | |||
| + | ===== MySQL ===== | ||
| + | |||
| + | Set the connection to MySQL: | ||
| + | |||
| + | * edit file siremis/ | ||
| + | |||
| + | 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`) | ||
| + | ); | ||
| + | </ | ||
| + | * add an user using mySQL command | ||
| + | <code sql> | ||
| + | insert into ob_users(USERID, | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ===== Web Page ===== | ||
| + | |||
| + | Access the web page: | ||
| + | < | ||
| + | http:// | ||
| + | Enter username and password to log in | ||
| + | </ | ||
| + | |||
| + | ===== Accounting Pannel ===== | ||
| + | |||
| + | If you want Accounting Services follow instructions at [[siremis: | ||
| + | |||
| + | |||
| + | ===== Commands Pannel ===== | ||
| + | |||
| + | * if you want MI Commands Panel follow instructions at: [[siremis: | ||
| + | * for XMLRPC Commands Panel you must install pear package XML_RPC | ||
| + | < | ||
| + | |||
| + | * for FreeSwitch event socket communication | ||
| + | < | ||
| + | |||
| + | ===== Charts Panel ===== | ||
| + | |||
| + | * if you want Charts Panel follow instructions at: [[siremis: | ||
| + | |||
| + | |||
| + | ===== 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 // | ||
| + | |||
| + | Upgrade guidelines: | ||
| + | |||
| + | * make a backup of current Siremis installation directory | ||
| + | * replace old installation directory with the new one extracted from tarball | ||
| + | * then update // | ||
| + | * restore services cofiguration | ||
| + | * go to siremis/ | ||
| + | * update copy from same folder of previous Siremis installation directory the files siremisMICommands.xml and siremisCharts.xml | ||
| + | |||
| + | |||
| + | **//Enjoy! We appreciate your feedback!// | ||
| + | |||
| + | {{tag> | ||