- Building Telephony Systems with OpenSER
- Flavio E. Goncalves
- 153字
- 2021-07-02 11:38:36
Lab—Running OpenSER at the Linux Boot
Step 1: Include openSER in the linux boot.
cd /usr/src/openser-1.2.2-tls/packaging/debian cp openser.default /etc/default/openser cp openser.init /etc/init.d/openser update-rc.d openser defaults 99
Step 2: Edit the /etc/openser/openser.cfg
file and remove the line fork=no
(even if it has C-style remarks). The init script looks for the instruction fork=no
, even if commented.
Step 3: Make sure that the script openser.init
has the necessary permissions
cd /etc/init.d chmod 755 openser
Step 4: Edit /etc/default/openser.cfg
, change the memory parameter to 128MB and the RUN_OPENSER to yes.
Step 5: Edit the init script to make sure that the daemon is pointing to the right directory:
vi /etc/init.d/openser
File before making changes:
DAEMON=/usr/sbin/openser
File after making changes:
DAEMON=/sbin/openser
Step 6: Restart the computer to see if OpenSER starts. Confirm using:
ps-ef |grep openser.
推薦閱讀
- Moodle 2.0 E/Learning Course Development
- After Effects CC影視后期制作實(shí)戰(zhàn)從入門到精通
- Sphinx Search Beginner's Guide
- Sencha Touch Cookbook, Second Edition
- Illustrator CS6核心應(yīng)用案例教程(全彩慕課版)
- Talend Open Studio Cookbook
- 中文版3ds Max 2016實(shí)用教程
- Photoshop網(wǎng)店圖片處理實(shí)訓(xùn)教程
- OpenCart 1.4 Template Design Cookbook
- PostgreSQL 9.0 High Performance
- Elasticsearch數(shù)據(jù)搜索與分析實(shí)戰(zhàn)
- ASP.NET Core 3從入門到實(shí)戰(zhàn)
- 剪映+Vlog+Premiere短視頻制作從新手到高手
- 從零開始:Indesign CC 2019設(shè)計(jì)基礎(chǔ)+商業(yè)設(shè)計(jì)實(shí)戰(zhàn)
- 和秋葉一起學(xué):秒懂Photoshop后期修圖