{"id":39497,"date":"2023-09-29T09:47:50","date_gmt":"2023-09-29T01:47:50","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=39497"},"modified":"2023-09-29T09:47:50","modified_gmt":"2023-09-29T01:47:50","slug":"syczkckxx","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/39497.html","title":{"rendered":"\u4f7f\u7528CentOS\u67e5\u770b\u4e32\u53e3\u4fe1\u606f"},"content":{"rendered":"

  \u4e32\u53e3\u4fe1\u606f\u662f\u4e00\u79cd\u5e38\u7528\u7684\u4fe1\u606f\u4ea4\u6362\u65b9\u5f0f\uff0c\u53ef\u4ee5\u7528\u6765\u5728\u4e24\u53f0\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002CentOS\u662f\u4e00\u6b3e\u57fa\u4e8eLinux\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u67e5\u770b\u4e32\u53e3\u4fe1\u606f\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528CentOS\u67e5\u770b\u4e32\u53e3\u4fe1\u606f\u3002<\/p>\n

\u67e5\u770b\u4e32\u53e3\u4fe1\u606f\u524d\u7684\u51c6\u5907\u5de5\u4f5c<\/h2>\n

  \u5b89\u88c5\u5fc5\u8981\u7684\u8f6f\u4ef6<\/h3>\n

  \u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5\u4e00\u4e9b\u5fc5\u8981\u7684\u8f6f\u4ef6\uff0c\u4ee5\u4fbf\u80fd\u591f\u6b63\u786e\u67e5\u770b\u4e32\u53e3\u4fe1\u606f\u3002\u8fd9\u4e9b\u8f6f\u4ef6\u5305\u62ecGNU Screen\u3001Minicom\u7b49\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u8fd9\u4e9b\u8f6f\u4ef6\uff1a<\/p>\n

sudo yum install screen minicom <\/code><\/pre>\n

  \u67e5\u770b\u4e32\u53e3\u5217\u8868<\/h3>\n

  \u63a5\u7740\uff0c\u6211\u4eec\u9700\u8981\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u4e2d\u53ef\u7528\u7684\u4e32\u53e3\u5217\u8868\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\uff1a<\/p>\n

dmesg | grep tty <\/code><\/pre>\n

  \u4e0a\u8ff0\u547d\u4ee4\u4f1a\u8fd4\u56de\u5f53\u524d\u7cfb\u7edf\u4e2d\u53ef\u7528\u7684\u4e32\u53e3\u5217\u8868\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n

[    0.000000] console [tty0] enabled

  [ 1.633405] serial8250: ttyS0 at I\/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A<\/p>

  [ 1.638184] 00:05: ttyS0 at I\/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A<\/p>

  [ 1.642833] 0000:00:05.0: ttyS1 at I\/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A<\/p>

  [ 1.647553] 0000:00:06.0: ttyS2 at I\/O 0x3e8 (irq = 4, base_baud = 115200) is a 16550A<\/p>

  [ 1.652290] 0000:00:07.0: ttyS3 at I\/O 0x2e8 (irq = 3, base_baud = 115200) is a 16550A<\/p><\/code><\/pre>\n

\u4f7f\u7528Minicom\u67e5\u770b\u4e32\u53e3\u4fe1\u606f<\/h2>\n

  \u914d\u7f6eMinicom<\/h3>\n

  \u63a5\u7740\uff0c\u6211\u4eec\u9700\u8981\u914d\u7f6eMinicom\uff0c\u4ee5\u4fbf\u80fd\u591f\u6b63\u786e\u67e5\u770b\u4e32\u53e3\u4fe1\u606f\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u914d\u7f6eMinicom\uff1a<\/p>\n

minicom -s <\/code><\/pre>\n

  \u63a5\u7740\uff0c\u4f1a\u51fa\u73b0\u4e00\u4e2a\u914d\u7f6e\u754c\u9762\uff0c\u53ef\u4ee5\u6309\u7167\u63d0\u793a\u8fdb\u884c\u914d\u7f6e\uff0c\u5c06\u4e32\u53e3\u8bbe\u7f6e\u4e3a\u6211\u4eec\u60f3\u8981\u67e5\u770b\u7684\u4e32\u53e3\u3002<\/p>\n

  \u67e5\u770b\u4e32\u53e3\u4fe1\u606f<\/h3>\n

  \u6700\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u4e32\u53e3\u4fe1\u606f\uff1a<\/p>\n

minicom <\/code><\/pre>\n

  \u4e0a\u8ff0\u547d\u4ee4\u4f1a\u8fd4\u56de\u4e32\u53e3\u4fe1\u606f\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8fdb\u884c\u67e5\u770b\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528CentOS\u67e5\u770b\u4e32\u53e3\u4fe1\u606f\u3002<\/strong>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5\u5fc5\u8981\u7684\u8f6f\u4ef6\uff0c\u7136\u540e\u67e5\u770b\u4e32\u53e3\u5217\u8868\uff0c\u6700\u540e\u4f7f\u7528Minicom\u67e5\u770b\u4e32\u53e3\u4fe1\u606f\u3002\u4f7f\u7528CentOS\u67e5\u770b\u4e32\u53e3\u4fe1\u606f\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u66f4\u597d\u5730\u5229\u7528\u4e32\u53e3\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u4e32\u53e3\u4fe1\u606f\u662f\u4e00\u79cd\u5e38\u7528\u7684\u4fe1\u606f\u4ea4\u6362\u65b9\u5f0f\uff0c\u53ef\u4ee5\u7528\u6765\u5728\u4e24\u53f0\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002CentOS\u662f\u4e00\u6b3e\u57fa\u4e8eLinux\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u67e5\u770b\u4e32\u53e3\u4fe1\u606f\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528CentO<\/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-39497","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\/39497","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=39497"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/39497\/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=39497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=39497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=39497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}