• Freeswitch 各版本一键安装脚本 Freeswitch 快速安装 G729编解码库


    最近有时间整理,写了freeswitch的一键安装包分享一下,里面带有 mysql=0 是否选择安装mysql。

    其他提示:脚本里面集成了安装g729脚本,支持录音、转码的bcg729脚本。

    1、下载脚本

    wget http://www.highswitch.com/install_freeswitch_choice.sh

    2、执行命令
    sh install_freeswitch_choice.sh  mysql=0  freeswitch=1 version=1.4/1.5/1.6/1.7

    3、命令解释

    该命令需要3个参数:

    参数1 : mysql=1/0 1代表本机安装mysql数据库,0代表不安装;

    参数2:freeswitch=1/0  1代表本机安装freeswitch ,0代表不安装;

    参数3:代表您需要安装的freeswitch版本是1.4、1.5、1.6或者是1.7

    例如:

    不安装mysql,仅仅安装 1.4版本的Freeswitch

    sh install_freeswitch_choice.sh  mysql=0 freeswitch=1 version=1.4

    安装mysql ,且安装1.6版本的Freeswitch

    sh install_freeswitch_choice.sh  mysql=1 freeswitch=1 version=1.6

    正常的编译安装过程时间在12到20分钟左右,视服务器的性能而定。


    在Centos 6.x Centos 7.x环境测试可以用,如果你的系统也是这个版本推荐使用。

    Centos 5.x 系统暂时不支持,测试过程中很费劲的安装各种坏境依赖,升级系统自带库的版本才可以运行起来。


    [root@localhost ~]# fs_cli -x "version"
    FreeSWITCH Version 1.5.8~64bit ( 64bit)

    [root@localhost ~]# fs_cli -x "status"
    UP 0 years, 0 days, 0 hours, 5 minutes, 25 seconds, 838 milliseconds, 898 microseconds
    FreeSWITCH (Version 1.5.8  64bit) is ready
    0 session(s) since startup
    0 session(s) - peak 0, last 5min 0 
    0 session(s) per Sec out of max 30, peak 0, last 5min 0 
    1000 session(s) max
    min idle cpu 0.00/98.00
    Current Stack Size/Max 240K/8192K

    Enjoy it!

    转载请保持本文连接。

    highswitch 快速安装

    http://blog.csdn.net/gredn/article/details/75393207
    ---------------------
    作者:qzlink
    来源:CSDN
    原文:https://blog.csdn.net/gredn/article/details/75393207
    版权声明:本文为博主原创文章,转载请附上博文链接!

  • 相关阅读:
    final详解
    静态与非静态
    静态内部类详解
    iso-----genisoimage/md5sum命令用法
    Docker-----版本选择
    Docker-----deepin系统下docker安装registry
    shell高级-----正则表达式
    kolla-ansible-----rally模块
    shell高级-----创建函数
    jenkins入门-----(1)安装、配置
  • 原文地址:https://www.cnblogs.com/allen-zhang/p/10728893.html
Copyright © 2020-2023  润新知