<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://gentoo-zh.org/extern.php?action=feed&amp;tid=605&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Gentoo中文社区 / nginx编译安装]]></title>
		<link>http://www.gentoo-zh.org/viewtopic.php?id=605</link>
		<description><![CDATA[nginx编译安装 最近发表的帖子。]]></description>
		<lastBuildDate>Wed, 07 Dec 2022 06:31:40 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: nginx编译安装]]></title>
			<link>http://www.gentoo-zh.org/viewtopic.php?pid=647#p647</link>
			<description><![CDATA[<p>感谢分享！</p>]]></description>
			<author><![CDATA[dummy@example.com (ＴＭＤ)]]></author>
			<pubDate>Wed, 07 Dec 2022 06:31:40 +0000</pubDate>
			<guid>http://www.gentoo-zh.org/viewtopic.php?pid=647#p647</guid>
		</item>
		<item>
			<title><![CDATA[nginx编译安装]]></title>
			<link>http://www.gentoo-zh.org/viewtopic.php?pid=646#p646</link>
			<description><![CDATA[<p>yum -y install make zlib zlib-devel gcc-c++ libtool&#160; openssl openssl-devel wget vim</p><p>apt install -y zlib1g-dev build-essential libpcre3 libpcre3-dev openssl libssl-dev wget vim</p><br /><p>wget <a href="http://downloads.sourceforge.net/project/pcre/pcre/8.35/pcre-8.35.tar.gz" rel="nofollow">http://downloads.sourceforge.net/projec … .35.tar.gz</a><br />tar zxvf pcre-8.35.tar.gz<br />mv pcre-8.35 /usr/local/pcre<br />cd /usr/local/pcre<br />./configure<br />make &amp;&amp; make install</p><p>wget <a href="http://nginx.org/download/nginx-1.22.0.tar.gz" rel="nofollow">http://nginx.org/download/nginx-1.22.0.tar.gz</a><br />tar zxvf nginx-1.22.0.tar.gz<br />cd nginx-1.22.0/<br />./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-pcre=/usr/local/pcre<br />make &amp;&amp; make install</p><p>vim /etc/init.d/nginx</p><p>chmod a+x /etc/init.d/nginx<br />chkconfig --add nginx<br />chkconfig nginx on</p><p>debian<br />vim /lib/systemd/system/nginx.service<br />[Unit]<br />Description=nginx<br />After=network.target</p><p>[Service]<br />Type=forking<br />ExecStart=/usr/local/nginx/sbin/nginx<br />ExecReload=/usr/local/nginx/sbin/nginx -s reload<br />ExecStop=/usr/local/nginx/sbin/nginx -s quit<br />PrivateTmp=true</p><p>[Install]<br />WantedBy=multi-user.target</p>]]></description>
			<author><![CDATA[dummy@example.com (batsom)]]></author>
			<pubDate>Wed, 07 Dec 2022 06:07:08 +0000</pubDate>
			<guid>http://www.gentoo-zh.org/viewtopic.php?pid=646#p646</guid>
		</item>
	</channel>
</rss>
