OpenSIPS Console (osipsconsole) installation
来源:互联网 发布:java asinstanceof 编辑:程序博客网 时间:2024/05/24 06:37
OpenSIPS Console (osipsconsole) installation
osipsconsole is a console like utility for provisioning OpenSIPS. It is to replace opensipsctl and opensipsdbctl.
osipsconsole is available only starting with OpenSIPS version 1.5.0 .
2.1 Perl requirements
For the osipsconsole tool the following perl modules are needed:
- DBI
- DBD::mysql
- DBD::Pg
- DBD::Oracle
- BerkeleyDB
- Frontier::RPC2
2.2 Debian/Ubuntu Installation
In order for the script to work, there are listed bellow the modules needed and their debian package correspondent, a brief description of each package and whether it is mandatory to install it or not. ( To be mentioned the fact that these packages have been tested in Debian and Ubuntu distros. )
Install these packages using apt-get:
apt-get install perl libdbi-perl libdbd-mysql-perl libdbd-pg-perl libfrontier-rpc-perl libterm-readline-gnu-perl libberkeleydb-perl
NOTE: * at the user's choice. At least one of the packages is mandatory, depending on the DB type used by OpenSIPS. The other ones have no need of being installed.
- Download the .tar.gz archive from: http://search.cpan.org/~pythian/DBD-Oracle-1.22/Oracle.pm
- Decompress and unpack it
- cd DBD-Oracle-1.22
- perl Makefile.PL
- make
- make test
- make install
Creating your own Debian packages for CPAN libriaries
As many Debian users probably don't really like to install modules the CPANway, here how to achieve the desired effect following "the Debian way":
apt-get install dh-make-perl
Usually running
dh-make-perl --build --cpan DBD-Whatever
should be enough. For CPAN libraries where this doesn't work please try as follows:
wget http://search.cpan.org/CPAN/.../DBD-Whatever-1.0.tar.gztar xfz DBD-Whatever-1.0.tar.gzdh-make-perl DBD-Whatever-1.0/cd DBD-Whatever-1.0
Adjust files in the newly created debian folder to fit your needs (if required) and build the package using dpkg-buildpackage, debuild or whatever you prefer.
cd ..
Here is your new libdbd-whatever-perl_1.0-1_all.deb :-) One last suggestion: I'm usually not building packages on my live systems but elsewhere. This helps keeping productional systems slim and "clean".
- OpenSIPS Console (osipsconsole) installation
- struts console's installation
- Opensips
- opensips
- opensips
- opensips配置
- OpenSIPS 研究
- opensips.cfg
- opensips tutorial
- OpenSIPS + RTPProxy
- opensips安装
- opensips简介
- OpenSIPS + RTPProxy
- opensips介绍
- opensips函数
- opensips安装
- opensips数据库
- OpenSIPS 下载
- 探索推荐引擎内部的秘密,第 3 部分: 深入推荐引擎相关算法 - 聚类
- 删除MSHFlexGrid中指定行数据,包括数据库里面的数据
- MTK代码里SetLeftSoftkeyFunction和SetKeyHandler区别
- 如何去掉DedeCMS评论中的手形和表情图片
- oracle和sqlserver sql结果中添加序号列
- OpenSIPS Console (osipsconsole) installation
- ECC算法的详细说明
- ASIHTTPRequest 详解, http 请求终结者
- 天气预报webservice源码
- 用js更换js引入谁会
- Crypto++网摘
- 好东西呀好东西,flash的滚轮事件不影响页面滚动
- J2EE三大框架配置文件管理示例
- 视频编码与封装格式