{"id":40277,"date":"2023-09-29T06:33:09","date_gmt":"2023-09-28T22:33:09","guid":{"rendered":"\/\/www.viralrail.com\/?p=40277"},"modified":"2023-09-29T06:33:09","modified_gmt":"2023-09-28T22:33:09","slug":"cdkjmbbygjddzn","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/40277.html","title":{"rendered":"CentOS\u6253\u5f00\u754c\u9762\u62a5Bash\uff1a\u4e00\u4e2a\u7b80\u5355\u7684\u6307\u5357"},"content":{"rendered":"
CentOS\u662f\u4e00\u4e2aLinux\u53d1\u884c\u7248\uff0c\u5b83\u7684\u5f3a\u5927\u6027\u80fd\u548c\u53ef\u9760\u6027\u4f7f\u5176\u6210\u4e3a\u4f01\u4e1a\u7ea7\u670d\u52a1\u5668\u7684\u9996\u9009\u3002CentOS\u7684\u754c\u9762\u662f\u57fa\u4e8e\u56fe\u5f62\u7528\u6237\u754c\u9762\uff08GUI\uff09\u7684\uff0c\u4f46\u662f\u6709\u65f6\u5019\u4f60\u53ef\u80fd\u4f1a\u770b\u5230\u4e00\u4e2a\u62a5\u544aBash\u7684\u9519\u8bef\u4fe1\u606f\u3002<\/strong>\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u63a2\u8ba8CentOS\u6253\u5f00\u754c\u9762\u62a5Bash\u7684\u539f\u56e0\uff0c\u4ee5\u53ca\u5982\u4f55\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n Bash\u662f\u4e00\u79cdUnix Shell\uff0c\u5b83\u662f\u4e00\u4e2a\u547d\u4ee4\u884c\u89e3\u91ca\u5668\uff0c\u7528\u4e8e\u6267\u884cUnix\/Linux\u7cfb\u7edf\u547d\u4ee4\u3002\u5b83\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u66f4\u6709\u6548\u5730\u7ba1\u7406\u4f60\u7684\u7cfb\u7edf\u3002Bash\u4e5f\u53ef\u4ee5\u7528\u6765\u6267\u884c\u811a\u672c\uff0c\u4ee5\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u4efb\u52a1\u3002<\/p>\n \u5f53\u4f60\u5c1d\u8bd5\u6253\u5f00CentOS\u7684\u754c\u9762\u65f6\uff0c\u5982\u679c\u4f60\u770b\u5230\u4e00\u4e2a\u62a5\u544aBash\u7684\u9519\u8bef\u4fe1\u606f\uff0c\u8fd9\u53ef\u80fd\u662f\u7531\u4e8e\u4ee5\u4e0b\u539f\u56e0\u4e4b\u4e00\uff1a<\/p>\n CentOS\u7684\u754c\u9762\u4f9d\u8d56\u4e8e\u4e00\u4e9b\u5e93\u6587\u4ef6\uff0c\u5982\u679c\u8fd9\u4e9b\u6587\u4ef6\u7f3a\u5931\uff0c\u5219\u53ef\u80fd\u4f1a\u5bfc\u81f4Bash\u9519\u8bef\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528yum\u6216rpm\u547d\u4ee4\u6765\u5b89\u88c5\u8fd9\u4e9b\u6587\u4ef6\uff0c\u4ee5\u786e\u4fddCentOS\u7684\u754c\u9762\u80fd\u591f\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n \u5982\u679c\u7cfb\u7edf\u6587\u4ef6\u88ab\u635f\u574f\uff0c\u5219\u53ef\u80fd\u4f1a\u5bfc\u81f4Bash\u9519\u8bef\u3002\u4f60\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528yum\u6216rpm\u547d\u4ee4\u6765\u68c0\u67e5\u7cfb\u7edf\u6587\u4ef6\u662f\u5426\u635f\u574f\uff0c\u5982\u679c\u53d1\u73b0\u6709\u635f\u574f\u7684\u6587\u4ef6\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528yum\u6216rpm\u547d\u4ee4\u6765\u91cd\u65b0\u5b89\u88c5\u5b83\u4eec\u3002<\/p>\n CentOS\u7684\u754c\u9762\u4f9d\u8d56\u4e8e\u4e00\u4e9b\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\uff0c\u5982\u679c\u8fd9\u4e9b\u6587\u4ef6\u4e0d\u6b63\u786e\uff0c\u5219\u53ef\u80fd\u4f1a\u5bfc\u81f4Bash\u9519\u8bef\u3002\u4f60\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528yum\u6216rpm\u547d\u4ee4\u6765\u68c0\u67e5\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u662f\u5426\u6b63\u786e\uff0c\u5982\u679c\u53d1\u73b0\u6709\u9519\u8bef\u7684\u6587\u4ef6\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528yum\u6216rpm\u547d\u4ee4\u6765\u91cd\u65b0\u914d\u7f6e\u5b83\u4eec\u3002<\/p>\n \u5f53\u4f60\u9047\u5230CentOS\u6253\u5f00\u754c\u9762\u62a5Bash\u7684\u95ee\u9898\u65f6\uff0c\u4f60\u53ef\u4ee5\u5c1d\u8bd5\u4ee5\u4e0b\u6b65\u9aa4\u6765\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff1a<\/p>\n \u9996\u5148\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528yum\u6216rpm\u547d\u4ee4\u6765\u68c0\u67e5\u7cfb\u7edf\u5e93\u6587\u4ef6\u662f\u5426\u5b89\u88c5\u6b63\u786e\u3002\u5982\u679c\u53d1\u73b0\u6709\u7f3a\u5c11\u7684\u6587\u4ef6\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528yum\u6216rpm\u547d\u4ee4\u6765\u5b89\u88c5\u5b83\u4eec\u3002<\/p>\n \u5176\u6b21\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528yum\u6216rpm\u547d\u4ee4\u6765\u68c0\u67e5\u7cfb\u7edf\u6587\u4ef6\u662f\u5426\u635f\u574f\u3002\u5982\u679c\u53d1\u73b0\u6709\u635f\u574f\u7684\u6587\u4ef6\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528yum\u6216rpm\u547d\u4ee4\u6765\u91cd\u65b0\u5b89\u88c5\u5b83\u4eec\u3002<\/p>\n \u6700\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528yum\u6216rpm\u547d\u4ee4\u6765\u68c0\u67e5\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u662f\u5426\u6b63\u786e\u3002\u5982\u679c\u53d1\u73b0\u6709\u9519\u8bef\u7684\u6587\u4ef6\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528yum\u6216rpm\u547d\u4ee4\u6765\u91cd\u65b0\u914d\u7f6e\u5b83\u4eec\u3002<\/p>\n CentOS\u7684\u754c\u9762\u662f\u57fa\u4e8e\u56fe\u5f62\u7528\u6237\u754c\u9762\uff08GUI\uff09\u7684\uff0c\u4f46\u662f\u6709\u65f6\u5019\u4f60\u53ef\u80fd\u4f1a\u770b\u5230\u4e00\u4e2a\u62a5\u544aBash\u7684\u9519\u8bef\u4fe1\u606f\u3002<\/strong>\u539f\u56e0\u53ef\u80fd\u662f\u7f3a\u5c11\u5fc5\u8981\u7684\u5e93\u6587\u4ef6\uff0c\u7cfb\u7edf\u6587\u4ef6\u635f\u574f\uff0c\u6216\u8005\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u4e0d\u6b63\u786e\u3002\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u65b9\u6cd5\u662f\u68c0\u67e5\u7cfb\u7edf\u5e93\u6587\u4ef6\u3001\u7cfb\u7edf\u6587\u4ef6\u3001\u4ee5\u53ca\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\uff0c\u5982\u679c\u53d1\u73b0\u6709\u9519\u8bef\u7684\u6587\u4ef6\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528yum\u6216rpm\u547d\u4ee4\u6765\u91cd\u65b0\u5b89\u88c5\u6216\u914d\u7f6e\u5b83\u4eec\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" CentOS\u662f\u4e00\u4e2aLinux\u53d1\u884c\u7248\uff0c\u5b83\u7684\u5f3a\u5927\u6027\u80fd\u548c\u53ef\u9760\u6027\u4f7f\u5176\u6210\u4e3a\u4f01\u4e1a\u7ea7\u670d\u52a1\u5668\u7684\u9996\u9009\u3002CentOS\u7684\u754c\u9762\u662f\u57fa\u4e8e\u56fe\u5f62\u7528\u6237\u754c\u9762\uff08GUI\uff09\u7684\uff0c\u4f46\u662f\u6709\u65f6\u5019\u4f60\u53ef\u80fd\u4f1a\u770b<\/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":[305],"class_list":["post-40277","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dzjs"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/40277"}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=40277"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/40277\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=40277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=40277"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=40277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u4ec0\u4e48\u662fBash\uff1f<\/h2>\n
CentOS\u6253\u5f00\u754c\u9762\u62a5Bash\u7684\u539f\u56e0<\/h2>\n
1.\u7f3a\u5c11\u5fc5\u8981\u7684\u5e93\u6587\u4ef6<\/h3>\n
2.\u7cfb\u7edf\u6587\u4ef6\u635f\u574f<\/h3>\n
3.\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u4e0d\u6b63\u786e<\/h3>\n
\u5982\u4f55\u89e3\u51b3CentOS\u6253\u5f00\u754c\u9762\u62a5Bash\u7684\u95ee\u9898\uff1f<\/h2>\n
1.\u68c0\u67e5\u7cfb\u7edf\u5e93\u6587\u4ef6<\/h3>\n
2.\u68c0\u67e5\u7cfb\u7edf\u6587\u4ef6<\/h3>\n
3.\u68c0\u67e5\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6<\/h3>\n
\u603b\u7ed3<\/h2>\n