{"id":215,"date":"2023-07-01T09:19:47","date_gmt":"2023-07-01T01:19:47","guid":{"rendered":"https:\/\/127.0.0.1\/?p=215"},"modified":"2024-11-15T11:19:24","modified_gmt":"2024-11-15T03:19:24","slug":"%e6%80%8e%e6%a0%b7%e5%9c%a8%e7%b3%bb%e7%bb%9f%e4%b8%8a%e4%bd%bf%e7%94%a8ubuntu%e4%b8%93%e4%b8%9a%e7%89%88","status":"publish","type":"post","link":"https:\/\/silky.cn\/?p=215","title":{"rendered":"\u600e\u6837\u5728\u7cfb\u7edf\u4e0a\u4f7f\u7528Ubuntu\u4e13\u4e1a\u7248"},"content":{"rendered":"\r\n<p>\u600e\u6837\u5728\u7cfb\u7edf\u4e0a\u4f7f\u7528Ubuntu\u4e13\u4e1a\u7248<\/p>\r\n\r\n\r\n\r\n<p>\u83b7\u53d6Ubuntu Pro \u514d\u8d39\u4e2a\u4eba\u8ba2\u9605<\/p>\r\n\r\n\r\n\r\n<p>\u5728Ubuntu\u6ce8\u518c\u8d26\u53f7\uff0c\u83b7\u53d6 Livepatch \u8ba2\u9605\u53f7\uff0c\u4f7f\u7528\u8be5\u8ba2\u9605\u53f7\uff0c\u53ef\u4ee5\u514d\u8d39\u5728\u4e94\u53f0\u7cfb\u7edf\u4e0a\u4f7f\u7528Ubuntu\u4e13\u4e1a\u7248\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u5728\u7cfb\u7edf\u4e0a\u4f7f\u7528Ubuntu Livepatch<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li># sudo ua attach [\u8ba2\u9605\u53f7]<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u7cfb\u7edf\u4f1a\u8fd4\u56de\u5982\u4e0b\uff1a<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>silky-cn@ubuntu:~$ sudo ua attach[\u4f60\u7684\u8ba2\u9605\u53f7]<\/li>\r\n\r\n\r\n\r\n<li>Enabling default service esm-infra<\/li>\r\n\r\n\r\n\r\n<li>Updating package lists<\/li>\r\n\r\n\r\n\r\n<li>Ubuntu Pro: ESM Infra enabled<\/li>\r\n\r\n\r\n\r\n<li>Enabling default service livepatch<\/li>\r\n\r\n\r\n\r\n<li>Installing snapd<\/li>\r\n\r\n\r\n\r\n<li>Updating package lists<\/li>\r\n\r\n\r\n\r\n<li>Installing canonical-livepatch snap<\/li>\r\n\r\n\r\n\r\n<li>Canonical livepatch enabled.<\/li>\r\n\r\n\r\n\r\n<li>This machine is now attached to &#8216;Ubuntu Pro &#8211; free personal subscription&#8217;<\/li>\r\n\r\n\r\n\r\n<li>SERVICE ENTITLED STATUS DESCRIPTION<\/li>\r\n\r\n\r\n\r\n<li>esm-infra yes enabled Expanded Security Maintenance for Infrastructure<\/li>\r\n\r\n\r\n\r\n<li>fips yes disabled NIST-certified core packages<\/li>\r\n\r\n\r\n\r\n<li>fips-updates yes disabled NIST-certified core packages with priority security updates<\/li>\r\n\r\n\r\n\r\n<li>livepatch yes enabled Canonical Livepatch service<\/li>\r\n\r\n\r\n\r\n<li>usg yes disabled Security compliance and audit tools<\/li>\r\n\r\n\r\n\r\n<li>NOTICES<\/li>\r\n\r\n\r\n\r\n<li>Operation in progress: pro attach<\/li>\r\n\r\n\r\n\r\n<li>Enable services with: pro enable &lt;service&gt;<\/li>\r\n\r\n\r\n\r\n<li>Account: [\u4f60\u7684\u8d26\u53f7\u90ae\u7bb1\u53f7\u7801]<\/li>\r\n\r\n\r\n\r\n<li>Subscription: Ubuntu Pro &#8211; free personal subscription<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u5728\u7cfb\u7edf\u4e0a\u542f\u7528Livepatch<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li># sudo ua enable livepatch<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/wp-content\/uploads\/2023\/07\/2_20221027153949-.jpg\" alt=\"\" width=\"1006\" height=\"502\" \/><\/figure>\r\n\r\n\r\n\r\n<p>\u67e5\u8be2Ubuntu \u662f\u5426\u542f\u7528livepatch\u72b6\u6001\u00a0<\/p>\r\n\r\n\r\n\r\n<p>\u4f7f\u7528\u547d\u4ee4\uff1a<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li># sudo pro enable livepatch<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u542f\u7528Livepatch\uff0c\u5c06\u8fd4\u56de\u5982\u4e0b\uff1a<\/p>\r\n\r\n\r\n\r\n<p>One moment, checking your subscription first<\/p>\r\n\r\n\r\n\r\n<p>Livepatch is already enabled.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/silky.cn\/wp-content\/uploads\/2023\/07\/2_2023011610380834e3f.jpeg\" alt=\"\" width=\"525\" height=\"114\" \/><\/figure>\r\n\r\n\r\n\r\n<p>\u67e5\u8be2Ubuntu pro \u7684\u72b6\u6001<\/p>\r\n\r\n\r\n\r\n<p>\u4f7f\u7528\u547d\u4ee4\uff1a<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li># canonical-livepatch status<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u5c06\u8fd4\u56de\u5982\u4e0b\uff1a<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>last check: 56 minutes ago<\/li>\r\n\r\n\r\n\r\n<li>kernel: 5.15.0-57.63-generic<\/li>\r\n\r\n\r\n\r\n<li>server check-in: succeeded<\/li>\r\n\r\n\r\n\r\n<li>patch state: \u2713 no livepatches needed for this kernel yet<\/li>\r\n\r\n\r\n\r\n<li>tier: updates (Free usage; This machine beta tests new patches.)<\/li>\r\n\r\n\r\n\r\n<li>machine id:215698nm56nh4303652koh2f02km62m3<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/silky.cn\/wp-content\/uploads\/2023\/07\/2_202301161040260b047.jpg\" alt=\"\" \/><\/figure>\r\n","protected":false},"excerpt":{"rendered":"<p><span itemprop=\"description\">\u600e\u6837\u5728\u7cfb\u7edf\u4e0a\u4f7f\u7528Ubuntu\u4e13\u4e1a\u7248 \u83b7\u53d6Ubuntu Pro\u2026 <a class=\"read-more-candy\" href=\"https:\/\/silky.cn\/?p=215\">\ud83c\udf6c \u56bc\u4e00\u56bc<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[52],"class_list":["post-215","post","type-post","status-publish","format-standard","hentry","category-essay","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/silky.cn\/index.php?rest_route=\/wp\/v2\/posts\/215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/silky.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/silky.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/silky.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/silky.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=215"}],"version-history":[{"count":10,"href":"https:\/\/silky.cn\/index.php?rest_route=\/wp\/v2\/posts\/215\/revisions"}],"predecessor-version":[{"id":994,"href":"https:\/\/silky.cn\/index.php?rest_route=\/wp\/v2\/posts\/215\/revisions\/994"}],"wp:attachment":[{"href":"https:\/\/silky.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/silky.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/silky.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}