{"id":1089,"date":"2016-08-08T02:00:30","date_gmt":"2016-08-07T18:00:30","guid":{"rendered":"http:\/\/cn.hostease.com\/xueyuan\/?p=1089"},"modified":"2024-11-15T16:04:45","modified_gmt":"2024-11-15T08:04:45","slug":"%e4%bf%ae%e6%94%b9centos%e5%86%85%e6%a0%b8%e5%90%af%e5%8a%a8%e9%a1%ba%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/jishu\/linux\/%e4%bf%ae%e6%94%b9centos%e5%86%85%e6%a0%b8%e5%90%af%e5%8a%a8%e9%a1%ba%e5%ba%8f\/","title":{"rendered":"\u4fee\u6539Centos\u5185\u6838\u542f\u52a8\u987a\u5e8f"},"content":{"rendered":"<div>\n<div>\u7f16\u8f91 vi \/etc\/grub.conf<\/div>\n<div><\/div>\n<div># grub.conf generated by anaconda<\/div>\n<div>#<\/div>\n<div># Note that you do not have to rerun grub after making changes to this file<\/div>\n<div># NOTICE: \u00a0<wbr \/>You have a \/boot partition. \u00a0<wbr \/>This means that<\/div>\n<div># \u00a0<wbr \/> \u00a0<wbr \/> \u00a0<wbr \/> \u00a0<wbr \/> \u00a0<wbr \/>all kernel and initrd paths are relative to \/boot\/, eg.<\/div>\n<div># \u00a0<wbr \/> \u00a0<wbr \/> \u00a0<wbr \/> \u00a0<wbr \/> \u00a0<wbr \/>root (hd0,0)<\/div>\n<div># \u00a0<wbr \/> \u00a0<wbr \/> \u00a0<wbr \/> \u00a0<wbr \/> \u00a0<wbr \/>kernel \/vmlinuz-version ro root=\/dev\/mapper\/vg-root<\/div>\n<div># \u00a0<wbr \/> \u00a0<wbr \/> \u00a0<wbr \/> \u00a0<wbr \/> \u00a0<wbr \/>initrd \/initrd-[generic-]version.img<\/div>\n<div><span style=\"color: #000000;\">#boot=\/dev\/sda<\/span><\/div>\n<div><span style=\"color: #000000;\">default=2<\/span><\/div>\n<div><span style=\"color: #000000;\">timeout=30<\/span><\/div>\n<div><span style=\"color: #000000;\">splashimage=(hd0,0)\/grub\/splash.xpm.gz<\/span><\/div>\n<div><span style=\"color: #000000;\">hiddenmenu<\/span><\/div>\n<div><span style=\"color: #000000;\">title CloudLinux Server (2.6.32-673.8.1.lve1.4.3.1.el6.x86_64)<\/span><\/div>\n<p><span style=\"color: #000000;\">~<\/span><\/p>\n<div><span style=\"color: #000000;\">title CloudLinux Server (2.6.32-673.8.1.lve1.4.3.1.el6.x86_64.debug)<\/span><\/div>\n<p><span style=\"color: #000000;\">~<\/span><\/p>\n<div><span style=\"color: #000000;\">title CloudLinux Server (2.6.32-531.23.3.lve1.3.6.el6.x86_64)<\/span><\/div>\n<p><span style=\"color: #000000;\">~<\/span><\/p>\n<div><span style=\"color: #000000;\">title CloudLinux Server (2.6.32-458.6.2.lve1.2.30.el6.x86_64)<\/span><\/div>\n<p><span style=\"color: #000000;\">~<\/span><\/p>\n<div><span style=\"color: #000000;\">title CentOS (2.6.32-358.14.1.el6.x86_64)<\/span><\/div>\n<p><span style=\"color: #000000;\">~<\/span><\/p>\n<div><span style=\"color: #000000;\">title CentOS (2.6.32-220.el6.x86_64)<\/span><\/div>\n<div><span style=\"color: #000000;\">~<\/span><\/div>\n<div>~<\/div>\n<p>\/\/\u4e0a\u9762\u7701\u53bb\u4e86\u90e8\u5206\u5b57\u7b26.<\/p><\/div>\n<div>\n\u5c06\u5176\u4e2d\u7684default =0\u6539\u4e3a\u4f60\u9700\u8981\u7684\u5373\u53ef\u3002\uff08\u6ce8\uff1a\u9ed8\u8ba4\u987a\u5e8f\u662f\u4ece0\u5f00\u59cb\uff09 \u00a0<wbr \/> \u00a0<wbr \/><\/div>\n<div><\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7f16\u8f91 vi \/etc\/grub.conf # grub.conf generated by anaconda  &#8230; <a title=\"\u4fee\u6539Centos\u5185\u6838\u542f\u52a8\u987a\u5e8f\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/linux\/%e4%bf%ae%e6%94%b9centos%e5%86%85%e6%a0%b8%e5%90%af%e5%8a%a8%e9%a1%ba%e5%ba%8f\/\" aria-label=\"\u9605\u8bfb \u4fee\u6539Centos\u5185\u6838\u542f\u52a8\u987a\u5e8f\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[49],"tags":[1589,1590],"class_list":["post-1089","post","type-post","status-publish","format-standard","hentry","category-linux","tag-centos","tag-1590"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=1089"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1089\/revisions"}],"predecessor-version":[{"id":1090,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1089\/revisions\/1090"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=1089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=1089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=1089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}