{"id":6894,"date":"2022-09-14T14:58:35","date_gmt":"2022-09-14T06:58:35","guid":{"rendered":"http:\/\/xinyiworld.top\/wordpress_it\/?p=6894"},"modified":"2025-01-13T09:04:11","modified_gmt":"2025-01-13T01:04:11","slug":"%e9%95%9c%e5%83%8f%e6%ba%90","status":"publish","type":"post","link":"http:\/\/xinyiworld.top\/wordpress_it\/?p=6894","title":{"rendered":"\u955c\u50cf\u6e90"},"content":{"rendered":"<p><strong>\u955c\u50cf\u8bbe\u7f6e<\/strong>\uff1a<br \/>\n<a href=\"http:\/\/t.zoukankan.com\/tademeng-p-7451125.html\">http:\/\/t.zoukankan.com\/tademeng-p-7451125.html<\/a> (\u76f4\u63a5\u5728\u201c\u8f6f\u4ef6\u4e0e\u66f4\u65b0\u201d\u91cc\u8bbe\u7f6e)<\/p>\n<ul>\n<li>\u963f\u91cc\u955c\u50cf\u6e90\u5730\u5740<br \/>\n<a href=\"https:\/\/developer.aliyun.com\/mirror\/?serviceType=&amp;tag=\">https:\/\/developer.aliyun.com\/mirror\/?serviceType=&amp;tag=<\/a><br \/>\n\u6ce8\u610f\u4e0d\u540c\u7684\u7cfb\u7edf\uff0c\u4e0d\u540c\u7684\u7248\u672c\u53f7\u7684\u955c\u50cf\u6e90\u90fd\u4e0d\u4e00\u6837\u3002<\/li>\n<\/ul>\n<p>\u5982\u4f55\u786e\u8ba4ubuntu\u5bf9\u5e94\u7684\u7248\u672c\uff1a<a href=\"https:\/\/blog.csdn.net\/weixin_44495941\/article\/details\/114608867\">https:\/\/blog.csdn.net\/weixin_44495941\/article\/details\/114608867<\/a><br \/>\n<code>lsb_release -c<\/code><\/p>\n<p>\u66f4\u65b0\u5b8c<code>\/etc\/apt\/sources.list<\/code>\u6587\u4ef6\u4e4b\u540e\uff0c\u6267\u884c<code>sudo apt update<\/code>\u547d\u4ee4\u3002<\/p>\n<ul>\n<li>Ubuntu 24.04<br \/>\n<a href=\"https:\/\/zhuanlan.zhihu.com\/p\/4493652480\">https:\/\/zhuanlan.zhihu.com\/p\/4493652480<\/a><br \/>\n\u3000\u4ece Ubuntu 24.04 \u5f00\u59cb\uff0cUbuntu \u7684\u8f6f\u4ef6\u6e90\u914d\u7f6e\u6587\u4ef6\u53d8\u66f4\u4e3a DEB822 \u683c\u5f0f\uff0c\u8def\u5f84\u4e3a \/etc\/apt\/sources.list.d\/ubuntu.sources\u3002<\/li>\n<\/ul>\n<p>1.\u5907\u4efd\u539f\u6709\u7684\u6e90\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u5907\u4efd\u539f\u6709\u7684\u6e90\u914d\u7f6e\u6587\u4ef6\uff1a<br \/>\n<code>sudo cp \/etc\/apt\/sources.list.d\/ubuntu.sources \/etc\/apt\/sources.list.d\/ubuntu.sources.bak<\/code><\/p>\n<p>2.\u7f16\u8f91\u6e90\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>\u4f7f\u7528vim\u6216\u5176\u4ed6\u6587\u672c\u7f16\u8f91\u5668\u6253\u5f00\u6e90\u914d\u7f6e\u6587\u4ef6\uff1a<br \/>\n<code>sudo vim \/etc\/apt\/sources.list.d\/ubuntu.sources<\/code><\/p>\n<p>3.\u6dfb\u52a0\u6e05\u534e\u6e90\u7684\u914d\u7f6e<\/p>\n<p>\u5728\u6253\u5f00\u7684\u6587\u4ef6\u4e2d\uff0c\u5220\u9664\u539f\u6709\u7684\u5185\u5bb9\uff0c\u5e76\u7c98\u8d34\u4ee5\u4e0b\u6e05\u534e\u6e90\u7684\u914d\u7f6e\uff1a<\/p>\n<pre><code class=\"language-bash\">Types: deb\n\u3000\u3000URIs: https:\/\/mirrors.tuna.tsinghua.edu.cn\/ubuntu\/\n\u3000\u3000Suites: noble noble-updates noble-security\n\u3000\u3000Components: main restricted universe multiverse\n\u3000\u3000Signed-By: \/usr\/share\/keyrings\/ubuntu-archive-keyring.gpg<\/code><\/pre>\n<p>\u963f\u91cc\u6e90<\/p>\n<pre><code class=\"language-bash\">Types: deb\nURIs: http:\/\/mirrors.aliyun.com\/ubuntu\/\nSuites: noble noble-updates noble-security\nComponents: main restricted universe multiverse\nSigned-By: \/usr\/share\/keyrings\/ubuntu-archive-keyring.gpg<\/code><\/pre>\n<p>4.\u66f4\u65b0\u6e90<\/p>\n<p>\u66f4\u65b0\u6e90\u914d\u7f6e\u5e76\u5347\u7ea7\u7cfb\u7edf\uff1a<\/p>\n<pre><code class=\"language-bash\">sudo apt-get update\nsudo apt-get upgrade<\/code><\/pre>\n<p><strong>\u5e38\u89c1\u62a5\u9519\uff1a<\/strong><\/p>\n<ul>\n<li>mirrors.aliyun.com \u65e0\u6cd5\u89e3\u6790\u57df\u540d<br \/>\n<a href=\"https:\/\/blog.csdn.net\/junR_980218\/article\/details\/124102469\">https:\/\/blog.csdn.net\/junR_980218\/article\/details\/124102469<\/a><\/li>\n<\/ul>\n<pre><code class=\"language-bash\">sudo vim  \/etc\/resolv.conf \nnameserver 8.8.8.8 \nnameserver 8.8.4.4\nnameserver 223.5.5.5\nnameserver 223.6.6.6\nnameserver 114.114.114.114<\/code><\/pre>\n<ul>\n<li>\n<p>Release \u6587\u4ef6\u5df2\u7ecf\u8fc7\u671f\u3002\u8be5\u4ed3\u5e93\u7684\u66f4\u65b0\u5c06\u4e0d\u4f1a\u5e94\u7528\u3002<br \/>\n<a href=\"https:\/\/blog.csdn.net\/weixin_45461706\/article\/details\/124357295\">https:\/\/blog.csdn.net\/weixin_45461706\/article\/details\/124357295<\/a><br \/>\n\u5982\u679c\u4f60\u5728\u5f00\u673a\u542f\u52a8\u7684\u65f6\u5019\u53bb\u66f4\u65b0\u8f6f\u4ef6\uff0c\u53ef\u80fd\u5c31\u4f1a\u62a5\u8fd9\u4e2a\u9519\u8bef\uff0c\u662f\u56e0\u4e3a\u7cfb\u7edf\u65f6\u95f4\u53ef\u80fd\u8fd8\u6ca1\u6709\u6765\u5f97\u53ca\u66f4\u65b0\u3002<\/p>\n<\/li>\n<li>\n<p>apt-get update \u63d0\u793a\u65e0\u6cd5\u201c\u7531\u4e8e\u6ca1\u6709\u516c\u94a5\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u4e0b\u5217\u7b7e\u540d ***\u201d\u7684\u89e3\u51b3\u65b9\u6848<br \/>\n<a href=\"https:\/\/blog.csdn.net\/fu18889708485\/article\/details\/121004970\">https:\/\/blog.csdn.net\/fu18889708485\/article\/details\/121004970<\/a><\/p>\n<\/li>\n<li>\n<p>Resolving failed: Temporary failure in name resolution \u9519\u8bef\u89e3\u51b3\u65b9\u6cd5<br \/>\n<a href=\"https:\/\/www.cnblogs.com\/attlia\/p\/3660752.html\">https:\/\/www.cnblogs.com\/attlia\/p\/3660752.html<\/a><br \/>\n\u5982\u679c\u4f60\u5728\u5f00\u673a\u542f\u52a8\u7684\u65f6\u5019\u53bb\u66f4\u65b0\u8f6f\u4ef6\uff0c\u53ef\u80fd\u5c31\u4f1a\u62a5\u8fd9\u4e2a\u9519\u8bef\uff0c\u7531\u4e8e\/etc\/resolv.conf\u6587\u4ef6\u53ef\u80fd\u6ca1\u6709\u6765\u5f97\u53ca\u52a0\u8f7d\uff0c\u6240\u4ee5\u9700\u8981\u5ef6\u65f6\u53bb\u66f4\u65b0\u8f6f\u4ef6\u3002<\/p>\n<\/li>\n<\/ul>\n<button class=\"simplefavorite-button\" data-postid=\"6894\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"\">\u6536\u85cf <i class=\"sf-icon-star-empty\"><\/i><\/button>","protected":false},"excerpt":{"rendered":"<p>\u955c\u50cf\u8bbe\u7f6e\uff1a http:\/\/t.zoukankan.com\/tademeng-p-7451125.ht [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/6894"}],"collection":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6894"}],"version-history":[{"count":18,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/6894\/revisions"}],"predecessor-version":[{"id":15498,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/6894\/revisions\/15498"}],"wp:attachment":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6894"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}