{"id":27278,"date":"2024-01-01T21:25:10","date_gmt":"2023-10-05T11:55:32","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/"},"modified":"2025-08-12T01:47:52","modified_gmt":"2025-08-11T17:47:52","slug":"%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/","title":{"rendered":"\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8"},"content":{"rendered":"<h1>Debian\u4e0a\u7684CUI\u754c\u9762<\/h1>\n<p>\u5728Windows PC\u4e0a\uff0c\u6211\u7ecf\u5e38\u4f7f\u7528VirtualBox\u3002<br \/>\n\u5728\u90a3\u65f6\uff0c\u6211\u901a\u5e38\u9009\u62e9\u5728\u865a\u62df\u673a\u4e2d\u5b89\u88c5Debian\u4f5c\u4e3a\u5ba2\u6237\u64cd\u4f5c\u7cfb\u7edf\u3002<br \/>\n\u7136\u540e\u4e3a\u4e86\u5b89\u88c5Guest Additions\uff0c\u6211\u4f1a\u5148\u5728GUI\u754c\u9762\u4e0b\u8fdb\u884c\u5b89\u88c5\uff0c\u6700\u540e\u8f6c\u5230CUI\u754c\u9762\u3002<br \/>\n\u4f46\u662f\u5728Jessie\u7248\u672c\u4e2d\uff0c\u6211\u5728\u5c06\u754c\u9762\u8f6c\u5230CUI\u4e0a\u9047\u5230\u4e86\u95ee\u9898\uff0c\u6240\u4ee5\u5728\u6b64\u505a\u5907\u5fd8\u5f55\u3002<\/p>\n<h2>\u6770\u897f<\/h2>\n<p>\u5982\u679c\u50cfCentOS\u90a3\u6837\u5c06\u8fd0\u884c\u7ea7\u522b\u8bbe\u7f6e\u4e3a3\uff0c\u5219\u4f1a\u53d8\u4e3aCUI\u3002\u4f46\u4e8b\u5b9e\u4e0a\uff0c\u6839\u672c\u5c31\u6ca1\u6709\/etc\/inittab\u6587\u4ef6(\u7b11)\u3002\u4e2a\u4eba\u800c\u8a00\uff0c\u6211\u8ba4\u4e3aJessie\u8fd8\u4e0d\u591f\u6613\u7528\u3002<\/p>\n<p>\u901a\u8fc7\u4f7f\u7528 &#8220;get-default&#8221; \u547d\u4ee4\u53ef\u4ee5\u83b7\u53d6\u5f53\u524d\u7684\u8bbe\u7f6e\u5185\u5bb9\uff0c\u4f7f\u7528 &#8220;set-default&#8221; \u547d\u4ee4\u53ef\u4ee5\u8fdb\u884c\u8bbe\u7f6e\u3002\u662f\u7684\u3002<\/p>\n<pre class=\"post-pre\"><code># systemctl get-default\r\n# systemctl set-default -f multi-user.target\r\n<\/code><\/pre>\n<h2>\u5598\u606f\u4e0d\u6b62<\/h2>\n<p>\u5c3d\u7ba1\/etc\/inittab\u5b58\u5728\uff0c\u4f46\u5373\u4f7f\u8fdb\u884c\u66f4\u6539\uff0c\u7cfb\u7edf\u4ecd\u5c06\u901a\u8fc7GUI\u542f\u52a8(\u7b11)\u3002\u867d\u7136gdm3\u90e8\u5206\u53ef\u80fd\u4f1a\u56e0\u5b89\u88c5\u800c\u6709\u6240\u53d8\u5316\uff0c\u4f46\u5927\u4f53\u4e0a\u7c7b\u4f3c\u8fd9\u79cd\u60c5\u51b5\u3002<\/p>\n<pre class=\"post-pre\"><code># chkconfig gdm3 off\r\n<\/code><\/pre>\n<h2>GNU\/Linux\uff08Debian 11\uff09<\/h2>\n<h3>\u56fe\u5f62\u7528\u6237\u754c\u9762 -&gt; \u547d\u4ee4\u884c\u7528\u6237\u754c\u9762<\/h3>\n<pre class=\"post-pre\"><code>sudo systemctl set-default multi-user.target\r\n<\/code><\/pre>\n<h3>\u5d14 -&gt; \u9b3c<\/h3>\n<pre class=\"post-pre\"><code>sudo systemctl set-default graphical.target\r\n<\/code><\/pre>\n<h1>\u8bf7\u63d0\u4f9b\u53c2\u8003\u7f51\u7ad9\u3002<\/h1>\n<p>\u8bf7\u63d0\u4f9b\u4e00\u4e2a\u53c2\u8003\u7f51\u7ad9\u3002<\/p>\n<p>\u8bf7\u544a\u8bc9\u6211\u4e00\u4e2a\u53c2\u8003\u7f51\u5740\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Why is my Debian jessie always in runlevel 5?<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">GNU\/Linux\u3067\u306eGUI\u3068CUI\u30ed\u30b0\u30a4\u30f3\u306e\u5207\u308a\u66ff\u3048\u65b9\u6cd5<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Debian\u4e0a\u7684CUI\u754c\u9762 \u5728Windows PC\u4e0a\uff0c\u6211\u7ecf\u5e38\u4f7f\u7528VirtualBox\u3002 \u5728\u90a3\u65f6\uff0c\u6211\u901a\u5e38\u9009\u62e9\u5728\u865a [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-27278","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8\u7684\u6280\u672f\u6587\u7ae0\" \/>\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.silicloud.com\/zh\/blog\/\u5728debian\u4e0a\u5207\u6362\u5230cui\u542f\u52a8\u3002-3\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728debian\u4e0a\u5207\u6362\u5230cui\u542f\u52a8\u3002-3\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-05T11:55:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-11T17:47:52+00:00\" \/>\n<meta name=\"author\" content=\"\u65b0, \u97f5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u65b0, \u97f5\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/\",\"name\":\"\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-10-05T11:55:32+00:00\",\"dateModified\":\"2025-08-11T17:47:52+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\"},\"description\":\"\u5173\u4e8e\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\",\"name\":\"\u65b0, \u97f5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"caption\":\"\u65b0, \u97f5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8 - Blog - Silicon Cloud","description":"\u5173\u4e8e\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8\u7684\u6280\u672f\u6587\u7ae0","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.silicloud.com\/zh\/blog\/\u5728debian\u4e0a\u5207\u6362\u5230cui\u542f\u52a8\u3002-3\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8","og_description":"\u5173\u4e8e\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728debian\u4e0a\u5207\u6362\u5230cui\u542f\u52a8\u3002-3\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-10-05T11:55:32+00:00","article_modified_time":"2025-08-11T17:47:52+00:00","author":"\u65b0, \u97f5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u65b0, \u97f5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/","name":"\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-10-05T11:55:32+00:00","dateModified":"2025-08-11T17:47:52+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9"},"description":"\u5173\u4e8e\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728Debian\u4e0a\u5207\u6362\u5230CUI\u542f\u52a8"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9","name":"\u65b0, \u97f5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","caption":"\u65b0, \u97f5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%88%87%e6%8d%a2%e5%88%b0cui%e5%90%af%e5%8a%a8%e3%80%82-3\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/27278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=27278"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/27278\/revisions"}],"predecessor-version":[{"id":99391,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/27278\/revisions\/99391"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=27278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=27278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=27278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}