- Building Telephony Systems with OpenSER
- Flavio E. Goncalves
- 216字
- 2021-07-02 11:38:36
Downloading and Installing OpenSER v1.2
Even though it is easier to install the OpenSER using the Debian packages we will go through the compilation process. It is more flexible and we may need to recompile OpenSER a few times in this material to include other modules. The installation process step by step follows:
Step 1: Install the dependencies.
apt-get install gcc bison flex make openssl libmysqlclient-dev libradiusclient-ng2 libradiusclient-ng-dev mysql-server
Step 2: Download the source package and decompress it.
cd /usr/src wget http://www.openser.org/pub/openser/1.2.2/src/openser-1.2.2-tls_src.tar.gz tar -xzvf openser-1.2.2-tls_src.tar.gz
Step 3: Use your favorite Linux editor to edit the Makefile
Remove from the "exclude_modules?=" line the mysql
and any radius
-related modules. This will make the compilation process include MySQL and RADIUS.
cd /usr/src/openser-1.2.2-tls/ vi Makefile
File before making changes:
exclude_modules?= jabber cpl-c mysql pa postgres osp unixodbc \ avp_radius auth_radius\ group_radius uri_radius xmpp \ presence pua pua_mi pua_usrloc \ mi_xmlrpc perl snmpstats
File after making changes:
exclude_modules?= jabber cpl-c pa postgres osp unixodbc \ xmpp \ presence pua pua_mi pua_usrloc \ mi_xmlrpc perl snmpstats
Step 4: Compile and install the core and modules.
cd openser-1.2.2-tls make prefix=/ all make prefix=/ install
Step 5: Make the required adjustments:
mkdir /var/run/openser
推薦閱讀
- Beginning Swift
- AJAX and PHP: Building Modern Web Applications 2nd Edition
- 中文版Maya 2012實(shí)用教程(第2版)
- Excel 數(shù)據(jù)處理與分析實(shí)例教程(第2版)
- Microsoft SharePoint 2010 Administration Cookbook
- AIGC輔助數(shù)據(jù)分析與挖掘:基于ChatGPT的方法與實(shí)踐
- 中文版3ds Max 2021完全自學(xué)教程
- Premiere Pro影視后期編輯:短視頻制作實(shí)戰(zhàn)寶典
- 用Cubase輕松制作你的短視頻音樂
- 中文版Dreamweaver基礎(chǔ)培訓(xùn)教程
- Photoshop CS6中文版基礎(chǔ)與實(shí)例教程(第6版)
- 中文版Illustrator 2020基礎(chǔ)教程
- SolidWorks 2020中文版從入門到精通
- Cinema 4D基礎(chǔ)培訓(xùn)教材
- Photoshop后期強(qiáng):多重曝光專業(yè)技法寶典