1. 获取代码
git clone https://github.com/coturn/coturn.git
2. 配置:
./configure --prefix=/opt/coturn
遇到的问题:
ERROR: OpenSSL Crypto development libraries are not installed properly in required location.
解决: sudo apt-get install libssl-dev
ERROR: Libevent2 development libraries are not installed properly in required location.
解决:sudo apt-get install libevent-dev
3. 编译:
make
4. 安装:
sudo make install
export PATH=$PATH:/opt/coturn/bin
ps:
删除安装文件:sudo make deinstall
清除配置和编译:make clean