1. 安装
a. 环境选择,linux
[root@200 software]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[root@200 software]# gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@200 nginx-1.16]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.205 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::9435:12c3:18b9:534e prefixlen 64 scopeid 0x20<link>
b. 下载 nginx
登录官方网站 nginx.org 下载
下载stable版本,我们以 2019-08-13 nginx-1.16.1为例
[root@200 software]# wget http://nginx.org/download/nginx-1.16.1.tar.gz
c. 下载 nginx-rmp 模块
登录官方网站 https://github.com/arut/nginx-rtmp-mo