{"id":39497,"date":"2020-02-23T02:12:49","date_gmt":"2020-02-22T18:12:49","guid":{"rendered":"http:\/\/4563.org\/?p=39497"},"modified":"2020-02-23T02:12:49","modified_gmt":"2020-02-22T18:12:49","slug":"centos8%e7%bc%96%e8%af%91google-bbr2%e5%87%ba%e9%94%99%e6%9c%aa%e5%a4%a7%e4%bd%ac%e6%8c%87%e7%82%b9","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=39497","title":{"rendered":"Centos8\u7f16\u8bd1Google BBR2\u51fa\u9519\u672a\u5927\u4f6c\u6307\u70b9"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>lsnmx<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-6 14:53:11\t<\/p>\n<h3>Centos8\u7f16\u8bd1Google BBR2\u51fa\u9519\u672a\u5927\u4f6c\u6307\u70b9<\/h3>\n<p>  \t\tINSTALL \/root\/rpmbuild\/BUILDROOT\/kernel-5.4.0_rc6-1.x86_64\/usr\/include<br \/>  \/bin\/sh: rsync: command not found<br \/>  make: ***  Error 127<br \/>  error: Bad exit status from \/var\/tmp\/rpm-tmp.eWlsnD (%install)<\/p>\n<p>  RPM build errors:<br \/>  &nbsp; &nbsp; Bad exit status from \/var\/tmp\/rpm-tmp.eWlsnD (%install)<br \/>  make: ***  Error 1<br \/>  make: ***  Error 2<\/p>\n<p>  real&nbsp; &nbsp; &nbsp; &nbsp; 108m13.659s<br \/>  user&nbsp; &nbsp; &nbsp; &nbsp; 93m39.136s<br \/>  sys&nbsp; &nbsp; &nbsp; &nbsp; 18m54.816s<\/p>\n<p>  # \u5b89\u88c5\u7f16\u8bd1\u76f8\u5173\u7684\u5de5\u5177<br \/>  yum groups install development -y<br \/>  yum install gcc bc ncurses-devel openssl-devel elfutils-libelf-devel -y<br \/>  # \u83b7\u53d6\u6e90\u4ee3\u7801<br \/>  git clone -o google-bbr -b v2alphahttps:\/\/github.com\/google\/bbr.git<br \/>  # \u8fdb\u5165\u6e90\u4ee3\u7801\u6587\u4ef6\u5939<br \/>  cd bbr<br \/>  # \u6253\u5f00\u7f16\u8bd1\u9009\u9879\u83dc\u5355<br \/>  make menuconfig<br \/>  # \u7f16\u8bd1\u9009\u9879\u83dc\u5355 (\u56fe1)<br \/>  # \u6309 \/ \u952e\u5728\u641c\u7d22\u6846\u8f93\u5165 bbr2 \u56de\u8f66 (\u56fe2)<br \/>  # \u6839\u636e\u67e5\u8be2\u7ed3\u679c(\u56fe3)\uff0c\u6309 \u6570\u5b57\u952e 2 \u8fdb\u5165 TCP_CONG_BBR2 \u914d\u7f6e\u9875\u9762 (\u56fe4)<br \/>  # \u6309 \u7a7a\u683c\u952e \u542f\u7528 bbr2 \u5185\u6838\u6a21\u5757 (\u56fe4)<br \/>  # \u6309 Save \u4fdd\u5b58\u5230 .config \u6587\u4ef6\u4e2d (\u56fe5)<br \/>  # \u67e5\u770b\u4fdd\u5b58\u7684\u914d\u7f6e\u6587\u4ef6\u4e2dBBR\u914d\u7f6e\u9879\u662f\u5426\u4e3am (CONFIG_TCP_CONG_BBR2=m)<br \/>  grep -i bbr2 .config<br \/>  # \u7981\u7528\u8c03\u8bd5<br \/>  scripts\/config &#8211;disable DEBUG_INFO<br \/>  # \u7f16\u8bd1\u5185\u6838\u5e76\u6253\u5305\u6210rpm\u5b89\u88c5\u5305<br \/>  time make rpm-pkg\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u52c7\u6c14\u4e0d\u8db3<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-6 15:05:05\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u54ce\u3002\u3002\u3002\u57fa\u672c\u7684\u6392\u9519\u90fd\u4e0d\u4f1a\u5c31\u8df3\u7ea7\u73a9\u7f16\u8bd1\u5185\u6838\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>affyun.org<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-6 14:55:39\t<\/p>\n<h3><\/h3>\n<p>  \t\t\/bin\/sh: rsync: command not found<br \/>  \u5148\u628arsync\u88c5\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lsnmx<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-6 15:17:50\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u52c7\u6c14\u4e0d\u8db3 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-6 15:05<br \/>  \u54ce\u3002\u3002\u3002\u57fa\u672c\u7684\u6392\u9519\u90fd\u4e0d\u4f1a\u5c31\u8df3\u7ea7\u73a9\u7f16\u8bd1\u5185\u6838<\/p>\n<p> :lol \u81ea\u5df1\u52a8\u624b\u4e30\u8863\u8db3\u98df\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lsnmx<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-6 15:19:49\t<\/p>\n<h3><\/h3>\n<p>  \t\taffyun.org \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-6 14:55<br \/>  \/bin\/sh: rsync: command not found<br \/>  \u5148\u628arsync\u88c5\u4e86<\/p>\n<p>  \u8c22\u8c22\u5927\u4f6c\u6211\u518d\u8bd5\u8bd5\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lsnmx<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-9 12:52:13\t<\/p>\n<h3><\/h3>\n<p>  \t\taffyun.org \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-6 14:55<br \/>  \/bin\/sh: rsync: command not found<br \/>  \u5148\u628arsync\u88c5\u4e86<\/p>\n<p> \u8c22\u8c22\u5927\u4f6c\uff0c\u6210\u529f\u4e86<br \/>  Checking for unpackaged file(s): \/usr\/lib\/rpm\/check-files \/root\/rpmbuild\/BUILDROOT\/kernel-5.4.0_rc6-1.x86_64<br \/>  Wrote: \/root\/rpmbuild\/SRPMS\/kernel-5.4.0_rc6-1.src.rpm<br \/>  Wrote: \/root\/rpmbuild\/RPMS\/x86_64\/kernel-5.4.0_rc6-1.x86_64.rpm<br \/>  Wrote: \/root\/rpmbuild\/RPMS\/x86_64\/kernel-headers-5.4.0_rc6-1.x86_64.rpm<br \/>  Wrote: \/root\/rpmbuild\/RPMS\/x86_64\/kernel-devel-5.4.0_rc6-1.x86_64.rpm<br \/>  Executing(%clean): \/bin\/sh -e \/var\/tmp\/rpm-tmp.mCdXCw<br \/>  + umask 022<br \/>  + cd \/root\/rpmbuild\/BUILD<br \/>  + cd kernel-5.4.0_rc6<br \/>  + rm -rf \/root\/rpmbuild\/BUILDROOT\/kernel-5.4.0_rc6-1.x86_64<br \/>  + exit 0<\/p>\n<p>  real&nbsp; &nbsp; &nbsp; &nbsp; 105m41.303s<br \/>  user&nbsp; &nbsp; &nbsp; &nbsp; 92m37.938s<br \/>  sys&nbsp; &nbsp; &nbsp; &nbsp; 18m59.026s  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>seobaikewang<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-9 12:52:29\t<\/p>\n<h3><\/h3>\n<p>  \t\t666\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lsnmx<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-9 12:54:21\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u52c7\u6c14\u4e0d\u8db3 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-6 15:05<br \/>  \u54ce\u3002\u3002\u3002\u57fa\u672c\u7684\u6392\u9519\u90fd\u4e0d\u4f1a\u5c31\u8df3\u7ea7\u73a9\u7f16\u8bd1\u5185\u6838<\/p>\n<p> :lol \u4f60\u8fd8\u522b\u7b11\u5c0f\u5f1f\u6210\u529f\u4e86<br \/>  Checking for unpackaged file(s): \/usr\/lib\/rpm\/check-files \/root\/rpmbuild\/BUILDROOT\/kernel-5.4.0_rc6-1.x86_64<br \/>  Wrote: \/root\/rpmbuild\/SRPMS\/kernel-5.4.0_rc6-1.src.rpm<br \/>  Wrote: \/root\/rpmbuild\/RPMS\/x86_64\/kernel-5.4.0_rc6-1.x86_64.rpm<br \/>  Wrote: \/root\/rpmbuild\/RPMS\/x86_64\/kernel-headers-5.4.0_rc6-1.x86_64.rpm<br \/>  Wrote: \/root\/rpmbuild\/RPMS\/x86_64\/kernel-devel-5.4.0_rc6-1.x86_64.rpm<br \/>  Executing(%clean): \/bin\/sh -e \/var\/tmp\/rpm-tmp.mCdXCw<br \/>  + umask 022<br \/>  + cd \/root\/rpmbuild\/BUILD<br \/>  + cd kernel-5.4.0_rc6<br \/>  + rm -rf \/root\/rpmbuild\/BUILDROOT\/kernel-5.4.0_rc6-1.x86_64<br \/>  + exit 0<\/p>\n<p>  real&nbsp; &nbsp; &nbsp; &nbsp; 105m41.303s<br \/>  user&nbsp; &nbsp; &nbsp; &nbsp; 92m37.938s<br \/>  sys&nbsp; &nbsp; &nbsp; &nbsp; 18m59.026s  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>llmwxt<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-9 12:56:20\t<\/p>\n<h3><\/h3>\n<p>  \t\tlsnmx \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-9 12:54<br \/>  \u4f60\u8fd8\u522b\u7b11\u5c0f\u5f1f\u6210\u529f\u4e86<br \/>  Checking for unpackaged file(s): \/usr\/lib\/rpm\/check-files \/root\/rpmbuild\/B &#8230;<\/p>\n<p> \u52a0\u6cb9\uff0c\u7ed9\u5f04\u4e2a\u4e00\u952e\u811a\u672c\uff0c\u7ed9\u6211\u4eec\u5c0f\u767d\u4e5f\u7528\u7528\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lsnmx<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-9 13:32:34\t<\/p>\n<h3><\/h3>\n<p>  \t\tllmwxt \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-9 12:56<br \/>  \u52a0\u6cb9\uff0c\u7ed9\u5f04\u4e2a\u4e00\u952e\u811a\u672c\uff0c\u7ed9\u6211\u4eec\u5c0f\u767d\u4e5f\u7528\u7528<\/p>\n<p> https:\/\/www.hostloc.com\/thread-616040-1-1.html<br \/>  \u5927\u4f6c\u65e9\u641e\u4e86\u5f04\u4e2a\u4e00\u952e\u811a\u672c\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>lsnmx \u5927\u4f6c\u6709\u8bdd\u8bf4 : 201&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\/39497"}],"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=39497"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/39497\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=39497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=39497"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=39497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}