- 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
推薦閱讀
- Enhancing Microsoft Content Management Server with ASP.NET 2.0
- 基于元胞自動機的城市路網交通流建模與仿真
- Blender 3D Architecture, Buildings, and Scenery
- Procreate+ SketchUp +Photoshop建筑設計手繪表現技法
- AI短視頻生成與剪輯實戰108招:ChatGPT+剪映
- NHibernate 3.0 Cookbook
- After Effects影視特效立體化教程:After Effects 2021(微課版)
- Photoshop CS6完美創意設計:不一樣的圖像藝術處理
- 三維建模與3D打印從入門到精通
- Photoshop CC2017圖像處理實例教程
- 數碼攝影后期密碼Photoshop CC調色秘籍(第2版)
- 蝶變:移動用戶體驗設計之道
- Excel 2010 Financials Cookbook
- 中文版UG NX 7.0基礎教程
- 用Studio One輕松制作你的短視頻音樂