{"id":29732,"date":"2025-04-20T12:21:03","date_gmt":"2025-04-20T04:21:03","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/29732.html"},"modified":"2025-04-20T12:21:03","modified_gmt":"2025-04-20T04:21:03","slug":"ubuntu%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%9d%a1%e7%9c%a0%e5%91%bd%e4%bb%a4","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/29732.html","title":{"rendered":"ubuntu\u670d\u52a1\u5668\u7761\u7720\u547d\u4ee4"},"content":{"rendered":"<p>\u5728 Ubuntu \u670d\u52a1\u5668\u4e2d&#xff0c;\u901a\u5e38\u4e0d\u4f1a\u542f\u7528\u7cfb\u7edf\u7761\u7720&#xff08;\u5373 suspend&#xff09;\u6a21\u5f0f&#xff0c;\u56e0\u4e3a\u670d\u52a1\u5668\u901a\u5e38\u9700\u8981\u4fdd\u6301\u6301\u7eed\u8fd0\u884c\u4ee5\u63d0\u4f9b\u670d\u52a1\u3002\u4f46\u5982\u679c\u4f60\u5e0c\u671b\u8ba9 Ubuntu \u670d\u52a1\u5668\u8fdb\u5165\u7761\u7720\u72b6\u6001&#xff0c;\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<h4>1. \u8ba9\u7cfb\u7edf\u8fdb\u5165\u4f11\u7720&#xff08;Suspend&#xff09;\u72b6\u6001&#xff1a;<\/h4>\n<p>systemctl <span class=\"token function\">suspend<\/span><\/p>\n<p>\u8fd9\u4f1a\u4f7f\u7cfb\u7edf\u8fdb\u5165\u4f11\u7720\u72b6\u6001&#xff0c;\u5373\u5173\u95ed\u6240\u6709\u6d3b\u52a8&#xff0c;\u4fdd\u5b58\u5185\u5b58\u5230\u4ea4\u6362\u5206\u533a&#xff0c;\u7136\u540e\u5173\u95ed\u5927\u90e8\u5206\u786c\u4ef6\u3002<\/p>\n<h4>2. \u8ba9\u7cfb\u7edf\u8fdb\u5165\u4f11\u7720\u5e76\u5173\u95ed&#xff08;Hibernate&#xff09;\u72b6\u6001&#xff1a;<\/h4>\n<p>systemctl hibernate<\/p>\n<p>\u8fd9\u4f1a\u5c06\u7cfb\u7edf\u7684\u5f53\u524d\u72b6\u6001&#xff08;\u5305\u62ec\u5185\u5b58\u5185\u5bb9&#xff09;\u4fdd\u5b58\u5230\u786c\u76d8\u4e0a\u7684\u4ea4\u6362\u5206\u533a&#xff0c;\u5e76\u5b8c\u5168\u5173\u95ed\u7535\u6e90\u3002\u5f53\u4f60\u91cd\u65b0\u542f\u52a8\u65f6&#xff0c;\u7cfb\u7edf\u4f1a\u4ece\u786c\u76d8\u4e2d\u6062\u590d\u4e4b\u524d\u7684\u72b6\u6001\u3002<\/p>\n<h4>3. \u8bbe\u7f6e\u4f11\u7720\u6a21\u5f0f&#xff08;Suspend&#xff09;&#xff1a;<\/h4>\n<p>\u4f60\u8fd8\u53ef\u4ee5\u914d\u7f6e\u7cfb\u7edf\u8fdb\u5165\u4f11\u7720\u6a21\u5f0f&#xff0c;\u901a\u5e38\u9700\u8981\u786e\u4fdd\u4ea4\u6362\u5206\u533a\u6709\u8db3\u591f\u7684\u7a7a\u95f4\u6765\u4fdd\u5b58\u7cfb\u7edf\u7684\u5185\u5b58\u72b6\u6001\u3002\u53ef\u4ee5\u901a\u8fc7 swapon -s \u67e5\u770b\u4ea4\u6362\u5206\u533a\u5927\u5c0f&#xff0c;\u7136\u540e\u8fdb\u884c\u76f8\u5e94\u7684\u914d\u7f6e\u3002<\/p>\n<h4>\u6ce8\u610f&#xff1a;<\/h4>\n<ul>\n<li>\u5728\u865a\u62df\u673a\u6216\u67d0\u4e9b\u786c\u4ef6\u4e0a&#xff0c;\u7cfb\u7edf\u4f11\u7720\u6216\u6302\u8d77\u53ef\u80fd\u4f1a\u53d7\u5230\u9650\u5236\u3002<\/li>\n<li>\u786e\u4fdd\u5728\u4f7f\u7528\u8fd9\u4e9b\u529f\u80fd\u4e4b\u524d\u5df2\u6b63\u786e\u914d\u7f6e\u4ea4\u6362\u5206\u533a\u6216\u4ea4\u6362\u6587\u4ef6&#xff0c;\u56e0\u4e3a\u5728\u4f11\u7720\u65f6&#xff0c;\u7cfb\u7edf\u4f1a\u5c06\u5185\u5b58\u5185\u5bb9\u5199\u5165\u4ea4\u6362\u5206\u533a\u3002<\/li>\n<\/ul>\n<h4>\u5e38\u89c1\u95ee\u9898&#xff1a;<\/h4>\n<li>\u6ca1\u6709\u4f11\u7720\u9009\u9879&#xff1a;\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b&#xff0c;\u4f11\u7720\u529f\u80fd\u53ef\u80fd\u4f1a\u88ab\u7981\u7528&#xff0c;\u7279\u522b\u662f\u6ca1\u6709\u914d\u7f6e\u4ea4\u6362\u5206\u533a\u6216\u8005\u4ea4\u6362\u6587\u4ef6\u65f6\u3002<\/li>\n<li>\u4e0d\u652f\u6301\u7684\u786c\u4ef6&#xff1a;\u4e00\u4e9b\u670d\u52a1\u5668\u786c\u4ef6\u53ef\u80fd\u4e0d\u652f\u6301\u5b8c\u5168\u7684\u4f11\u7720\u6216\u6302\u8d77\u64cd\u4f5c\u3002<\/li>\n<p>\u5982\u679c\u4f60\u4e0d\u9700\u8981\u8fdb\u884c\u5b9e\u9645\u7684\u7761\u7720\u64cd\u4f5c&#xff0c;\u53ea\u662f\u60f3\u8282\u7701\u7535\u529b\u6216\u8d44\u6e90&#xff0c;\u5efa\u8bae\u53ef\u4ee5\u4f7f\u7528 poweroff \u6216 shutdown \u547d\u4ee4\u5173\u95ed\u670d\u52a1\u5668&#xff0c;\u907f\u514d\u8fdb\u5165\u7761\u7720\u72b6\u6001\u53ef\u80fd\u5e26\u6765\u7684\u4e0d\u786e\u5b9a\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e2\u6b21\uff0c\u6536\u85cf3\u6b21\u3002\u5728 Ubuntu \u670d\u52a1\u5668\u4e2d\uff0c\u901a\u5e38\u4e0d\u4f1a\u542f\u7528\u7cfb\u7edf\u7761\u7720\uff08\u5373 suspend\uff09\u6a21\u5f0f\uff0c\u56e0\u4e3a\u670d\u52a1\u5668\u901a\u5e38\u9700\u8981\u4fdd\u6301\u6301\u7eed\u8fd0\u884c\u4ee5\u63d0\u4f9b\u670d\u52a1\u3002_the system will suspend now!<\/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,295,103,43,44],"topic":[],"class_list":{"0":"post-29732","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-server","7":"tag-linux","9":"tag-ubuntu","10":"tag-43","11":"tag-44"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ubuntu\u670d\u52a1\u5668\u7761\u7720\u547d\u4ee4 - \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\/29732.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ubuntu\u670d\u52a1\u5668\u7761\u7720\u547d\u4ee4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e2\u6b21\uff0c\u6536\u85cf3\u6b21\u3002\u5728 Ubuntu \u670d\u52a1\u5668\u4e2d\uff0c\u901a\u5e38\u4e0d\u4f1a\u542f\u7528\u7cfb\u7edf\u7761\u7720\uff08\u5373 suspend\uff09\u6a21\u5f0f\uff0c\u56e0\u4e3a\u670d\u52a1\u5668\u901a\u5e38\u9700\u8981\u4fdd\u6301\u6301\u7eed\u8fd0\u884c\u4ee5\u63d0\u4f9b\u670d\u52a1\u3002_the system will suspend now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/29732.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-20T04:21:03+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\/29732.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/29732.html\",\"name\":\"ubuntu\u670d\u52a1\u5668\u7761\u7720\u547d\u4ee4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-20T04:21:03+00:00\",\"dateModified\":\"2025-04-20T04:21:03+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/29732.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/29732.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/29732.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ubuntu\u670d\u52a1\u5668\u7761\u7720\u547d\u4ee4\"}]},{\"@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":"ubuntu\u670d\u52a1\u5668\u7761\u7720\u547d\u4ee4 - \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\/29732.html","og_locale":"zh_CN","og_type":"article","og_title":"ubuntu\u670d\u52a1\u5668\u7761\u7720\u547d\u4ee4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e2\u6b21\uff0c\u6536\u85cf3\u6b21\u3002\u5728 Ubuntu \u670d\u52a1\u5668\u4e2d\uff0c\u901a\u5e38\u4e0d\u4f1a\u542f\u7528\u7cfb\u7edf\u7761\u7720\uff08\u5373 suspend\uff09\u6a21\u5f0f\uff0c\u56e0\u4e3a\u670d\u52a1\u5668\u901a\u5e38\u9700\u8981\u4fdd\u6301\u6301\u7eed\u8fd0\u884c\u4ee5\u63d0\u4f9b\u670d\u52a1\u3002_the system will suspend now!","og_url":"https:\/\/www.wsisp.com\/helps\/29732.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-20T04:21:03+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\/29732.html","url":"https:\/\/www.wsisp.com\/helps\/29732.html","name":"ubuntu\u670d\u52a1\u5668\u7761\u7720\u547d\u4ee4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-20T04:21:03+00:00","dateModified":"2025-04-20T04:21:03+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/29732.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/29732.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/29732.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"ubuntu\u670d\u52a1\u5668\u7761\u7720\u547d\u4ee4"}]},{"@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\/29732","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=29732"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/29732\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=29732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=29732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=29732"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=29732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}