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.
- Host: GitHub
- URL: https://github.com/winshining/nginx-http-flv-module-packages
- Owner: winshining
- License: mit
- Created: 2018-07-27T20:15:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-21T14:48:56.000Z (about 7 years ago)
- Last Synced: 2025-01-03T10:25:33.299Z (over 1 year ago)
- Topics: gop-cache, http-flv, live-streaming, nginx-http-flv, nginx-rtmp, rtmp, vhosts
- Size: 12.2 MB
- Stars: 14
- Watchers: 3
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.CN.md
- License: LICENSE
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