安装
[yum/apt-get] install wget perl ntp ntpdate vim
对时
ntpdate 0.cn.pool.ntp.org
下载srs
wget --no-check-certificate -c https://github.com/ossrs/srs/archive/v2.0-r5.tar.gz
tar xzvf v2.0-r5.tar.gz
cd srs-2.0-r5/trunk
./configure && make && make install
srs主配置
配置文件在 /usr/local/srs/conf/srs.conf
# main config for srs.
# @see full.conf for detail config.
listen 16635;
max_connections