{"id":808,"date":"2021-08-22T19:30:06","date_gmt":"2021-08-22T11:30:06","guid":{"rendered":"https:\/\/www.eutaboo.com\/?p=808"},"modified":"2022-05-16T10:13:25","modified_gmt":"2022-05-16T02:13:25","slug":"dedipath%e7%ad%89openvz%e5%8d%87%e7%ba%a7debian11","status":"publish","type":"post","link":"https:\/\/www.eutaboo.com\/index.php\/2021\/08\/22\/dedipath%e7%ad%89openvz%e5%8d%87%e7%ba%a7debian11\/","title":{"rendered":"dedipath\u7b49openvz\u5347\u7ea7Debian11"},"content":{"rendered":"<h2>\u8981\u6c42<\/h2>\n<p>\u7cfb\u7edf\u4e3aDebian10<\/p>\n<h2>\u6b65\u9aa4<\/h2>\n<h3>1. \u66f4\u65b0\u73b0\u6709\u8f6f\u4ef6\u5305<\/h3>\n<p>\u5347\u7ea7\u524d\u5148\u66f4\u65b0\u5f53\u524d\u7684\u8f6f\u4ef6\u5305\u6838\u5b89\u5168\u8865\u4e01\u5230\u6700\u65b0\u7248\u672c\uff1a<br \/>\n\u5220\u9664\u672a\u4f7f\u7528\u7684\u4f9d\u8d56\u9879\uff1a<\/p>\n<pre><code class=\"language-ssh line-numbers\">apt --purge autoremove\n<\/code><\/pre>\n<h3>2. \u66f4\u65b0 sources.list \u6587\u4ef6<\/h3>\n<p>\u63a5\u4e0b\u6765\u9700\u8981\u6dfb\u52a0\u7528\u4e8e bullseye \u7684\u6e90\uff0c\u5c06 <code>\/etc\/apt\/sources.list<\/code> \u4e2d\u7684 buster \u66ff\u6362\u4e3a bullseye\uff0cbuster\/updates \u66ff\u6362\u4e3a bullseye-security\u3002<br \/>\n\u6216\u8005\u76f4\u63a5\u6ce8\u91ca\u539f\u6765\u7684\u5185\u5bb9\uff0c\u6dfb\u52a0\uff1a<\/p>\n<pre><code class=\"language-ssh line-numbers\">deb http:\/\/deb.debian.org\/debian bullseye main\ndeb-src http:\/\/deb.debian.org\/debian bullseye main\ndeb http:\/\/deb.debian.org\/debian-security\/ bullseye-security main\ndeb-src http:\/\/deb.debian.org\/debian-security\/ bullseye-security main\ndeb http:\/\/deb.debian.org\/debian bullseye-updates main\ndeb-src http:\/\/deb.debian.org\/debian bullseye-updates main\n<\/code><\/pre>\n<h3>3. \u5347\u7ea7\u5230 Debian 11<\/h3>\n<p>\u6267\u884c\u4e00\u4e0b\u547d\u4ee4<\/p>\n<pre><code class=\"language-ssh line-numbers\">apt update &amp;&amp; apt full-upgrade\n<\/code><\/pre>\n<p>\u4f1a\u63d0\u793a\u662f\u5426\u5347\u7ea7\uff0c\u9009\u62e9<code>y<\/code><\/p>\n<pre><code class=\"language-ssh line-numbers\">343 upgraded, 53 newly installed, 3 to remove and 0 not upgraded.\nNeed to get 165 MB of archives.\nAfter this operation, 140 MB of additional disk space will be used.\nDo you want to continue? [Y\/n]\n<\/code><\/pre>\n<p>\u63a5\u4e0b\u6765\u7684keymap\u9ed8\u8ba4\u5373\u53ef<\/p>\n<p>\u4f60\u53ef\u80fd\u4f1a\u770b\u5230\u6709\u5173\u91cd\u65b0\u542f\u52a8\u670d\u52a1\u6216\u66f4\u65b0\u73b0\u6709\u914d\u7f6e\u9009\u9879\u7684\u63d0\u793a\u3002\u56e0\u4e3a\u5728\u5347\u7ea7\u7279\u5b9a\u5e93\uff08\u4f8b\u5982 libpam\u3001libc \u548c libssl\uff09\u65f6\uff0c\u7531\u4e8e\u91cd\u65b0\u542f\u52a8\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7cfb\u7edf\u670d\u52a1\u4e2d\u65ad\uff0c\u6bd4\u5982\u4e0b\u56fe\u4e2d\u6211\u9009\u62e9\u7684\u662fyes\uff0c\u91cd\u542f\u670d\u52a1\u4e0d\u9700\u8981\u8be2\u95ee\uff0c\u6309Enter\u952e\u7ee7\u7eed\uff1a<br \/>\n[img]https:\/\/vkceyugu.cdn.bspapp.com\/VKCEYUGU-df9040b6-66ef-461b-92a5-f74c4e71766f\/5b79882e-ea40-49a8-9731-658bf8f1d76a.png[\/img]<\/p>\n<p>\u63a5\u4e0b\u6765\u7684\u4e00\u7cfb\u5217\u5305\u542b<code>*** mlocate (Y\/I\/N\/O\/D\/Z) [default=N] ?<\/code>\u7684\u9009\u9879\uff0c\u9009<code>y<\/code>\uff0c<code>n<\/code>\u90fd\u53ef\uff0c\u770b\u4e2a\u4eba\u559c\u597d\u3002<\/p>\n<p>\u4e4b\u540e\u4f1a\u95ee\u4f60\u662f\u5426\u66f4\u65b0 OpenSSH \u914d\u7f6e\u6587\u4ef6\uff0c\u6211\u9009\u62e9\u7684\u662f\u4fdd\u7559\u5f53\u524d\u7248\u672c\uff0c\u5982\u679c\u4f60\u66f4\u6539\u4e86 ssh \u7aef\u53e3\u6216\u8005\u8bbe\u7f6e\u4e86\u5bc6\u94a5\u767b\u5f55\uff0c\u6700\u597d\u4fdd\u7559\u3002<br \/>\n[img]https:\/\/vkceyugu.cdn.bspapp.com\/VKCEYUGU-df9040b6-66ef-461b-92a5-f74c4e71766f\/5f62c98a-b5c7-4384-8d7d-3574006f7ad5.png[\/img]<\/p>\n<h3>4. \u67e5\u770b\u662f\u5426\u66f4\u65b0\u5b8c\u6210<\/h3>\n<pre><code class=\"language-ssh line-numbers\">root@linux:~# cat \/etc\/debian_version \n11.0\n<\/code><\/pre>\n<p>\u5982\u4e0a\u6240\u793a\uff0c\u7cfb\u7edf\u5df2\u6210\u529f\u5347\u7ea7\u5230debian11.<\/p>\n<p>\u91cd\u542f\u7cfb\u7edf\uff0c\u5b8c\u6210\u66f4\u65b0<\/p>\n<pre><code class=\"language-ssh line-numbers\">reboot\n<\/code><\/pre>\n<p>\u6267\u884c\u540e\uff0c\u7b49\u91cd\u542f\u5b8c\u6210\u5373\u53ef\u5b8c\u6210\u66f4\u65b0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8981\u6c42 \u7cfb\u7edf\u4e3aDebian10 \u6b65\u9aa4 1. \u66f4\u65b0\u73b0\u6709\u8f6f\u4ef6\u5305 \u5347\u7ea7\u524d\u5148\u66f4\u65b0\u5f53\u524d\u7684\u8f6f\u4ef6\u5305\u6838\u5b89\u5168\u8865\u4e01\u5230\u6700\u65b0\u7248\u672c\uff1a \u5220\u9664\u672a\u4f7f\u7528\u7684\u4f9d\u8d56\u9879\uff1a a &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[4,5],"tags":[71,74,73],"class_list":["post-808","post","type-post","status-publish","format-standard","hentry","category-4","category-5","tag-debian11","tag-dedipath","tag-openvz"],"_links":{"self":[{"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/posts\/808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/comments?post=808"}],"version-history":[{"count":1,"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/posts\/808\/revisions"}],"predecessor-version":[{"id":922,"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/posts\/808\/revisions\/922"}],"wp:attachment":[{"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/media?parent=808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/categories?post=808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/tags?post=808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}