安装FreeSWITCH & fusionpbx
来源:互联网 发布:is私聊器软件isqt8 编辑:程序博客网 时间:2024/05/21 21:48
安装
1.yum 安装FreeSWITCH
yum -y updateyum install -y http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm epel-releaseyum install -y freeswitch-config-vanilla freeswitch-lang-* freeswitch-sounds-*systemctl enable freeswitchps -ef | grep freeswitchfreeswitch -ncfs_cli
2.安装fusionpbx
cd /var/www/htmlgit clone https://github.com/powerpbx/fusionpbx.git
3.安装apache
rpm -qa httpdyum install httpd -ychkconfig httpd onservice httpd startvi /etc/httpd/conf/httpd.conf ...service httpd restartsed -i s/\(^SELINUX=\).*/\SELINUX=disabled/ /etc/selinux/config
4.Apache config
usermod -a -G apache freeswitchsed -i "s/User apache/User freeswitch/" /etc/httpd/conf/httpd.confsed -i "s/Group apache/Group daemon/" /etc/httpd/conf/httpd.confsed -i :a;N;$!ba;s/AllowOverride None/AllowOverride All/2 /etc/httpd/conf/httpd.conf
5.set permissions
chown -R freeswitch.daemon /etc/freeswitch /var/lib/freeswitch /var/log/freeswitch /usr/share/freeswitch /var/www/html/fusionpbxfind /etc/freeswitch -type d -exec chmod 770 {} \;find /var/lib/freeswitch -type d -exec chmod 770 {} \;find /var/log/freeswitch -type d -exec chmod 770 {} \;find /usr/share/freeswitch -type d -exec chmod 770 {} \;find /var/www/html/fusionpbx -type d -exec chmod 770 {} \;find /etc/freeswitch -type f -exec chmod 664 {} \;find /var/lib/freeswitch -type f -exec chmod 664 {} \;find /var/log/freeswitch -type f -exec chmod 664 {} \;find /usr/share/freeswitch -type f -exec chmod 664 {} \;find /var/www/html/fusionpbx -type f -exec chmod 664 {} \;
6.Systemd config
vi /etc/systemd/system/freeswitch.service [Unit] Description=FreeSWITCH Wants=network-online.target After=syslog.target network.target network-online.target After=mariadb.service httpd.service [Service] Type=forking User=freeswitch WorkingDirectory=/run/freeswitch PIDFile=/run/freeswitch/freeswitch.pid EnvironmentFile=-/etc/sysconfig/freeswitch ExecStart=/usr/bin/freeswitch -ncwait -nonat $FREESWITCH_PARAMS ExecReload=/usr/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.targetvim /etc/tmpfiles.d/freeswitch.conf d /run/freeswitch 0750 freeswitch daemon -vi /etc/sysconfig/freeswitch ## Type: string ## Default: "" ## Config: "" ## ServiceRestart: freeswitch # # if not empty: parameters for freeswitch # FREESWITCH_PARAMS=""
7.Enable services
systemctl daemon-reloadsystemctl enable httpdsystemctl enable freeswitchvi /etc/freeswitch/autoload_configs/event_socket.conf.xml <param name="listen-ip" value="127.0.0.1"/>
8.安装php
yum install php php-develyum install php-pgsqlyum install php-pdoservice httpd restart
9.关闭防火墙
systemctl stop firewalld.service
10.重新启动
systemctl restart freeswitch
反馈与建议
- CSDN:@张永光
- github:@张永光
- 邮箱:zyg5467@gmail.com
0 0
- 安装FreeSWITCH & fusionpbx
- ubuntu12.04安装freeSWITCH及fusionPBX
- 安装fusionPBX
- freeswitch 和 fusionPBX release addr
- linux下的Freeswitch,fusionpbx,以及对JAVA的ESL接口安装文档
- centos下安装部署fusionPBX
- Raspberry Pi上源码安装FusionPBX
- https://www.powerpbx.org/content/fusionpbx-v4-freeswitch-v16-centos-v7-install-guide-v1.1
- FreeSwitch:一、windows8.1安装FreeSwitch服务器
- FreeSwitch学习之一:FreeSwitch源码安装
- Centos7源代码安装freeswitch和启动freeswitch
- Centos7源代码安装freeswitch和启动freeswitch
- freeswitch 安装 配置mysql
- centOS6.5安装FreeSwitch
- freeswitch centos 安装
- freeswitch centos 安装
- centos6.3安装freeswitch
- FreeSwitch安装配置记录
- 杭电OJ 2005.第几天?
- software project management
- Linux常用命令
- lower_bound函数
- TextView设置html标签内容
- 安装FreeSWITCH & fusionpbx
- SQL中sp_rename语句更改表名
- java.lang.IllegalArgumentException: Can't convert argument: null
- 浅谈Activiti Modeler 的扩展
- ios -- 拉动view头像背景变大效果
- 浅谈常用的几种web攻击方式
- PHP安装kafka扩展
- 使用vm安装Linux遇到的问题
- leetcode_1--easy--汉明距离