{"id":43966,"date":"2025-06-16T12:55:45","date_gmt":"2025-06-16T04:55:45","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/43966.html"},"modified":"2025-06-16T12:55:45","modified_gmt":"2025-06-16T04:55:45","slug":"%e5%9f%ba%e4%ba%8e%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%bd%bf%e7%94%a8-apt-%e5%ae%89%e8%a3%85%e3%80%81%e9%85%8d%e7%bd%ae-nginx","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/43966.html","title":{"rendered":"\u57fa\u4e8e\u670d\u52a1\u5668\u4f7f\u7528 apt \u5b89\u88c5\u3001\u914d\u7f6e Nginx"},"content":{"rendered":"<h2>&#x1f9fe; \u4e00\u3001\u67e5\u770b\u53ef\u5b89\u88c5\u7684 Nginx \u7248\u672c<\/h2>\n<p>\u9996\u5148&#xff0c;\u4f60\u53ef\u4ee5\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u53ef\u7528\u7248\u672c&#xff1a;<\/p>\n<p><span class=\"token function\">apt-cache<\/span> madison nginx-core<\/p>\n<p>\u8f93\u51fa\u793a\u4f8b&#xff1a;<\/p>\n<p>nginx-core <span class=\"token operator\">|<\/span> <span class=\"token number\">1.18<\/span>.0-6ubuntu14.6 <span class=\"token operator\">|<\/span> http:\/\/archive.ubuntu.com\/ubuntu focal-updates\/main amd64 Packages<br \/>\nnginx-core <span class=\"token operator\">|<\/span> <span class=\"token number\">1.18<\/span>.0-6ubuntu14   <span class=\"token operator\">|<\/span> http:\/\/archive.ubuntu.com\/ubuntu focal\/main amd64 Packages<\/p>\n<p>\u6ce8\u610f&#xff1a;\u4e0d\u540c\u7cfb\u7edf&#xff08;Ubuntu \u7248\u672c&#xff09;\u663e\u793a\u7684\u5185\u5bb9\u4e0d\u540c&#xff0c;\u5982 focal \u662f Ubuntu 20.04&#xff0c;jammy \u662f Ubuntu 22.04\u3002<\/p>\n<h2>\u2705 \u4e8c\u3001\u5b89\u88c5\u6307\u5b9a\u7248\u672c\u7684 Nginx<\/h2>\n<p>\u5047\u8bbe\u4f60\u60f3\u5b89\u88c5\u7248\u672c 1.18.0-6ubuntu14&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> nginx-core<span class=\"token operator\">&#061;<\/span><span class=\"token number\">1.18<\/span>.0-6ubuntu14<\/p>\n<p>\u26a0\ufe0f \u6ce8\u610f&#xff1a; \u2022\u5982\u679c\u4f60\u4e4b\u524d\u5df2\u7ecf\u5b89\u88c5\u8fc7\u5176\u4ed6\u7248\u672c&#xff0c;\u53ef\u80fd\u4f1a\u63d0\u793a\u51b2\u7a81&#xff1b; \u2022\u5b89\u88c5\u524d\u5efa\u8bae\u5148\u5378\u8f7d\u65e7\u7248\u672c&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> remove nginx nginx-core nginx-light nginx-extras<\/p>\n<h2>&#x1f512; \u4e09\u3001\u9501\u5b9a\u7248\u672c\u9632\u6b62\u81ea\u52a8\u5347\u7ea7&#xff08;\u53ef\u9009&#xff09;<\/h2>\n<p>\u5982\u679c\u4f60\u4e0d\u5e0c\u671b\u4e0b\u6b21\u5347\u7ea7\u65f6\u88ab\u66f4\u65b0\u5230\u65b0\u7248\u672c&#xff0c;\u53ef\u4ee5\u4f7f\u7528 apt-mark hold \u9501\u5b9a\u5f53\u524d\u7248\u672c&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> apt-mark hold nginx-core<\/p>\n<p>\u67e5\u770b\u5df2\u9501\u5b9a\u7684\u5305&#xff1a;<\/p>\n<p>apt-mark showhold<\/p>\n<p>\u5982\u679c\u4f60\u60f3\u89e3\u9664\u9501\u5b9a&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> apt-mark unhold nginx-core<\/p>\n<h2>&#x1f4cc; \u56db\u3001\u5b8c\u6574\u6d41\u7a0b\u793a\u4f8b<\/h2>\n<p><span class=\"token comment\"># Step 1: \u67e5\u770b\u53ef\u5b89\u88c5\u7248\u672c<\/span><br \/>\n<span class=\"token function\">apt-cache<\/span> madison nginx-core<\/p>\n<p><span class=\"token comment\"># Step 2: \u5378\u8f7d\u5df2\u6709\u7248\u672c&#xff08;\u5982\u6709&#xff09;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> remove nginx nginx-core<\/p>\n<p><span class=\"token comment\"># Step 3: \u5b89\u88c5\u6307\u5b9a\u7248\u672c<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> nginx-core<span class=\"token operator\">&#061;<\/span><span class=\"token number\">1.18<\/span>.0-6ubuntu14<\/p>\n<p><span class=\"token comment\"># Step 4: \u9501\u5b9a\u7248\u672c&#xff08;\u53ef\u9009&#xff09;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> apt-mark hold nginx-core<\/p>\n<h2>&#x1f9ea; \u4e94\u3001\u5982\u679c\u627e\u4e0d\u5230\u65e7\u7248\u672c&#xff1f;<\/h2>\n<p>Ubuntu \u5b98\u65b9\u6e90\u4e2d\u6709\u65f6\u53ea\u4fdd\u7559\u6709\u9650\u7684\u5386\u53f2\u7248\u672c\u3002\u5982\u679c\u4f60\u9700\u8981\u975e\u5e38\u65e7\u7684\u7248\u672c&#xff08;\u5982 1.16.x&#xff09;&#xff0c;\u53ef\u4ee5\u8003\u8651\u4ee5\u4e0b\u65b9\u6cd5&#xff1a;<\/p>\n<h3>\u2705 \u65b9\u6cd5 1&#xff1a;\u6dfb\u52a0\u5b98\u65b9 Nginx APT \u6e90&#xff08;\u63a8\u8350&#xff09;Nginx \u5b98\u65b9\u63d0\u4f9b\u4e86\u81ea\u5df1\u7684 APT \u6e90&#xff0c;\u652f\u6301\u66f4\u591a\u7248\u672c\u9009\u62e9\u3002<\/h3>\n<li>\u6dfb\u52a0\u5b98\u65b9\u6e90&#xff1a;<\/li>\n<p><span class=\"token function\">curl<\/span> https:\/\/nginx.org\/keys\/nginx_signing.key <span class=\"token operator\">|<\/span> gpg <span class=\"token parameter variable\">&#8211;dearmor<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/usr\/share\/keyrings\/nginx-archive-keyring.gpg <span class=\"token operator\">&gt;<\/span>\/dev\/null<br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;deb [signed-by&#061;\/usr\/share\/keyrings\/nginx-archive-keyring.gpg] http:\/\/nginx.org\/packages\/ubuntu <span class=\"token variable\"><span class=\"token variable\">$(<\/span>lsb_release <span class=\"token parameter variable\">-cs<\/span><span class=\"token variable\">)<\/span><\/span> nginx&#034;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/apt\/sources.list.d\/nginx.list<\/p>\n<li>\u66f4\u65b0\u5e76\u5b89\u88c5\u6307\u5b9a\u7248\u672c&#xff1a;<\/li>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token assign-left variable\">nginx<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">1.24<\/span>.0<\/p>\n<p>\u53ef\u4ee5\u8bbf\u95ee \u67e5\u770b\u652f\u6301\u7684\u7248\u672c\u3002<\/p>\n<h2>&#x1f4cb; \u603b\u7ed3<\/h2>\n<table>\n<tr>\u76ee\u6807\u547d\u4ee4<\/tr>\n<tbody>\n<tr>\n<td>\u67e5\u770b\u53ef\u7528\u7248\u672c<\/td>\n<td>apt-cache madison nginx-core<\/td>\n<\/tr>\n<tr>\n<td>\u5b89\u88c5\u6307\u5b9a\u7248\u672c<\/td>\n<td>sudo apt install nginx-core&#061;\u7248\u672c\u53f7<\/td>\n<\/tr>\n<tr>\n<td>\u9501\u5b9a\u7248\u672c<\/td>\n<td>sudo apt-mark hold nginx-core<\/td>\n<\/tr>\n<tr>\n<td>\u89e3\u9501\u7248\u672c<\/td>\n<td>sudo apt-mark unhold nginx-core<\/td>\n<\/tr>\n<tr>\n<td>\u4f7f\u7528\u5b98\u65b9\u6e90\u5b89\u88c5<\/td>\n<td>\u914d\u7f6e\u5b98\u65b9 APT \u6e90\u540e\u4f7f\u7528 apt install nginx&#061;\u7248\u672c\u53f7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>&#x1f449; \u4f7f\u7528&#xff1a; apt \u5b89\u88c5 Nginx \u914d\u7f6e\u3001\u542f\u505c<\/h2>\n<p>\u901a\u5e38\u60c5\u51b5\u4e0b&#xff0c;\u5728\u901a\u8fc7 apt \u5b89\u88c5 Nginx \u540e&#xff0c;\u4e3b\u8981\u7684\u914d\u7f6e\u6587\u4ef6\u4f4d\u4e8e \/etc\/nginx\/ \u76ee\u5f55\u4e0b\u3002 \u5982\u4f55\u64cd\u4f5c&#xff1a;\u67e5\u770b\u6216\u7f16\u8f91 Nginx \u914d\u7f6e\u6587\u4ef6<\/p>\n<li>\u5bfc\u822a\u5230 Nginx \u914d\u7f6e\u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55&#xff1a;<\/li>\n<p><span class=\"token builtin class-name\">cd<\/span> \/etc\/nginx<\/p>\n<li>\u67e5\u770b\u5f53\u524d\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u548c\u5b50\u76ee\u5f55&#xff1a;<\/li>\n<p><span class=\"token function\">ls<\/span> <span class=\"token parameter variable\">-l<\/span><\/p>\n<p>\u4f60\u4f1a\u770b\u5230\u4e00\u4e9b\u91cd\u8981\u7684\u6587\u4ef6\u548c\u76ee\u5f55&#xff0c;\u4f8b\u5982&#xff1a;<br \/>\n\u2022nginx.conf&#xff1a;\u4e3b\u914d\u7f6e\u6587\u4ef6\u3002<br \/>\n\u2022sites-available\/ \u548c sites-enabled\/&#xff1a;\u7528\u4e8e\u7ad9\u70b9\u914d\u7f6e\u3002<\/p>\n<li>\u7f16\u8f91\u4e3b\u914d\u7f6e\u6587\u4ef6 nginx.conf&#xff1a;<\/li>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">vi<\/span> nginx.conf<\/p>\n<li>\u7f16\u8f91\u7ad9\u70b9\u914d\u7f6e\u6587\u4ef6&#xff1a;\u5982\u679c\u4f60\u9700\u8981\u4e3a\u7279\u5b9a\u7ad9\u70b9\u914d\u7f6e Nginx&#xff0c;\u53ef\u4ee5\u7f16\u8f91\u6216\u521b\u5efa\u914d\u7f6e\u6587\u4ef6\u5728 sites-available\/ \u76ee\u5f55\u4e0b&#xff0c;\u5e76\u901a\u8fc7\u7b26\u53f7\u94fe\u63a5\u6dfb\u52a0\u5230 sites-enabled\/ \u76ee\u5f55\u4e2d\u3002\u4f8b\u5982&#xff0c;\u7f16\u8f91\u9ed8\u8ba4\u7ad9\u70b9\u914d\u7f6e&#xff1a;<\/li>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">vi<\/span> \/etc\/nginx\/sites-available\/default<\/p>\n<p>\u6d4b\u8bd5\u914d\u7f6e\u5e76\u91cd\u542f Nginx\u5b8c\u6210\u914d\u7f6e\u4fee\u6539\u540e&#xff0c;\u5efa\u8bae\u5148\u6d4b\u8bd5\u914d\u7f6e\u6587\u4ef6\u662f\u5426\u6709\u8bed\u6cd5\u9519\u8bef&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> nginx <span class=\"token parameter variable\">-t<\/span><\/p>\n<p>\u5982\u679c\u6d4b\u8bd5\u6210\u529f&#xff0c;\u91cd\u65b0\u52a0\u8f7d Nginx \u4ee5\u5e94\u7528\u66f4\u6539&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl reload nginx<\/p>\n<p>\u6216\u8005\u5b8c\u5168\u91cd\u542f\u670d\u52a1&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl restart nginx<\/p>\n<h2>&#x1f4cb; \u603b\u7ed3<\/h2>\n<p><span class=\"token comment\"># \u542f\u52a8 Nginx<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl start nginx<\/p>\n<p><span class=\"token comment\"># \u8bbe\u7f6e\u5f00\u673a\u81ea\u542f<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> nginx<\/p>\n<p><span class=\"token comment\"># \u68c0\u67e5\u72b6\u6001<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl status nginx<\/p>\n<p><span class=\"token comment\"># \u6d4b\u8bd5\u672c\u5730\u8bbf\u95ee<\/span><br \/>\n<span class=\"token function\">curl<\/span> http:\/\/localhost<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb738\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf17\u6b21\u3002\u5728 Ubuntu \u6216 Debian \u7cfb\u7edf\u4e2d\uff0c\u4f7f\u7528 apt install nginx \u5b89\u88c5 Nginx\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[402,117,103],"topic":[],"class_list":["post-43966","post","type-post","status-publish","format-standard","hentry","category-server","tag-debian","tag-nginx","tag-ubuntu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u57fa\u4e8e\u670d\u52a1\u5668\u4f7f\u7528 apt \u5b89\u88c5\u3001\u914d\u7f6e Nginx - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/43966.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u57fa\u4e8e\u670d\u52a1\u5668\u4f7f\u7528 apt \u5b89\u88c5\u3001\u914d\u7f6e Nginx - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb738\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf17\u6b21\u3002\u5728 Ubuntu \u6216 Debian \u7cfb\u7edf\u4e2d\uff0c\u4f7f\u7528 apt install nginx \u5b89\u88c5 Nginx\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/43966.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-16T04:55:45+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/43966.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/43966.html\",\"name\":\"\u57fa\u4e8e\u670d\u52a1\u5668\u4f7f\u7528 apt \u5b89\u88c5\u3001\u914d\u7f6e Nginx - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-06-16T04:55:45+00:00\",\"dateModified\":\"2025-06-16T04:55:45+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/43966.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/43966.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/43966.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u57fa\u4e8e\u670d\u52a1\u5668\u4f7f\u7528 apt \u5b89\u88c5\u3001\u914d\u7f6e Nginx\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u57fa\u4e8e\u670d\u52a1\u5668\u4f7f\u7528 apt \u5b89\u88c5\u3001\u914d\u7f6e Nginx - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/43966.html","og_locale":"zh_CN","og_type":"article","og_title":"\u57fa\u4e8e\u670d\u52a1\u5668\u4f7f\u7528 apt \u5b89\u88c5\u3001\u914d\u7f6e Nginx - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb738\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf17\u6b21\u3002\u5728 Ubuntu \u6216 Debian \u7cfb\u7edf\u4e2d\uff0c\u4f7f\u7528 apt install nginx \u5b89\u88c5 Nginx\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/43966.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-06-16T04:55:45+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/43966.html","url":"https:\/\/www.wsisp.com\/helps\/43966.html","name":"\u57fa\u4e8e\u670d\u52a1\u5668\u4f7f\u7528 apt \u5b89\u88c5\u3001\u914d\u7f6e Nginx - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-06-16T04:55:45+00:00","dateModified":"2025-06-16T04:55:45+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/43966.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/43966.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/43966.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u57fa\u4e8e\u670d\u52a1\u5668\u4f7f\u7528 apt \u5b89\u88c5\u3001\u914d\u7f6e Nginx"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/43966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=43966"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/43966\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=43966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=43966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=43966"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=43966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}