centos 7 安装 coturn打包成IOS文件
- 前置:VMware安装centos7 系统
安装coturn
- 安装 git
yum -y install git
- 安装coturn
git clone https://github.com/coturn/coturn.git #下载文件到服务器 尽量使用代理
cd coturn
./configure
3 运行configure 文件 问题
- 异常信息:ERROR: failed to a find working C compiler
yum install gcc-c++
- 异常信息: ERROR: OpenSSL Crypto development libraries are not installed properly in required location.
yum install openssl
yum install openssl-devel
-异常信息: ERROR: Libevent2 development libraries are not installed properly in required location. ERROR: may be you have just too old libevent tool - then you have to upgrade it.
yum install libevent-devel
4 在运行 ./configure,出现 Makefile created: success. 表示创建成功。
5 编译安装
make # 编译
make install # 安装
6 创建配置文件 /usr/local/etc/turnserver.conf
7 启动
cd /usr/local/coturn/bin
./turnserver -c /usr/local/etc/turnserver.conf
8 测试是否成功
- 关闭防火墙
systemctl status firewalld.service #查看防火墙状态
systemctl stop firewalld.service # 关闭防火墙
- 通过网站测试(推荐使用火狐浏览器) webrtc.github.io/samples/src…
Linux制作ISO镜像文件
cd /etc/yum.repos.d
wget ftp://ftp.mondorescue.org/centos/7/x86_64/mondorescue.repo
vi mondorescure.repo #将 gpgcheck=1 改成 gpgcheck=0
yum -y install mondo