\u8be5\u547d\u4ee4\u5c06\u68c0\u6d4b\u7cfb\u7edf\u548c\u7f16\u8bd1\u5668\u7279\u6027\uff0c\u5e76\u751f\u6210 Makefile \u6587\u4ef6\u3002<\/p>\n
\nmake\n<\/pre>\n<\/p>\n\u8be5\u547d\u4ee4\u5c06\u7f16\u8bd1\u6e90\u4ee3\u7801\uff0c\u5e76\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n
Step4\uff1a\u5b89\u88c5\u53ef\u6267\u884c\u6587\u4ef6<\/p>\n
\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
\n
\nsudo make install\n<\/pre>\n<\/p>\n\u8be5\u547d\u4ee4\u5c06\u5b89\u88c5\u53ef\u6267\u884c\u6587\u4ef6\u5230\u7cfb\u7edf\u76ee\u5f55\u4e2d\u3002<\/p>\n
4. Autoconf \u5e38\u7528\u9009\u9879<\/p>\n
Autoconf \u652f\u6301\u591a\u79cd\u9009\u9879\uff0c\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u9009\u9879\uff1a<\/p>\n
--help\uff1a\u663e\u793a\u5e2e\u52a9\u4fe1\u606f\u3002<\/p>\n
--version\uff1a\u663e\u793a\u7248\u672c\u4fe1\u606f\u3002<\/p>\n
--prefix=PATH\uff1a\u6307\u5b9a\u5b89\u88c5\u8def\u5f84\u3002<\/p>\n
--enable-FEATURE\uff1a\u542f\u7528\u6307\u5b9a\u7279\u6027\u3002<\/p>\n
--disable-FEATURE\uff1a\u7981\u7528\u6307\u5b9a\u7279\u6027\u3002<\/p>\n
5. Autoconf \u5b9e\u4f8b\u5206\u6790<\/p>\n
\u4ee5\u5b89\u88c5 Nginx \u4e3a\u4f8b\uff0c\u4ecb\u7ecd\u4f7f\u7528 Autoconf \u8fdb\u884c\u8f6f\u4ef6\u5305\u5b89\u88c5\u7684\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n
Step1\uff1a\u4e0b\u8f7d\u6e90\u4ee3\u7801<\/p>\n
\u5728\u5b98\u7f51\u4e0b\u8f7d Nginx \u7684\u6e90\u4ee3\u7801\uff0c\u5e76\u89e3\u538b\u5230\u6307\u5b9a\u76ee\u5f55\u3002<\/p>\n
Step2\uff1a\u8fd0\u884c configure \u811a\u672c<\/p>\n
\u8fdb\u5165\u89e3\u538b\u540e\u7684\u6e90\u4ee3\u7801\u76ee\u5f55linux autoconf \u5b89\u88c5<\/strong>\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n
\n.\/configure --prefix=\/usr\/local\/nginx --with-http_ssl_module --with-http_stub_status_module\n<\/pre>\n<\/p>\n\u8be5\u547d\u4ee4\u5c06\u68c0\u6d4b\u7cfb\u7edf\u548c\u7f16\u8bd1\u5668\u7279\u6027\uff0c\u5e76\u751f\u6210 Makefile \u6587\u4ef6\u3002\u5176\u4e2dlinux\u8fd0\u7ef4\u9762\u8bd5\u9898\uff0c--prefix=PATH \u6307\u5b9a\u4e86\u5b89\u88c5\u8def\u5f84\uff1b--with-http_ssl_module \u542f\u7528\u4e86 SSL \u529f\u80fd\uff1b--with-http_stub_status_module \u542f\u7528\u4e86\u72b6\u6001\u9875\u9762\u529f\u80fd\u3002<\/p>\n
Step3\uff1a\u7f16\u8bd1\u6e90\u4ee3\u7801<\/p>\n
\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
\n
\nmake\n<\/pre>\n<\/p>\n\u8be5\u547d\u4ee4\u5c06\u7f16\u8bd1\u6e90\u4ee3\u7801\uff0c\u5e76\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n
Step4\uff1a\u5b89\u88c5\u53ef\u6267\u884c\u6587\u4ef6<\/p>\n
\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
\n
\nsudo make install\n<\/pre>\n<\/p>\n\u8be5\u547d\u4ee4\u5c06\u5b89\u88c5\u53ef\u6267\u884c\u6587\u4ef6\u5230\u7cfb\u7edf\u76ee\u5f55\u4e2d\u3002<\/p>\n
6.\u603b\u7ed3<\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u8fdb\u884c Linux Autoconf \u5b89\u88c5sogou pinyin linux\uff0c\u5e76\u4ee5 Nginx \u4e3a\u4f8b\uff0c\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u4f7f\u7528 Autoconf \u8fdb\u884c\u8f6f\u4ef6\u5305\u5b89\u88c5\u7684\u6b65\u9aa4\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u662f\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u81ea\u52a8\u5316\u751f\u6210\u8f6f\u4ef6\u5305\u7684\u5b89\u88c5\u811a\u672c\u3002\u662f\u4e00\u4e2a\u7528\u4e8e\u81ea\u52a8\u5316\u751f\u6210\u8f6f\u4ef6\u5305\u5b89\u88c5\u811a\u672c\u7684\u5de5\u5177\u3002\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u68c0\u6d4b\u7cfb\u7edf\u548c\u7f16\u8bd1\u5668\u7684\u7279\u6027\uff0c\u5e76\u751f\u6210\u9488\u5bf9\u4e0d\u540c\u7cfb\u7edf\u548c\u7f16\u8bd1\u5668\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u8fdb\u884c\u8f6f\u4ef6\u5305\u5b89\u88c5\u8fdb\u884c\u8f6f\u4ef6\u5305\u5b89\u88c5\u901a\u5e38\u9700\u8981\u4ee5\u4e0b\u6b65\u9aa4\uff1a\u5728\u5b98\u7f51\u4e0b\u8f7d\u9700\u8981\u5b89\u88c5\u7684\u6e90\u4ee3\u7801\uff0c\u5e76\u89e3\u538b\u5230\u6307\u5b9a\u76ee\u5f55\u3002\u8fdb\u5165\u89e3\u538b\u540e\u7684\u6e90\u4ee3\u7801\u76ee\u5f55\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a\u8fdb\u884c\u8f6f\u4ef6\u5305\u5b89\u88c5\u7684\u8be6\u7ec6\u6b65\u9aa4\uff1a\u8fdb\u5165\u89e3\u538b\u540e\u7684\u6e90\u4ee3\u7801\u76ee\u5f55\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a\u8fdb\u884c\u8f6f\u4ef6\u5305\u5b89\u88c5\u7684\u6b65\u9aa4\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-268049","post","type-post","status-publish","format-standard","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/268049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=268049"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/268049\/revisions"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=268049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=268049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=268049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}