{"id":59,"date":"2022-08-18T00:27:21","date_gmt":"2022-08-17T16:27:21","guid":{"rendered":"https:\/\/blog.maoyulong.club\/?p=59"},"modified":"2022-08-18T00:27:23","modified_gmt":"2022-08-17T16:27:23","slug":"ubuntu-%e9%80%9a%e7%94%a8%e5%8d%87%e7%ba%a7%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/blog.maoyulong.club\/?p=59","title":{"rendered":"ubuntu \u901a\u7528\u5347\u7ea7\u65b9\u6cd5"},"content":{"rendered":"<h3 id=\"\u5148\u8bf4\u7ed3\u8bba\">\u5148\u8bf4\u7ed3\u8bba<\/h3>\n<p>\u5176\u5b9e\u6211\u89c9\u5f97\u76f8\u6bd4\u4e8edo-release-upgrade\u547d\u4ee4\u6765\u8bf4\uff0c\u624b\u5de5\u4fee\u6539apt\u6e90\u66f4\u4e3a\u7b80\u5355\u66b4\u529b<\/p>\n<p>\u76f4\u63a5\u5728\u5404\u4e2a\u955c\u50cf\u7ad9\u66f4\u6362\u5bf9\u5e94\u7684\u6e90,\u4f8b\u5982 <a href=\"https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/ubuntu\/\" target=\"_blank\"  rel=\"nofollow\" >ubuntu | \u955c\u50cf\u7ad9\u4f7f\u7528\u5e2e\u52a9 | \u6e05\u534e\u5927\u5b66\u5f00\u6e90\u8f6f\u4ef6\u955c\u50cf\u7ad9 | Tsinghua Open Source Mirror<\/a><\/p>\n<p>\u7136\u540e\u6267\u884c\u66f4\u65b0<\/p>\n<pre><code class=\"language-shell\" lang=\"shell\">apt update\napt upgrade -y\napt dist-upgrade -y\n<\/code><\/pre>\n<p>\u6ce8\u610f\uff0cssh\u7b49\u547d\u4ee4\u9700\u8981\u4f60\u81ea\u5df1\u53bb\u786e\u5b9a\u662f\u5426\u9700\u8981\u91cd\u542f\u3002\u8bf7\u786e\u8ba4\u5f53\u524d\u7684\u8fde\u63a5\u65b9\u5f0f\u662f\u5426\u53ef\u4ee5\u8fd9\u4e48\u505a<\/p>\n<p>\u7136\u540e\u5220\u9664\u4f9d\u8d56\uff0c\u6267\u884c\u91cd\u542f<\/p>\n<pre><code class=\"language-shell\" lang=\"shell\">apt autoclean\napt autoremove -y\nreboot\n<\/code><\/pre>\n<p>\u7b49\u5f85\u540e\u67e5\u770b\u7cfb\u7edf\u7248\u672c<\/p>\n<pre><code class=\"language-shell\" lang=\"shell\">lsb_release -a\n<\/code><\/pre>\n<p>\u8981\u8bf4\u4e3a\u4ec0\u4e48\u8981\u5347\u7ea7\u7cfb\u7edf\uff0c\u4e8b\u5b9e\u4e0a\u662f\u56e0\u4e3a\u518d\u548c\u5f80\u5e38\u4e00\u6837\u6267\u884capt\u5b89\u88c5\u7684\u65f6\u5019\u65e0\u6cd5\u8fde\u63a5\u4e86\u3002<\/p>\n<h3 id=\"\u5982\u4f55\u5347\u7ea7\u8fc7\u671f\u7248\u672c\u7684ubuntu\">\u5982\u4f55\u5347\u7ea7\u8fc7\u671f\u7248\u672c\u7684ubuntu<\/h3>\n<p>\u5f53\u7136\u6709\u4e00\u90e8\u5206\u4eba\u66f4\u65b0\u5e94\u8be5\u5c31\u662f\u548c\u6211\u4e00\u6837\uff0c\u5176\u5b9e\u5728\u8fd9\u4e4b\u524d\u6211\u662f\u4ee5\u4e3a\uff0c04\u5c31\u662fLTS\uff0c\u4f46\u662f\u4f3c\u4e4e\u662f04\u7684\u5076\u6570\u7248\u672c\u548c\u5947\u6570\u768410\u7248\u672c\u624d\u662fLTS\u3002<\/p>\n<p>\u6b64\u65f6\uff0c\u4f60\u9700\u8981\u5c06\u4f60\u7684\u955c\u50cf\u6e90\u66f4\u6539\u4e3aold-releases.ubuntu.com\uff0c\u8fd9\u4e2a\u7f51\u7ad9\u4f1a\u4fdd\u7559\u751f\u547d\u5468\u671f\u7ed3\u675f\u7684ubuntu\u4ed3\u5e93<\/p>\n<h3 id=\"\u9898\u5916\u8bdd\u90a3\u4e48\u8fd9\u6b21apt\u5230\u5e95\u662f\u88c5\u4e86\u4ec0\u4e48\u5462\">\u9898\u5916\u8bdd\uff1a\u90a3\u4e48\u8fd9\u6b21apt\u5230\u5e95\u662f\u88c5\u4e86\u4ec0\u4e48\u5462<\/h3>\n<p>\u6211\u4e4b\u524d\u6ce8\u610f\u5230\u4e86\uff0c\u6211\u7684longhorn\u5176\u5b9e\u662f\u4e0d\u652f\u6301RWX\u7684\uff0c\u4f46\u662f\u4e8b\u5b9e\u4e0a\u8ba9longhorn\u652f\u6301RWX\u662f\u5f88\u7b80\u5355\u7684\uff0clonghorn\u901a\u8fc7NFSv4\u670d\u52a1\u5668\u6765\u516c\u5f00longhorn\u5377\uff0c\u53ea\u9700\u8981\u5728\u4e3b\u673a\u4e0a\u5b89\u88c5NFSv4\u5ba2\u6237\u7aef\u5373\u53ef<\/p>\n<p>\u5bf9\u4e8eubuntu\uff1a<\/p>\n<pre><code class=\"language-shell\" lang=\"shell\">apt install nfs-common\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u8bf4\u7ed3\u8bba \u5176\u5b9e\u6211\u89c9\u5f97\u76f8\u6bd4\u4e8edo-release-upgrade\u547d\u4ee4\u6765\u8bf4\uff0c\u624b\u5de5\u4fee\u6539apt\u6e90\u66f4\u4e3a\u7b80\u5355\u66b4\u529b \u76f4\u63a5\u5728\u5404\u4e2a\u955c\u50cf\u7ad9\u66f4\u6362\u5bf9\u5e94\u7684\u6e90 &#8230;<\/p>","protected":false},"author":1,"featured_media":60,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=59"}],"version-history":[{"count":1,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/posts\/59\/revisions"}],"predecessor-version":[{"id":61,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/posts\/59\/revisions\/61"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/media\/60"}],"wp:attachment":[{"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}