﻿{"id":65,"date":"2018-03-29T14:46:34","date_gmt":"2018-03-29T06:46:34","guid":{"rendered":"http:\/\/www.cloudy.pub\/?p=65"},"modified":"2018-03-29T14:46:34","modified_gmt":"2018-03-29T06:46:34","slug":"centos-7-0-%e7%b3%bb%e7%bb%9f%e6%9b%b4%e6%94%b9%e5%86%85%e6%a0%b8%e5%90%af%e5%8a%a8%e9%a1%ba%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/www.0moon.com\/?p=65","title":{"rendered":"CentOS 7.0 \u7cfb\u7edf\u66f4\u6539\u5185\u6838\u542f\u52a8\u987a\u5e8f"},"content":{"rendered":"<p>\u53ef\u4ee5 uname -a\u67e5\u4e0b\u5f53\u524d\u7684.<br \/>\n\u7531\u4e8e CentOS 7 \u4f7f\u7528 grub2 \u4f5c\u4e3a\u5f15\u5bfc\u7a0b\u5e8f\uff0c\u6240\u4ee5\u548c CentOS 6 \u6709\u6240\u4e0d\u540c\uff0c\u5e76\u4e0d\u662f\u4fee\u6539 \/etc\/grub.conf \u6765\u4fee\u6539\u542f\u52a8\u9879\uff0c\u9700\u8981\u5982\u4e0b\u64cd\u4f5c\uff1a<br \/>\n1. \u67e5\u770b\u7cfb\u7edf\u5185\u90e8\u6709\u591a\u5c11\u4e2a\u5185\u6838\uff1a<br \/>\ncat \/boot\/grub2\/grub.cfg |grep menuentry<\/p>\n<p>2..\u914d\u7f6e\u4ece\u9ed8\u8ba4\u5185\u6838\u542f\u52a8\uff0c\u4e0b\u9762\u547d\u4ee4\u7684\u5185\u6838\u540d\u79f0\u6839\u636e\u7cfb\u7edf\u5185\u90e8\u67e5\u5230\u7684\u5b9e\u9645\u540d\u79f0\u6765\u66ff\u6362\uff1a<br \/>\ngrub2-set-default \u201cCentOS Linux (3.10.0-123.9.3.el7.x86_64) 7 (Core)\u201d<\/p>\n<p>3. \u9a8c\u8bc1\u662f\u5426\u914d\u7f6e\u6210\u529f\uff1a<br \/>\ngrub2-editenv list<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u53ef\u4ee5 uname -a\u67e5\u4e0b\u5f53\u524d\u7684. \u7531\u4e8e CentOS 7 \u4f7f\u7528 grub2 \u4f5c\u4e3a\u5f15\u5bfc\u7a0b\u5e8f\uff0c\u6240\u4ee5\u548c CentO [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,13],"tags":[32,34,33],"class_list":["post-65","post","type-post","status-publish","format-standard","hentry","category-linux","category-study","tag-centos","tag-34","tag-33"],"_links":{"self":[{"href":"https:\/\/www.0moon.com\/index.php?rest_route=\/wp\/v2\/posts\/65","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.0moon.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.0moon.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.0moon.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.0moon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=65"}],"version-history":[{"count":1,"href":"https:\/\/www.0moon.com\/index.php?rest_route=\/wp\/v2\/posts\/65\/revisions"}],"predecessor-version":[{"id":66,"href":"https:\/\/www.0moon.com\/index.php?rest_route=\/wp\/v2\/posts\/65\/revisions\/66"}],"wp:attachment":[{"href":"https:\/\/www.0moon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.0moon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.0moon.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}