An open API service indexing awesome lists of open source software.

https://github.com/winshining/nginx-http-flv-module-packages

Some rpm packages for nginx-http-flv-module.
https://github.com/winshining/nginx-http-flv-module-packages

gop-cache http-flv live-streaming nginx-http-flv nginx-rtmp rtmp vhosts

Last synced: over 1 year ago
JSON representation

Some rpm packages for nginx-http-flv-module.

Awesome Lists containing this project

README

          

# nginx-http-flv-module-packages
一些[nginx-http-flv-module](https://github.com/winshining/nginx-http-flv-module)的rpm安装包。

[English README](https://github.com/winshining/nginx-http-flv-module-packages/blob/master/README.md)。

[nginx-http-flv-module](https://github.com/winshining/nginx-http-flv-module)在这个工程中被编译为动态模块,现在只有Red Hat Enterprise Linux 6和7(CentOS 6和7)的安装包可用,并且**只支持x86_64架构**。

# 依赖

* 在Red Hat Enterprise Linux 6(CentOS 6)上安装的**1.10.2**版本或者Red Hat Enterprise Linux 7(CentOS 7)上安装的**1.12.2**版本,上述的[Nginx](http://nginx.org)**通过yum安装**。

# 安装

rpm -ivh nginx-http-flv-module-version-release.arch.rpm

例如,在Red Hat Enterprise Linux 6(CentOS 6)上,你可以通过下面的命令安装[nginx-http-flv-module](https://github.com/winshining/nginx-http-flv-module):

rpm -ivh nginx-http-flv-module-1.2.4-1.el6.x86_64.rpm

# 更新

如果你已经在你的机器上安装过nginx-http-flv-module,那么可以通过以下命令更新安装包到新版本:

rpm -Uvh nginx-http-flv-module-version-release.arch.rpm

## 注意

你必须以root身份安装rpm包。

# 安装后

## 将conf文件添加到nginx.conf

[nginx-http-flv-module](https://github.com/winshining/nginx-http-flv-module)用到的conf文件位于/etc/nginx/http-flv,你可以在/etc/nginx/nginx.conf中通过`include`将它们添加到配置中。

http {
...;
include /etc/nginx/http-flv/http-flv.conf;
}

include /etc/nginx/http-flv/rtmp.conf;

### 注意

在`include`之前,你可以根据环境修改conf文件。

## 启动或者重新加载[Nginx](http://nginx.org)

service nginx start

或者

service nginx reload