准备工作
准备一台云服务器,没有的小伙伴可以去撸谷歌云300刀
我这里是Ubuntu18.04
clone coturn代码
git clone https://github.com/coturn/coturn.git
不懂git的请自行百度
编译coturn
cd coturn
./configure --prefix=/usr/local/coturn
编译后的文件目录为/usr/local/coturn
错误1
install is /usr/bin/install
pkill is /usr/bin/pkill
sqlite3 is /usr/bin/sqlite3
Use TMP dir /var/tmp
Compiler: cc
Library option -lsocket cannot be used
Library option -lrt cannot be used
Library option -lwldap32 cannot be used
Library option -lwldap64 cannot be used
Library option -lintl cannot be used
Library option -lnsl cannot be used
Sockets code is fine: si