赞
踩
在阿里云上的Linux服务器上搭建turn服务
需要可以登录Linux服务器的软件
eg:MobaXterm
1.下载安装
- git clone https://github.com/coturn/coturn //下载
- cd coturn
- ./configure
- make
- sudo make install
使用以下代码查看是否安装成功
which turnserver
有路径代表成功了
2.配置文件
在 /etc 或者 /usr/local/etc 找到turnserver.conf文件,修改文件
vi turnserver.conf
输入上面代码就进入了文件
修改配置文件如下(user和realm可自定义)
- verbose
- fingerprint
- lt-cred-mech
- realm=aaa
- user=aaa:123456 //用户名:密码
- stale-nonce
- no-loopback-peers
- no-multicast-peers
- mobility
- no-cli
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。