{"id":28165,"date":"2025-04-19T23:21:33","date_gmt":"2025-04-19T15:21:33","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/28165.html"},"modified":"2025-04-19T23:21:33","modified_gmt":"2025-04-19T15:21:33","slug":"linux%e9%87%8d%e5%90%af%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%9a%84%e5%a4%9a%e7%a7%8d%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/28165.html","title":{"rendered":"Linux\u91cd\u542f\u670d\u52a1\u5668\u7684\u591a\u79cd\u65b9\u6cd5"},"content":{"rendered":"<h4>Linux\u91cd\u542f\u670d\u52a1\u5668\u7684\u591a\u79cd\u65b9\u6cd5&#xff1a;\u5168\u9762\u6307\u5357<\/h4>\n<p>\u5728\u7ba1\u7406Linux\u670d\u52a1\u5668\u7684\u8fc7\u7a0b\u4e2d&#xff0c;\u6709\u65f6\u5019\u91cd\u542f\u662f\u89e3\u51b3\u95ee\u9898\u6216\u66f4\u65b0\u914d\u7f6e\u7684\u6709\u6548\u624b\u6bb5\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u4e94\u79cd\u5e38\u89c1\u7684\u91cd\u542fLinux\u670d\u52a1\u5668\u7684\u65b9\u6cd5&#xff0c;\u4ee5\u53ca\u5b83\u4eec\u9002\u7528\u7684\u4e0d\u540c\u60c5\u51b5\u3002<\/p>\n<h5>1. \u4f7f\u7528shutdown<\/h5>\n<p>sudo shutdown -r now<\/p>\n<p>\u8fd9\u662f\u6700\u4f20\u7edf\u7684\u65b9\u5f0f\u4e4b\u4e00&#xff0c;\u5176\u4e2d-r\u4ee3\u8868\u91cd\u542f&#xff08;reboot&#xff09;&#xff0c;now\u8868\u793a\u7acb\u5373\u6267\u884c\u3002\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u4f18\u96c5\u5730\u505c\u6b62\u6240\u6709\u8fd0\u884c\u4e2d\u7684\u8fdb\u7a0b&#xff0c;\u7136\u540e\u91cd\u542f\u7cfb\u7edf\u3002<\/p>\n<h5>2. \u5229\u7528reboot<\/h5>\n<p>sudo reboot<\/p>\n<p>\u8fd9\u662f\u4e00\u4e2a\u76f4\u63a5\u4e14\u7b80\u6d01\u7684\u547d\u4ee4&#xff0c;\u4e13\u95e8\u7528\u4e8e\u91cd\u542f\u76ee\u7684&#xff0c;\u65e0\u9700\u989d\u5916\u53c2\u6570\u3002<\/p>\n<h5>3. init\u547d\u4ee4\u4e0e\u8fd0\u884c\u7ea7\u522b\u5207\u6362<\/h5>\n<p>sudo init 6<\/p>\n<p>\u65e9\u671f\u7684Linux\u7cfb\u7edf\u4f7f\u7528\u8fd9\u79cd\u65b9\u5f0f\u91cd\u542f\u3002\u6570\u5b576\u4ee3\u8868\u91cd\u65b0\u542f\u52a8\u3002\u7136\u800c&#xff0c;\u5728Systemd\u7cfb\u7edf\u4e2d&#xff0c;\u6b64\u65b9\u6cd5\u53ef\u80fd\u4e0d\u9002\u7528\u3002<\/p>\n<h5>4. systemctl\u7684\u73b0\u4ee3\u89e3\u51b3\u65b9\u6848<\/h5>\n<p>sudo systemctl reboot<\/p>\n<p>\u5bf9\u4e8e\u4f7f\u7528Systemd\u4f5c\u4e3a\u521d\u59cb\u5316\u7cfb\u7edf\u7684\u73b0\u4ee3Linux\u53d1\u884c\u7248&#xff0c;\u8fd9\u662f\u9996\u9009\u7684\u91cd\u542f\u65b9\u5f0f\u3002systemctl\u63d0\u4f9b\u4e86\u9ad8\u5ea6\u96c6\u6210\u548c\u7075\u6d3b\u7684\u670d\u52a1\u7ba1\u7406\u80fd\u529b\u3002<\/p>\n<h5>5. \u786c\u91cd\u542f&#xff1a;\u6700\u540e\u7684\u9009\u62e9<\/h5>\n<p>\u5728\u6781\u7aef\u60c5\u51b5\u4e0b&#xff0c;\u5982\u64cd\u4f5c\u7cfb\u7edf\u5b8c\u5168\u51bb\u7ed3\u65e0\u6cd5\u54cd\u5e94\u65f6&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u7535\u6e90\u6309\u94ae\u8fdb\u884c\u786c\u91cd\u542f\u3002\u4f46\u8fd9\u79cd\u505a\u6cd5\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6570\u636e\u4e22\u5931\u6216\u786c\u4ef6\u635f\u4f24&#xff0c;\u5e94\u8c28\u614e\u4f7f\u7528\u3002<\/p>\n<h5>\u7ed3\u8bba<\/h5>\n<p>\u4ee5\u4e0a\u5c31\u662f\u91cd\u542fLinux\u670d\u52a1\u5668\u7684\u5e38\u89c1\u65b9\u5f0f\u3002\u8bb0\u5f97\u5728\u6267\u884c\u524d\u4fdd\u5b58\u597d\u5de5\u4f5c\u8fdb\u5ea6&#xff0c;\u5e76\u5c3d\u91cf\u9009\u62e9\u9002\u5408\u5f53\u524d\u73af\u5883\u7684\u91cd\u542f\u7b56\u7565&#xff0c;\u4ee5\u786e\u4fdd\u64cd\u4f5c\u7684\u5b89\u5168\u6027\u548c\u6548\u7387\u3002<\/p>\n<p>\u5e0c\u671b\u8fd9\u4e9b\u4fe1\u606f\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9&#xff01;\u5982\u679c\u4f60\u6709\u5176\u4ed6\u7591\u95ee\u6216\u9700\u8981\u8fdb\u4e00\u6b65\u7684\u6280\u672f\u652f\u6301&#xff0c;\u8bf7\u968f\u65f6\u63d0\u95ee\u3002\u5b89\u5168\u91cd\u542f&#xff0c;\u6109\u5feb\u7ba1\u7406&#xff01;&#x1f680;\u2728<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.5k\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf5\u6b21\u3002\u5728\u6781\u7aef\u60c5\u51b5\u4e0b\uff0c\u5982\u64cd\u4f5c\u7cfb\u7edf\u5b8c\u5168\u51bb\u7ed3\u65e0\u6cd5\u54cd\u5e94\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u7535\u6e90\u6309\u94ae\u8fdb\u884c\u786c\u91cd\u542f\u3002\u4f46\u8fd9\u79cd\u505a\u6cd5\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6570\u636e\u4e22\u5931\u6216\u786c\u4ef6\u635f\u4f24\uff0c\u5e94\u8c28\u614e\u4f7f\u7528\u3002_linux\u670d\u52a1\u5668\u91cd\u542f<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,149,43],"topic":[],"class_list":["post-28165","post","type-post","status-publish","format-standard","hentry","category-server","tag-linux","tag-windows","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux\u91cd\u542f\u670d\u52a1\u5668\u7684\u591a\u79cd\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/28165.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux\u91cd\u542f\u670d\u52a1\u5668\u7684\u591a\u79cd\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.5k\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf5\u6b21\u3002\u5728\u6781\u7aef\u60c5\u51b5\u4e0b\uff0c\u5982\u64cd\u4f5c\u7cfb\u7edf\u5b8c\u5168\u51bb\u7ed3\u65e0\u6cd5\u54cd\u5e94\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u7535\u6e90\u6309\u94ae\u8fdb\u884c\u786c\u91cd\u542f\u3002\u4f46\u8fd9\u79cd\u505a\u6cd5\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6570\u636e\u4e22\u5931\u6216\u786c\u4ef6\u635f\u4f24\uff0c\u5e94\u8c28\u614e\u4f7f\u7528\u3002_linux\u670d\u52a1\u5668\u91cd\u542f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/28165.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T15:21:33+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/28165.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/28165.html\",\"name\":\"Linux\u91cd\u542f\u670d\u52a1\u5668\u7684\u591a\u79cd\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T15:21:33+00:00\",\"dateModified\":\"2025-04-19T15:21:33+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/28165.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/28165.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/28165.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\u91cd\u542f\u670d\u52a1\u5668\u7684\u591a\u79cd\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux\u91cd\u542f\u670d\u52a1\u5668\u7684\u591a\u79cd\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/28165.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux\u91cd\u542f\u670d\u52a1\u5668\u7684\u591a\u79cd\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.5k\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf5\u6b21\u3002\u5728\u6781\u7aef\u60c5\u51b5\u4e0b\uff0c\u5982\u64cd\u4f5c\u7cfb\u7edf\u5b8c\u5168\u51bb\u7ed3\u65e0\u6cd5\u54cd\u5e94\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u7535\u6e90\u6309\u94ae\u8fdb\u884c\u786c\u91cd\u542f\u3002\u4f46\u8fd9\u79cd\u505a\u6cd5\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6570\u636e\u4e22\u5931\u6216\u786c\u4ef6\u635f\u4f24\uff0c\u5e94\u8c28\u614e\u4f7f\u7528\u3002_linux\u670d\u52a1\u5668\u91cd\u542f","og_url":"https:\/\/www.wsisp.com\/helps\/28165.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T15:21:33+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/28165.html","url":"https:\/\/www.wsisp.com\/helps\/28165.html","name":"Linux\u91cd\u542f\u670d\u52a1\u5668\u7684\u591a\u79cd\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T15:21:33+00:00","dateModified":"2025-04-19T15:21:33+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/28165.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/28165.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/28165.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux\u91cd\u542f\u670d\u52a1\u5668\u7684\u591a\u79cd\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/28165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=28165"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/28165\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=28165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=28165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=28165"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=28165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}