一,首先下载安装nginx需要依赖的库文件: 1.1,选定源码目录 选定目录 /usr/local/RTMP cd /usr/local/RTMP 1.2,安装PCRE库 cd /usr/local/RTMP 到www.pcre.org 下载pcre-8.37.tar.gz , 然后拷贝到/usr/local/HLS tar -zxvf pcre-8.37.tar.gz cd pcre-8.37 ./configure make make install 1.3,安装zlib库 cd /usr/