rtmp服务器创建和设置
1,安装ubuntu 16.4 依赖 sudo apt-get update sudo apt-get install build-essential zlib1g-dev libpcre3 libpcre3-dev libssl-dev libxslt1-dev libxml2-dev libgd2-xpm-dev libgeoip-dev libgoogle-perftools-dev libperl-dev libtool libpcrecpp0v5 openssl -y 2,安装nginx1.14.2 2.1 下载软件 wget http://nginx.org/download/nginx-1.14.2.tar.gz 2.2 解压软件到当前目录 tar xvf nginx-1.14.2.tar.gz 3,下载nginx-rtmp-module git clone https://github.com/adwpc/nginx-rtmp-module.git 4,配置nginx ./configure --sbin-path=/usr/local/nginx/nginx \ --prefix=/usr/local/nginx \ --conf-path=/usr/local/nginx/nginx.conf \ --pid-path=/usr/local