{"id":164609,"date":"2020-10-08T16:44:14","date_gmt":"2020-10-08T08:44:14","guid":{"rendered":"http:\/\/4563.org\/?p=164609"},"modified":"2020-10-08T16:44:14","modified_gmt":"2020-10-08T08:44:14","slug":"%e8%af%b7%e6%95%99%e4%b8%aashell-%e8%84%9a%e6%9c%ac%ef%bc%8c%e5%a4%a7%e7%a5%9e%e4%bb%ac%e5%b8%ae%e4%b8%8b%e5%bf%99%e3%80%82","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=164609","title":{"rendered":"\u8bf7\u6559\u4e2ashell \u811a\u672c\uff0c\u5927\u795e\u4eec\u5e2e\u4e0b\u5fd9\u3002"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>\u658c\u658c<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u8bf7\u6559\u4e2ashell \u811a\u672c\uff0c\u5927\u795e\u4eec\u5e2e\u4e0b\u5fd9\u3002<\/h3>\n<p>  \t\tyum -y install wget&amp;&amp;wget &#8211;no-check-certificate https:\/\/github.com\/teddysun\/across\/raw\/master\/bbr.sh &amp;&amp; chmod +x bbr.sh &amp;&amp; .\/bbr.sh<\/p>\n<p>  \u8fd9\u4e2a\u811a\u672c\u5b89\u88c5bbr \u8981\u6309\u4e24\u4e2a\u7a7a\u683c\uff0c\u5b89\u88c5\u5b8c\u4e86\u6309y\u91cd\u542f\uff0c\u6709\u6ca1\u6709\u4e00\u952e\u7684\u65b9\u6cd5\uff0c\u6211\u60f3\u653e\u5728\u5f00\u901a\u673a\u5668\u542f\u52a8\u811a\u672c\u91cc\u9762\u6267\u884c\uff0c\u4e0d\u4f1ashell\u547d\u4ee4\u5462\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>caddy<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tBBR\u7cfb\u7edf\u5df2\u7ecf\u81ea\u5e26\uff0c\u53ea\u8981\u5185\u6838\u5927\u4e8e4.9\uff0c\u73b0\u5728\u7684\u53d1\u884c\u7248\u672c\u5185\u6838\u90fd\u4e0d\u9700\u8981\u989d\u5916<br \/>  \u90fd2020\u4e86\uff0cubuntu \u90fd 20.04 \uff0c\u4f60\u5230\u5e95\u7528\u4e9b\u5565\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>h20<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6700\u597d\u7684\u529e\u6cd5\u5c31\u662f\u4fee\u6539shell\u811a\u672c\u903b\u8f91\u8df3\u8fc7stdin<br \/>  \u5982\u679c\u5b9e\u5728\u4e0d\u60f3\u4fee\u6539\uff0c\u90a3\u5c31\u7528expect<br \/>  \u4e24\u4e2a\u90fd\u4e0d\u4f1a\u7684\u8bdd\u90a3\u4f60\u653e\u5f03\u5427\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u9999\u8349\u5927\u53d4<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6211\u4e0d\u662f\u5927\u795e\uff0c\u6240\u4ee5\u8bf7\u697c\u4e0b\u7684\u5927\u4f6c\u56de\u7b54\uff01\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>Stevenchu<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 Stevenchu \u4e8e 2020-10-7 17:03 \u7f16\u8f91 <\/p>\n<p> yes &#8221; | command<br \/>  \u8fd9\u6837\uff1f \uff08\u8c37\u6b4c\u6765\u7684\uff0c \u8f7b\u6253\uff09<\/p>\n<p>   yum -y install wget&amp;&amp;wget &#8211;no-check-certificate https:\/\/github.com\/teddysun\/across\/raw\/master\/bbr.sh &amp;&amp; chmod +x bbr.sh <br \/>  yes &#8216; &#8216; | .\/bbr.sh<\/p>\n<p>  \u6e90\u94fe\u63a5\uff1a https:\/\/stackoverflow.com\/questions\/30712126\/how-to-simulate-two-consecutive-enter-key-presses-for-a-command-in-a-bash-script\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>wkz<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7a0d\u5fae\u6539\u4e00\u4e0b\u811a\u672c\u5c31\u53ef\u4ee5<\/p>\n<p>  yum -y install wget&amp;&amp;wget &#8211;no-check-certificate https:\/\/raw.githubusercontent.com\/jasonBrom\/shell-script\/main\/bbr.sh &amp;&amp; chmod +x bbr.sh &amp;&amp; .\/bbr.sh<\/p>\n<p>  https:\/\/github.com\/jasonBrom\/shell-script\/blob\/main\/bbr.sh\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u658c\u658c<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\twkz \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-10-8 03:51<br \/>  \u7a0d\u5fae\u6539\u4e00\u4e0b\u811a\u672c\u5c31\u53ef\u4ee5<\/p>\n<p> \u591a\u8c22\u5927\u4f6c\uff0c\u7b49\u4e00\u4e0b\u6211\u8bd5\u8bd5\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>sRGB<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 sRGB \u4e8e 2020-10-8 16:21 \u7f16\u8f91 <\/p>\n<p> \u88c5\u4ec0\u4e48 BBR\uff0c \u76f4\u63a5 kcp \u7b80\u5355\u66b4\u529b<\/p>\n<p>  \u6211\u7684\u811a\u672c \u5c31\u5f88\u7b80\u5355 <\/p>\n<p>  wget git.io\/wgmtu&amp;&amp; bash wgmtu setup<\/p>\n<p>  https:\/\/i.loli.net\/2020\/10\/08\/XK6Ca2MQfp7dmBz.png<\/p>\n<p>  \u53ef\u4ee5\u8f93\u5165\u6570\u5b57\u9009\u62e9\u6709\u53ef\u4ee5 \u4f7f\u7528 setup\u53c2\u6570\u76f4\u63a5\u9759\u9ed8\u5b89\u88c5\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u658c\u658c \u5927\u4f6c\u6709\u8bdd\u8bf4 : \u8bf7\u6559\u4e2ashe&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/164609"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=164609"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/164609\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=164609"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=164609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}