{"id":215,"date":"2011-01-21T14:24:06","date_gmt":"2011-01-21T06:24:06","guid":{"rendered":"http:\/\/www.lonelyword.com\/?p=215"},"modified":"2011-04-14T08:43:53","modified_gmt":"2011-04-14T00:43:53","slug":"%e5%90%84%e7%a7%8dlinux%e5%bf%98%e8%ae%b0%e5%af%86%e7%a0%81","status":"publish","type":"post","link":"http:\/\/www.lonelyword.com\/?p=215","title":{"rendered":"\u5404\u79cdLinux\u5fd8\u8bb0\u5bc6\u7801"},"content":{"rendered":"<p>Linux\uff1a<\/p>\n<p>1.   \u5728\u51fa\u73b0grub\u753b\u9762\u65f6\uff0c\u7528\u4e0a\u4e0b\u952e\u9009\u4e2d\u4f60\u5e73\u65f6\u542f\u52a8linux\u7684\u90a3\u4e00\u9879\uff0c\u7136\u540e\u6309e\u952e<br \/>\n2.   \u518d\u6b21\u7528\u4e0a\u4e0b\u952e\u9009\u4e2d\u4f60\u5e73\u65f6\u542f\u52a8linux\u7684\u90a3\u4e00\u9879(\u7c7b\u4f3c\u4e8ekernel   \/boot\/vmlinuz-2.4.18-14   ro   root=LABEL=\/)\uff0c\u7136\u540e\u6309e\u952e<br \/>\n3.   \u4fee\u6539\u4f60\u73b0\u5728\u89c1\u5230\u7684\u547d\u4ee4\u884c\uff0c\u52a0\u5165single\uff0c\u7ed3\u679c\u5982\u4e0b\uff1a<br \/>\nkernel   \/boot\/vmlinuz-2.4.18-14   single   ro   root=LABEL=\/<br \/>\n4.   \u56de\u8f66\u8fd4\u56de\uff0c\u7136\u540e\u6309b\u952e\u542f\u52a8\uff0c\u5373\u53ef\u76f4\u63a5\u8fdb\u5165linux\u547d\u4ee4\u884c<br \/>\n5.   #vi   \/etc\/shadow<br \/>\n\u5c06\u7b2c\u4e00\u884c\uff0c\u5373\u4ee5root\u5f00\u5934\u7684\u4e00\u884c\u4e2droot:\u540e\u548c\u4e0b\u4e00\u4e2a:\u524d\u7684\u5185\u5bb9\u5220\u9664\uff0c<br \/>\n\u7b2c\u4e00\u884c\u5c06\u7c7b\u4f3c\u4e8e<br \/>\nroot::&#8230;&#8230;<br \/>\n\u4fdd\u5b58<br \/>\n6.   reboot<\/p>\n<p>Centos\uff1a<br \/>\n\u5f00\u673a\u662f\u5728 grub \u90a3\u5148\u6309 e \uff0c\u4e0b\u4e2a\u753b\u9762\u6309\u5411\u4e0b\u65b9\u5411\u952e\u9009\u62e9 kernel \u5f00\u5934\u7684\u53e5\u5b50<br \/>\n\u518d\u6309\u4e00\u6b21 e\uff0c\u7136\u540e\u6309\uff1a\uff3b\u7a7a\u767d\uff3d1\uff3bEnter]<br \/>\n\u518d\u6309 b \u3002<\/p>\n<p>\u7b49\u8dd1\u5b8c\uff0c\u6253 passwd \uff0c\u968f\u4fbf\u4f60\u6539\u5565\u5bc6\u7801\u90fd\u884c\u3002<br \/>\n\u6539\u5b8c\u6572 reboot \u3002<\/p>\n<p>To be added&#8230;&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\uff1a 1. \u5728\u51fa\u73b0grub\u753b\u9762\u65f6\uff0c\u7528\u4e0a\u4e0b\u952e\u9009\u4e2d\u4f60\u5e73\u65f6\u542f\u52a8linux\u7684\u90a3\u4e00\u9879\uff0c\u7136\u540e\u6309e\u952e 2. \u518d\u6b21\u7528\u4e0a\u4e0b\u952e\u9009\u4e2d\u4f60\u5e73\u65f6\u542f\u52a8linux\u7684\u90a3\u4e00\u9879(\u7c7b\u4f3c\u4e8eker&#8230;<\/p>\n<p class=\"read-more\"><a href=\"http:\/\/www.lonelyword.com\/?p=215\" > Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[202],"tags":[219,220],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=\/wp\/v2\/posts\/215"}],"collection":[{"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=215"}],"version-history":[{"count":0,"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=\/wp\/v2\/posts\/215\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}