{"id":44009,"date":"2023-10-01T10:48:52","date_gmt":"2023-10-01T02:48:52","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=44009"},"modified":"2023-10-01T10:49:01","modified_gmt":"2023-10-01T02:49:01","slug":"lrhsbzydck","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/44009.html","title":{"rendered":"Linux\u5982\u4f55\u8bc6\u522b\u5728\u7528\u7684\u4e32\u53e3"},"content":{"rendered":"
Linux\u662f\u4e00\u79cd\u53ef\u4ee5\u5728\u591a\u4e2a\u786c\u4ef6\u5e73\u53f0\u4e0a\u8fd0\u884c\u7684\u591a\u7528\u6237\u3001\u591a\u4efb\u52a1\u3001\u591a\u7ebf\u7a0b\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b83\u53ef\u4ee5\u8fd0\u884c\u5728\u5f88\u591a\u4e0d\u540c\u7684\u786c\u4ef6\u5e73\u53f0\u4e0a\uff0c\u6240\u4ee5\u4e5f\u5c31\u9700\u8981\u652f\u6301\u591a\u79cd\u8bbe\u5907\u3002\u4e32\u53e3\u662f\u4e00\u79cd\u5e38\u7528\u7684\u8bbe\u5907\uff0c\u5b83\u53ef\u4ee5\u5c06\u8ba1\u7b97\u673a\u4e0e\u5916\u90e8\u8bbe\u5907\u8fde\u63a5\u8d77\u6765\uff0c\u6240\u4ee5Linux\u7cfb\u7edf\u4e5f\u9700\u8981\u652f\u6301\u4e32\u53e3\u8bbe\u5907\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Linux\u7cfb\u7edf\u8bc6\u522b\u5728\u7528\u7684\u4e32\u53e3\u3002<\/p>\n
\u4e32\u53e3\u662f\u4e00\u79cd\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5c06\u8ba1\u7b97\u673a\u4e0e\u5916\u90e8\u8bbe\u5907\u8fde\u63a5\u8d77\u6765\uff0c\u4ece\u800c\u5b9e\u73b0\u8ba1\u7b97\u673a\u4e0e\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\u3002\u4e32\u53e3\u7684\u4e3b\u8981\u7279\u70b9\u662f\u53ef\u4ee5\u5c06\u8ba1\u7b97\u673a\u4e0e\u5916\u90e8\u8bbe\u5907\u8fde\u63a5\u8d77\u6765\uff0c\u4ece\u800c\u5b9e\u73b0\u8ba1\u7b97\u673a\u4e0e\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\u3002\u4e32\u53e3\u7684\u5de5\u4f5c\u539f\u7406\u662f\u901a\u8fc7\u4e32\u53e3\u63a5\u53e3\u5c06\u8ba1\u7b97\u673a\u4e0e\u5916\u90e8\u8bbe\u5907\u8fde\u63a5\u8d77\u6765\uff0c\u7136\u540e\u901a\u8fc7\u4e32\u53e3\u534f\u8bae\u5b9e\u73b0\u6570\u636e\u7684\u4f20\u8f93\u3002<\/p>\n
\u4e32\u53e3\u8bbe\u5907\u53ef\u4ee5\u5206\u4e3a\u4e24\u7c7b\uff1a\u5185\u90e8\u8bbe\u5907\u548c\u5916\u90e8\u8bbe\u5907\u3002\u5185\u90e8\u8bbe\u5907\u662f\u6307\u5b89\u88c5\u5728\u8ba1\u7b97\u673a\u4e3b\u677f\u4e0a\u7684\u4e32\u53e3\u8bbe\u5907\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u4e0e\u8ba1\u7b97\u673a\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\u3002\u5916\u90e8\u8bbe\u5907\u662f\u6307\u5b89\u88c5\u5728\u5916\u90e8\u8bbe\u5907\u4e0a\u7684\u4e32\u53e3\u8bbe\u5907\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u4e0e\u8ba1\u7b97\u673a\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\u3002<\/p>\n
\u8981\u5728Linux\u7cfb\u7edf\u4e2d\u8bc6\u522b\u4e32\u53e3\u8bbe\u5907\uff0c\u9996\u5148\u9700\u8981\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u4e2d\u53ef\u7528\u7684\u4e32\u53e3\u8bbe\u5907\u3002\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u201cls \/dev\/tty*\u201d\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u4e2d\u53ef\u7528\u7684\u4e32\u53e3\u8bbe\u5907\u3002\u5982\u679c\u67e5\u770b\u5230\u4e86\u4e32\u53e3\u8bbe\u5907\uff0c\u5219\u8868\u660e\u8be5\u8bbe\u5907\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u3002\u5982\u679c\u6ca1\u6709\u67e5\u770b\u5230\u4e32\u53e3\u8bbe\u5907\uff0c\u5219\u8868\u660e\u8be5\u8bbe\u5907\u65e0\u6cd5\u6b63\u5e38\u4f7f\u7528\u3002<\/p>\n
\u5982\u679c\u67e5\u770b\u5230\u4e86\u4e32\u53e3\u8bbe\u5907\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u201cdmesg|grep tty\u201d\u67e5\u770b\u4e32\u53e3\u8bbe\u5907\u7684\u8be6\u7ec6\u4fe1\u606f\u3002\u8be5\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u4e32\u53e3\u8bbe\u5907\u7684\u578b\u53f7\u3001\u6ce2\u7279\u7387\u7b49\u4fe1\u606f\uff0c\u4ece\u800c\u4fbf\u4e8e\u8bc6\u522b\u4e32\u53e3\u8bbe\u5907\u3002<\/p>\n
\u5982\u679c\u8981\u4f7f\u7528\u4e32\u53e3\u8bbe\u5907\uff0c\u5219\u9700\u8981\u5b89\u88c5\u4e32\u53e3\u8bbe\u5907\u7684\u9a71\u52a8\u7a0b\u5e8f\u3002Linux\u7cfb\u7edf\u4e2d\u6709\u591a\u79cd\u4e0d\u540c\u7684\u4e32\u53e3\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u8981\u9009\u62e9\u5408\u9002\u7684\u9a71\u52a8\u7a0b\u5e8f\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n
\u8981\u5b89\u88c5\u4e32\u53e3\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\uff0c\u9996\u5148\u9700\u8981\u4e0b\u8f7d\u4e32\u53e3\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u5b89\u88c5\u5305\uff0c\u7136\u540e\u4f7f\u7528\u547d\u4ee4\u201csudo apt-get install\u201d\u5b89\u88c5\u4e32\u53e3\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u201cdmesg|grep tty\u201d\u67e5\u770b\u4e32\u53e3\u8bbe\u5907\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u4ece\u800c\u4fbf\u4e8e\u8bc6\u522b\u4e32\u53e3\u8bbe\u5907\u3002<\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Linux\u7cfb\u7edf\u8bc6\u522b\u5728\u7528\u7684\u4e32\u53e3\uff0c\u4e3b\u8981\u5305\u62ec\u4e32\u53e3\u7684\u57fa\u672c\u6982\u5ff5\u3001\u4e32\u53e3\u8bbe\u5907\u7684\u7c7b\u578b\u3001Linux\u4e32\u53e3\u8bbe\u5907\u7684\u8bc6\u522b\u548c\u4e32\u53e3\u8bbe\u5907\u7684\u9a71\u52a8\u5b89\u88c5\u7b49\u5185\u5bb9\u3002<\/strong>\u901a\u8fc7\u4ee5\u4e0a\u5185\u5bb9\uff0c\u53ef\u4ee5\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3Linux\u7cfb\u7edf\u4e2d\u4e32\u53e3\u8bbe\u5907\u7684\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" Linux\u662f\u4e00\u79cd\u53ef\u4ee5\u5728\u591a\u4e2a\u786c\u4ef6\u5e73\u53f0\u4e0a\u8fd0\u884c\u7684\u591a\u7528\u6237\u3001\u591a\u4efb\u52a1\u3001\u591a\u7ebf\u7a0b\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b83\u53ef\u4ee5\u8fd0\u884c\u5728\u5f88\u591a\u4e0d\u540c\u7684\u786c\u4ef6\u5e73\u53f0\u4e0a\uff0c\u6240\u4ee5\u4e5f\u5c31\u9700\u8981\u652f\u6301\u591a\u79cd\u8bbe\u5907\u3002\u4e32\u53e3\u662f\u4e00\u79cd\u5e38\u7528\u7684\u8bbe\u5907\uff0c\u5b83\u53ef\u4ee5\u5c06\u8ba1\u7b97\u673a<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[69],"class_list":["post-44009","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-cktx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/44009","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=44009"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/44009\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=44009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=44009"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=44009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}