- 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
推薦閱讀
- WS/BPEL 2.0 for SOA Composite Applications with IBM WebSphere 7
- Excel函數(shù)、公式、圖表、數(shù)據(jù)處理從新手到高手
- Spring Security 3
- Android從入門到精通
- Photoshop CS6實戰(zhàn)從入門到精通(超值版)
- 中文版Photoshop CC平面設(shè)計實用教程
- JBoss Tools 3 Developers Guide
- ASP.NET Core 3從入門到實戰(zhàn)
- Scribus 1.3.5: Beginner's Guide
- 蝶變:移動用戶體驗設(shè)計之道
- 魔法詞典:AI繪畫關(guān)鍵詞圖鑒(Midjourney版)
- SketchUP草圖繪制從新手到高手
- Adobe Flash 11 Stage3D (Molehill) Game Programming Beginner's Guide
- 會聲會影X8 DV影片制作/編輯/刻盤實戰(zhàn)從入門到精通
- Microsoft SQL Server 2008 High Availability