{"id":532,"date":"2021-10-03T14:31:00","date_gmt":"2021-10-03T14:31:00","guid":{"rendered":"https:\/\/262235.xyz\/?p=532"},"modified":"2021-10-03T14:31:00","modified_gmt":"2021-10-03T14:31:00","slug":"532","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2021\/10\/03\/532\/","title":{"rendered":"\u7f51\u7edc\u5b89\u88c5 debian \u7cfb\u7edf\uff0c\u8df3\u8fc7security.debian.org\u4e0b\u8f7d\u6587\u4ef6"},"content":{"rendered":"<h2>\u6211\u4eec\u77e5\u9053\u56fd\u5185\u4f7f\u7528\u4e2d\u79d1\u5927\u955c\u50cf\uff0c\u53ef\u4ee5\u63d0\u9ad8\u5b89\u88c5\u8f6f\u4ef6\u901f\u5ea6<\/h2>\n<pre><code>cd  \/etc\/apt\nsed -i  's\/deb.debian.org\/mirrors.ustc.edu.cn\/g'    sources.list\nsed -i  's\/ftp.debian.org\/mirrors.ustc.edu.cn\/g'    sources.list\nsed -i  's\/security.debian.org\/mirrors.ustc.edu.cn\/g'  sources.list\napt update<\/code><\/pre>\n<ul>\n<li>\n<p>\u4f46\u662f\u5728\u5b89\u88c5\u7cfb\u7edf\u7684\u65f6\u5019\u9009\u56fd\u5185\u6e90\uff0c\u8fd8\u662f\u4f1a\u53bb <code>security.debian.org<\/code> \u4e0b\u8f7d\u6587\u4ef6\uff0c\u5bfc\u81f4\u5b89\u88c5\u5931\u53bb\u8010\u5fc3<\/p>\n<h2>\u901a\u8fc7\u534a\u5929\u7684\u5931\u8d25\u5b89\u88c5\uff0c\u4e00\u4e2a\u9760\u8c31\u7684\u65b9\u6cd5\u7ec8\u4e8e\u8ba9\u6211\u627e\u5230\u4e86<\/h2>\n<\/li>\n<li>\u78c1\u76d8\u5206\u533a\u5b8c\u6210\u540e\uff0c\u4f1a\u683c\u5f0f\u5316\u786c\u76d8<\/li>\n<li>\u786c\u76d8\u7684\u6839\u76ee\u5f55\u5728\u5b89\u88c5\u7cfb\u7edf\u7684\u65f6\u5019\u4f1a\u4e34\u65f6\u6302\u8f7d \u5230 \/target\/<br \/><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/10\/596117672.png\" alt=\"hd.png\" title=\"hd.png\"><\/li>\n<li>Ctrl+Alt+F2  \u5f00\u542f\u4e00\u4e2a\u7ec8\u7aef<\/li>\n<li>Ctrl+Alt+F1  \u56fe\u5f62\u5b89\u88c5\u754c\u9762<\/li>\n<li>\n<p>Ctrl+Alt+F4  \u540e\u53f0\u5b89\u88c5\u4fe1\u606f<br \/><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/10\/3592948737.png\" alt=\"apt.png\" title=\"apt.png\"><\/p>\n<h2>\u628a\u66ff\u6362\u8f6f\u4ef6\u6e90\u8bed\u53e5\u4fdd\u5b58\u811a\u672c <code>apt.sh<\/code> \uff0c\u4e0a\u4f20\u5230\u7f51\u7ad9\uff0c\u672c\u4f8b\u4fdd\u5b58\u5728 <code>lyvba.com\/apt.sh<\/code><\/h2>\n<pre><code>cd  \/target\/etc\/apt\nsed -i  's\/deb.debian.org\/mirrors.ustc.edu.cn\/g'    sources.list\nsed -i  's\/ftp.debian.org\/mirrors.ustc.edu.cn\/g'    sources.list\nsed -i  's\/security.debian.org\/mirrors.ustc.edu.cn\/g'  sources.list<\/code><\/pre>\n<h2>\u5b89\u88c5\u7cfb\u7edf\u8f6f\u4ef6\u7684\u65f6\u5019  <code>Ctrl+Alt+F2<\/code> \u5f00\u542f\u4e00\u4e2a\u7ec8\u7aef\uff0c\u6309\u56de\u8f66<\/h2>\n<pre><code>wget lyvba.com\/apt.sh\nsh apt.sh\ncat  \/target\/etc\/apt\/sources.list  # \u67e5\u770b\u662f\u5426\u4fee\u6539\u6210\u529f<\/code><\/pre>\n<h2>\u5982\u679c\u8fd8\u662f\u5361\u5728security\u5b89\u88c5\uff0c\u53ef\u4ee5\u5148\u4e34\u65f6\u505c\u6b62\u4e0b\u7f51\u7edc\uff0c\u518d\u6062\u590d\u7f51\u7edc<\/h2>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4eec\u77e5\u9053\u56fd\u5185\u4f7f\u7528\u4e2d\u79d1\u5927\u955c\u50cf\uff0c\u53ef\u4ee5\u63d0\u9ad8\u5b89\u88c5\u8f6f\u4ef6\u901f\u5ea6 cd \/etc\/apt sed -i &#8216;s\/deb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,6],"tags":[23],"class_list":["post-532","post","type-post","status-publish","format-standard","hentry","category-linux","category-vps","tag-linux"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=532"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/532\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}