环境:ubuntu16.04
apt-get install -y libssl-dev libevent-dev
wget http://coturn.net/turnserver/v4.5.0.7/turnserver-4.5.0.7.tar.gz
tar xfz turnserver-4.5.0.7.tar.gz
cd turnserver-4.5.0.7
./configure
make && make install
#启动
nohup turnserver -L 0.0.0.0 --min-port 30000 --max-port 60000 -a -u zhangpeng:123456 -v -f -r nort.gov &