OBI流播放器

1.备份/etc/yum.repos.d/CentOS-Base.repo

cd /usr/local 
mv /etc/yum.repos.d/CentOS-Base.repo  /etc/yum.repos.d/CentOS-Base.repo.backup

2.换源

wget -O  /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

3.安装插件模块

yum install git gcc make pcre-devel openssl-devel

4.获取nginx-rtmp-module.git模块

git clone git://github.com/arut/nginx-rtmp-module.git

5.下载安装nginx

wget http://nginx.org/download/nginx-1.15.0.tar.gz

6.解压nginx

tar xf nginx-1.15.0.tar.gz

7.切换到/usr/local/nginx_1.15.0

cd /usr/local/nginx-1.15.0

8.添加执行模块

./configure --with-http_ssl_module --add-module=../nginx-rtmp-module

9.编译安装

make & make install

10.启动nginx

/usr/local/nginx/sbin/nginx

你可能感兴趣的:(OBI流播放器)