{"id":42,"date":"2025-09-04T14:58:19","date_gmt":"2025-09-04T06:58:19","guid":{"rendered":"https:\/\/www.dandan1ove.top\/?p=42"},"modified":"2025-09-04T14:58:19","modified_gmt":"2025-09-04T06:58:19","slug":"centos6%e3%80%817%e3%80%818%e7%9a%84cloud-init%e4%bf%ae%e5%a4%8d%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.dandan1ove.top\/index.php\/2025\/09\/04\/centos6%e3%80%817%e3%80%818%e7%9a%84cloud-init%e4%bf%ae%e5%a4%8d%e6%96%b9%e6%b3%95\/","title":{"rendered":"Centos6\u30017\u30018\u7684cloud-init\u4fee\u590d\u65b9\u6cd5"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">\u4e00\u3001\u6e05\u7406\u5386\u53f2cloud-init<\/h1>\n\n\n\n<p>cloud-init clean &gt;\/dev\/null 2&gt;&amp;1<br>yum remove cloud-init -y &gt;\/dev\/null 2&gt;&amp;1<br>rm -rf \/etc\/cloud\/cloud-init.disabled<br>rm -rf \/var\/log\/cloud-init*<br>rm -rf \/var\/lib\/cloud<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u4e8c\u3001\u4e0b\u8f7dcloud-init\u5e76\u5b89\u88c5\uff0c\u4ee5centos7.2\u4e3a\u4f8b<\/h1>\n\n\n\n<p>wget https:\/\/uhost-package.cn-bj.ufileos.com\/cloud-init\/CentOS7\/cloud-init-19.4-7.el7.7.ucloud.x86_64.rpm<br>\u200b<br>yum install -y cloud-utils-growpart ethtool yum-plugin-versionlock<br>yum localinstall -y cloud-init-19.4-7.el7.7.ucloud.x86_64.rpm<br>yum versionlock lock cloud-init<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u4e09\u3001\u6e05\u7406\u5b89\u88c5\u75d5\u8ff9<\/h1>\n\n\n\n<p>rm -rf \/etc\/cloud\/cloud-init.disabled<br>rm -rf \/var\/log\/cloud-init*<br>rm -rf \/var\/lib\/cloud<br>rm -f cloud-init-19.4-7.el7.7.ucloud.x86_64.rpm<\/p>\n\n\n\n<p>ps\uff1ahttps:\/\/uhost-package.cn-bj.ufileos.com\/cloud-init\/CentOS8.x\/cloud-init-22.1-8.el8.ucloud.noarch.rpm<\/p>\n\n\n\n<p>\u8fd9\u662fcentos8.*\u7684\u5305<\/p>\n\n\n\n<p>centos8.*\u4fee\u590d\u65b9\u6cd5\u4e00\u6837\uff0c\u4e0b\u8f7d\u7684\u5305\u4e0d\u4e00\u6837<\/p>\n\n\n\n<p>centos6*\u5305:https:\/\/uhost-package.cn-bj.ufileos.com\/cloud-init\/CentOS6\/cloud-init-19.4%2B11.g158c661c-1.el6.noarch.rpm<br>Ubuntu20.04\uff1ahttps:\/\/uhost-package.cn-bj.ufileos.com\/cloud-init\/Ubuntu20.04\/cloud-init_24.1.3-1ubuntu1~20.04.5ucloud_all.deb<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u6e05\u7406\u5386\u53f2cloud-init cloud-init cl&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-42","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dandan1ove.top\/index.php\/wp-json\/wp\/v2\/posts\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dandan1ove.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dandan1ove.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dandan1ove.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dandan1ove.top\/index.php\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":1,"href":"https:\/\/www.dandan1ove.top\/index.php\/wp-json\/wp\/v2\/posts\/42\/revisions"}],"predecessor-version":[{"id":43,"href":"https:\/\/www.dandan1ove.top\/index.php\/wp-json\/wp\/v2\/posts\/42\/revisions\/43"}],"wp:attachment":[{"href":"https:\/\/www.dandan1ove.top\/index.php\/wp-json\/wp\/v2\/media?parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dandan1ove.top\/index.php\/wp-json\/wp\/v2\/categories?post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dandan1ove.top\/index.php\/wp-json\/wp\/v2\/tags?post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}