<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.riguz.com/index.php?action=history&amp;feed=atom&amp;title=CentOS%3ARTMP%E6%B5%81%E5%AA%92%E4%BD%93%E6%9C%8D%E5%8A%A1%E5%99%A8</id>
	<title>CentOS:RTMP流媒体服务器 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.riguz.com/index.php?action=history&amp;feed=atom&amp;title=CentOS%3ARTMP%E6%B5%81%E5%AA%92%E4%BD%93%E6%9C%8D%E5%8A%A1%E5%99%A8"/>
	<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=CentOS:RTMP%E6%B5%81%E5%AA%92%E4%BD%93%E6%9C%8D%E5%8A%A1%E5%99%A8&amp;action=history"/>
	<updated>2026-06-02T22:48:13Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.riguz.com/index.php?title=CentOS:RTMP%E6%B5%81%E5%AA%92%E4%BD%93%E6%9C%8D%E5%8A%A1%E5%99%A8&amp;diff=1707&amp;oldid=prev</id>
		<title>imported&gt;Soleverlee：​/* 配置nginx */</title>
		<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=CentOS:RTMP%E6%B5%81%E5%AA%92%E4%BD%93%E6%9C%8D%E5%8A%A1%E5%99%A8&amp;diff=1707&amp;oldid=prev"/>
		<updated>2016-08-27T17:16:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;配置nginx&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2016年8月27日 (六) 17:16的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l98&quot;&gt;第98行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第98行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=配置nginx=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=配置nginx=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;增加如下内容到nginx配置文件usr/local/nginx/conf/nginx.conf：&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;增加如下内容到nginx配置文件usr/local/nginx/conf/nginx.conf：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;gson&lt;/del&gt;&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lua&lt;/ins&gt;&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;rtmp{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;rtmp{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	server{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	server{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Soleverlee</name></author>
	</entry>
	<entry>
		<id>https://wiki.riguz.com/index.php?title=CentOS:RTMP%E6%B5%81%E5%AA%92%E4%BD%93%E6%9C%8D%E5%8A%A1%E5%99%A8&amp;diff=1706&amp;oldid=prev</id>
		<title>imported&gt;Soleverlee：​/* 编译错误解决 */</title>
		<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=CentOS:RTMP%E6%B5%81%E5%AA%92%E4%BD%93%E6%9C%8D%E5%8A%A1%E5%99%A8&amp;diff=1706&amp;oldid=prev"/>
		<updated>2016-08-27T17:15:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;编译错误解决&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2016年8月27日 (六) 17:15的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l68&quot;&gt;第68行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第68行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In file included from ../nginx_mod_h264_streaming-2.2.7/src/ngx_http_h264_streaming_module.c:2:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In file included from ../nginx_mod_h264_streaming-2.2.7/src/ngx_http_h264_streaming_module.c:2:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;../nginx_mod_h264_streaming-2.2.7/src/ngx_http_streaming_module.c: In function &amp;#039;ngx_streaming_handler&amp;#039;:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;../nginx_mod_h264_streaming-2.2.7/src/ngx_http_streaming_module.c: In function &amp;#039;ngx_streaming_handler&amp;#039;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;../nginx_mod_h264_streaming-2.2.7/src/ngx_http_streaming_module.c:158: error: &#039;ngx_http_request_t&#039; has no member named &#039;zero_in_uri&#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;../nginx_mod_h264_streaming-2.2.7/src/ngx_http_streaming_module.c:158: error: &#039;ngx_http_request_t&#039; has no  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;member named &#039;zero_in_uri&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;make[1]: *** [objs/addon/src/ngx_http_h264_streaming_module.o] Error 1&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;make[1]: *** [objs/addon/src/ngx_http_h264_streaming_module.o] Error 1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;make[1]: Leaving directory `/home/rtmp/nginx-1.10.1&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;make[1]: Leaving directory `/home/rtmp/nginx-1.10.1&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l94&quot;&gt;第94行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第95行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;make[1]: Leaving directory `/home/rtmp/nginx-1.10.1&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;make[1]: Leaving directory `/home/rtmp/nginx-1.10.1&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=配置nginx=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=配置nginx=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;增加如下内容到nginx配置文件usr/local/nginx/conf/nginx.conf：&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;增加如下内容到nginx配置文件usr/local/nginx/conf/nginx.conf：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Soleverlee</name></author>
	</entry>
	<entry>
		<id>https://wiki.riguz.com/index.php?title=CentOS:RTMP%E6%B5%81%E5%AA%92%E4%BD%93%E6%9C%8D%E5%8A%A1%E5%99%A8&amp;diff=1705&amp;oldid=prev</id>
		<title>imported&gt;Soleverlee：​以“=编译安装nginx= 利用nginx搭建rtmp流媒体服务器。首先安装编译工具链： &lt;source lang=&quot;bash&quot;&gt; yum groupinstall &quot;Development Tools&quot; &lt;/source&gt; 安...”为内容创建页面</title>
		<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=CentOS:RTMP%E6%B5%81%E5%AA%92%E4%BD%93%E6%9C%8D%E5%8A%A1%E5%99%A8&amp;diff=1705&amp;oldid=prev"/>
		<updated>2016-08-27T17:15:32Z</updated>

		<summary type="html">&lt;p&gt;以“=编译安装nginx= 利用nginx搭建rtmp流媒体服务器。首先安装编译工具链： &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;lt;/source&amp;gt; 安...”为内容创建页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=编译安装nginx=&lt;br /&gt;
利用nginx搭建rtmp流媒体服务器。首先安装编译工具链：&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
安装完成后，下载源码到同一目录并解压：&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget http://nginx.org/download/nginx-1.10.1.tar.gz&lt;br /&gt;
wget http://h264.code-shop.com/download/nginx_mod_h264_streaming-2.2.7.tar.gz&lt;br /&gt;
wget http://sourceforge.net/projects/pcre/files/pcre/8.39/pcre-8.39.tar.gz&lt;br /&gt;
wget http://zlib.net/zlib-1.2.8.tar.gz&lt;br /&gt;
wget https://www.openssl.org/source/openssl-1.1.0.tar.gz&lt;br /&gt;
wget https://github.com/arut/nginx-rtmp-module/archive/v1.1.9.tar.gz&lt;br /&gt;
&lt;br /&gt;
tar -zxvf nginx-1.10.1.tar.gz &lt;br /&gt;
tar -zxvf nginx_mod_h264_streaming-2.2.7.tar.gz &lt;br /&gt;
tar -zxvf pcre-8.39.tar.gz &lt;br /&gt;
tar -zxvf zlib-1.2.8.tar.gz &lt;br /&gt;
tar -zxvf openssl-1.1.0.tar.gz &lt;br /&gt;
tar -zxvf v1.1.9.tar.gz &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
解压完成后，cd到nginx源码目录，&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure \&lt;br /&gt;
--prefix=/usr/local/nginx \&lt;br /&gt;
--add-module=../nginx_mod_h264_streaming-2.2.7 \&lt;br /&gt;
--add-module=../nginx-rtmp-module-1.1.9 \&lt;br /&gt;
--with-http_flv_module \&lt;br /&gt;
--with-http_mp4_module \&lt;br /&gt;
--with-http_stub_status_module \&lt;br /&gt;
--with-http_ssl_module \&lt;br /&gt;
--with-pcre=../pcre-8.39 \&lt;br /&gt;
--with-zlib=../zlib-1.2.8 \&lt;br /&gt;
--with-openssl=../openssl-1.0.2h \&lt;br /&gt;
--with-debug&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
配置完成后，结果如下：&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Configuration summary&lt;br /&gt;
  + using PCRE library: ../pcre-8.39&lt;br /&gt;
  + using OpenSSL library: ../openssl-1.0.2h&lt;br /&gt;
  + md5: using OpenSSL library&lt;br /&gt;
  + sha1: using OpenSSL library&lt;br /&gt;
  + using zlib library: ../zlib-1.2.8&lt;br /&gt;
&lt;br /&gt;
  nginx path prefix: &amp;quot;/usr/local/nginx&amp;quot;&lt;br /&gt;
  nginx binary file: &amp;quot;/usr/local/nginx/sbin/nginx&amp;quot;&lt;br /&gt;
  nginx modules path: &amp;quot;/usr/local/nginx/modules&amp;quot;&lt;br /&gt;
  nginx configuration prefix: &amp;quot;/usr/local/nginx/conf&amp;quot;&lt;br /&gt;
  nginx configuration file: &amp;quot;/usr/local/nginx/conf/nginx.conf&amp;quot;&lt;br /&gt;
  nginx pid file: &amp;quot;/usr/local/nginx/logs/nginx.pid&amp;quot;&lt;br /&gt;
  nginx error log file: &amp;quot;/usr/local/nginx/logs/error.log&amp;quot;&lt;br /&gt;
  nginx http access log file: &amp;quot;/usr/local/nginx/logs/access.log&amp;quot;&lt;br /&gt;
  nginx http client request body temporary files: &amp;quot;client_body_temp&amp;quot;&lt;br /&gt;
  nginx http proxy temporary files: &amp;quot;proxy_temp&amp;quot;&lt;br /&gt;
  nginx http fastcgi temporary files: &amp;quot;fastcgi_temp&amp;quot;&lt;br /&gt;
  nginx http uwsgi temporary files: &amp;quot;uwsgi_temp&amp;quot;&lt;br /&gt;
  nginx http scgi temporary files: &amp;quot;scgi_temp&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=编译错误解决=&lt;br /&gt;
开始编译：&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make &amp;amp;&amp;amp; make install&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
可能出现这个错误：&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
		../nginx_mod_h264_streaming-2.2.7/src/ngx_http_h264_streaming_module.c&lt;br /&gt;
In file included from ../nginx_mod_h264_streaming-2.2.7/src/ngx_http_h264_streaming_module.c:2:&lt;br /&gt;
../nginx_mod_h264_streaming-2.2.7/src/ngx_http_streaming_module.c: In function &amp;#039;ngx_streaming_handler&amp;#039;:&lt;br /&gt;
../nginx_mod_h264_streaming-2.2.7/src/ngx_http_streaming_module.c:158: error: &amp;#039;ngx_http_request_t&amp;#039; has no member named &amp;#039;zero_in_uri&amp;#039;&lt;br /&gt;
make[1]: *** [objs/addon/src/ngx_http_h264_streaming_module.o] Error 1&lt;br /&gt;
make[1]: Leaving directory `/home/rtmp/nginx-1.10.1&amp;#039;&lt;br /&gt;
make: *** [build] Error 2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
解决办法：注释掉如下的函数：&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
vim ../nginx_mod_h264_streaming-2.2.7/src/ngx_http_streaming_module.c&lt;br /&gt;
&lt;br /&gt;
/* TODO: Win32 */&lt;br /&gt;
/*&lt;br /&gt;
if (r-&amp;gt;zero_in_uri)&lt;br /&gt;
{&lt;br /&gt;
     return NGX_DECLINED;&lt;br /&gt;
}&lt;br /&gt;
*/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
编译完后后，输出如下:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed -e &amp;quot;s|%%PREFIX%%|/usr/local/nginx|&amp;quot; \&lt;br /&gt;
		-e &amp;quot;s|%%PID_PATH%%|/usr/local/nginx/logs/nginx.pid|&amp;quot; \&lt;br /&gt;
		-e &amp;quot;s|%%CONF_PATH%%|/usr/local/nginx/conf/nginx.conf|&amp;quot; \&lt;br /&gt;
		-e &amp;quot;s|%%ERROR_LOG_PATH%%|/usr/local/nginx/logs/error.log|&amp;quot; \&lt;br /&gt;
		&amp;lt; man/nginx.8 &amp;gt; objs/nginx.8&lt;br /&gt;
make[1]: Leaving directory `/home/rtmp/nginx-1.10.1&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=配置nginx=&lt;br /&gt;
增加如下内容到nginx配置文件usr/local/nginx/conf/nginx.conf：&lt;br /&gt;
&amp;lt;source lang=&amp;quot;gson&amp;quot;&amp;gt;&lt;br /&gt;
rtmp{&lt;br /&gt;
	server{&lt;br /&gt;
		listen 1935;&lt;br /&gt;
		chunk_size 4000;&lt;br /&gt;
		application live{&lt;br /&gt;
			live on;&lt;br /&gt;
			meta copy;&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
*启动  ./nginx&lt;br /&gt;
*优雅关闭   ./nginx -s quit&lt;br /&gt;
*快速关闭   ./nginx -s stop&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux/Unix]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Soleverlee</name></author>
	</entry>
</feed>