• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧

魔改BBR一键安装脚本 for Debian/CentOS

建站知识 Liam 1年前 (2019-05-03) 958次浏览 20个评论 扫描二维码
文章目录[隐藏]

说明:Google BBR就不过多介绍了,是一个TCP加速优化工具,而为了加速国内与目标服务器间的网络,让BBR发挥出更大(暴力)的实力,魔改就此诞生。其实之前发过Vicer大佬制作的魔改脚本,可惜无CentOS系统的,这次就弥补下不足,本脚本由nanqinlang大佬制作。

安装

项目地址:https://github.com/nanqinlang-tcp/tcp_nanqinlang

系统要求:适用于Debian 7+CentOS 6/7

1、这个是新手简装版本,只需 运行脚本第一项+重启+运行脚本第二项。一般用户只需使用此版本,并建议使用该版本。此版本不需要编译的过程,直接安装v4.10.2内核。

# Debian 7+ # fool wget https://github.com/tcp-nanqinlang/general/releases/download/3.4.3.1/tcp_nanqinlang-fool-1.2.3.sh bash tcp_nanqinlang-fool-1.2.3.sh 

2、这个是进阶版本。提供自定义内核版本功能,只建议有用户自己指定安装的内核的版本需求的用户使用,例如你想安装v4.12.10版本的内核,就需要使用这个版本,且最高支持4.16内核。

# Debian 7+ # pro wget https://github.com/tcp-nanqinlang/general/releases/download/3.4.5.1/tcp_nanqinlang-pro-3.4.5.1.sh bash tcp_nanqinlang-pro-3.4.5.1.sh 

3、这个是CentOS平台的版本,尚处于测试版,请勿在重要环境使用。

# CentOS 6/7 # only 64 bit wget https://raw.githubusercontent.com/tcp-nanqinlang/general/master/General/CentOS/bash/tcp_nanqinlang-1.3.2.sh bash tcp_nanqinlang-1.3.2.sh 

使用简介

安装时会出现四个选项供以选择
魔改BBR一键安装脚本 for Debian/CentOS
1、安装内核
选择第一个选项用于安装内核。在安装内核时,请注意区别:

#Debian系统 下载内核安装包至/home/tcp_nanqinlang,脚本第二项运行完成后移除该文件夹。 系统中只会留下新安装的内核,原有的所有内核都会被移除。 对于pro版本,安装的内核版本由你指定,若不确定应输入哪个版本号,直接回车即可,会安装v4.10.10版本内核。 指定安装内核版本为v4.13.x时,会使用新版本内核适配的源码。 本魔改项目暂不支持v4.14及以上版本内核。 此命令执行完毕后,请根据脚本内提示确认内核是否已安装完毕。  #CentOS系统 CentOS的脚本,套路和上面Debian的大致相当,主要在于以下区别: 不会询问安装版本号,直接安装内核版本v4.12.10。 内核安装完成后,系统中会装有linux-ml-4.12.10、linux-ml-devel-4.12.10、linux-ml-headers-4.12.10三个内核。 内核安装完成后,系统中依旧会留有旧版本的linux-x.xx.xx-ml内核,这些残留的内核,会在执行第二个选项 “安装并启用算法” 后被移除。 

内核安装示例:
魔改BBR一键安装脚本 for Debian/CentOS
魔改BBR一键安装脚本 for Debian/CentOS

确认内核更换完成后,重启你的vps

2、开启算法
重启开机后,再次运行该脚本,选择第二项: 安装并开启算法。
魔改BBR一键安装脚本 for Debian/CentOS

3、检查运行状态
选项三用于检查tcp_nanqinlang是否已被加载(installed)和启用(running)。

4、卸载BBR
不会删除已安装的内核,仅移除sysctl.conf中的相关设置项。然后重启机器后,魔改BBR才会停止运作。

注意事项

  1. 一定要在执行完成安装内核并重启vps后,才能执行安装并启用算法。
  2. 卸载命令不会改动内核。
  3. pro版本的编译过程报错,请留言。

文章来源:魔改 BBR 一键安装脚本 for Debian / CentOS


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:魔改BBR一键安装脚本 for Debian/CentOS
喜欢 (1)
关于作者:
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(20)个小伙伴在吐槽
  1. I know this site gives quality based articles or reviews and other data, is there any other site which provides these kinds of stuff in quality?
    web hosting providers2020-08-31 22:06 回复 Linux | Firefox浏览器 52.9
  2. This site was... how do you say it? Relevant!! Finally I've found something that helped me. Many thanks!
    black mass2020-08-31 08:44 回复 Mac OS X | Chrome 67.0.3396.62
  3. I think the admin of this web site is genuinely working hard for his web page, since here every data is quality based data.
    cheap flights2020-08-28 07:21 回复 Mac OS X | Chrome 64.0.3282.186
  4. When I initially commented I clicked the "Notify me when new comments are added" checkbox and now each time a comment is added I get three e-mails with the same comment. Is there any way you can remove people from that service? Bless you!
    cheap flights2020-08-27 13:40 回复 Mac OS X | Firefox浏览器 59.0
  5. Article writing is also a excitement, if you know then you can write otherwise it is complex to write. 3gqLYTc cheap flights
    cheap flights2020-08-27 01:45 回复 Linux | Firefox浏览器 52.9
  6. This article is actually a good one it helps new net visitors, who are wishing in favor of blogging.
    website host2020-08-26 09:04 回复 Mac OS X | Chrome 66.0.3359.139
  7. Hi there, I enjoy reading all of your article post. I wanted to write a little comment to support you.
    best web hosting2020-08-14 19:42 回复 Linux | Chrome 67.0.3372.0
  8. Hello there, I found your web site via Google whilst searching for a comparable topic, your web site came up, it seems to be great. I have bookmarked it in my google bookmarks. Hello there, simply changed into aware of your weblog thru Google, and found that it's truly informative. I'm gonna watch out for brussels. I will be grateful should you continue this in future. A lot of other people will be benefited from your writing. Cheers!
    webhosting2020-08-14 17:13 回复 Linux | Firefox浏览器 60.0
  9. Magnificent goods from you, man. I have understand your stuff previous to and you're just too wonderful. I actually like what you have acquired here, really like what you're saying and the way in which you say it. You make it enjoyable and you still care for to keep it wise. I can't wait to read far more from you. This is actually a tremendous website.
    web hosting2020-08-06 18:49 回复 Linux | Chrome 67.0.3396.87
  10. Its such as you learn my thoughts! You appear to know a lot about this, such as you wrote the e-book in it or something. I think that you just could do with some p.c. to power the message house a little bit, however instead of that, this is excellent blog. An excellent read. I will definitely be back.
    best hosting2020-08-06 02:32 回复 Linux | Firefox浏览器 54.0
  11. Unquestionably consider that which you said. Your favorite reason seemed to be on the web the simplest thing to consider of. I say to you, I certainly get irked even as other folks consider issues that they plainly do not realize about. You controlled to hit the nail upon the highest and defined out the entire thing with no need side-effects , other folks could take a signal. Will probably be again to get more. Thanks
    cheap flights to florida round trip2020-07-31 11:29 回复 Linux | Firefox浏览器 59.0
  12. Very good info. Lucky me I recently found your blog by accident (stumbleupon). I've saved it for later! adreamoftrains webhosting
    adreamoftrains webhosting2020-07-30 21:44 回复 Linux | 未知浏览器
  13. This design is steller! You most certainly know how to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost...HaHa!) Wonderful job. I really loved what you had to say, and more than that, how you presented it. Too cool!
    best web hosting 20202020-07-27 07:28 回复 Windows 7 | 360浏览器 SE
  14. Hi! I realize this is kind of off-topic but I had to ask. Does operating a well-established blog like yours take a lot of work? I am brand new to running a blog but I do write in my journal daily. I'd like to start a blog so I can share my experience and feelings online. Please let me know if you have any kind of ideas or tips for brand new aspiring blog owners. Appreciate it!
    web hosting companies2020-07-23 11:01 回复 Linux | Firefox浏览器 52.9
  15. Very descriptive post, I enjoyed that bit. Will there be a part 2?
    web hosting providers2020-07-22 05:58 回复 Linux | Chrome 65.0.3325.181
  16. Hi there, I discovered your web site via Google while searching for a similar matter, your website came up, it seems to be great. I have bookmarked it in my google bookmarks. Hello there, simply turned into alert to your blog thru Google, and located that it's truly informative. I'm gonna be careful for brussels. I will appreciate for those who continue this in future. Numerous people will probably be benefited out of your writing. Cheers!
    web hosting companies2020-07-18 09:19 回复 Linux | Chrome 65.0.3325.183
  17. Heya i am for the first time here. I came across this board and I to find It really helpful & it helped me out much. I'm hoping to give something back and aid others like you helped me.
    best web hosting 20202020-07-16 21:37 回复 Linux | Chrome 52.0.2777.35
  18. Woah! I'm really loving the template/theme of this blog. It's simple, yet effective. A lot of times it's very difficult to get that "perfect balance" between usability and visual appearance. I must say that you've done a awesome job with this. Additionally, the blog loads very quick for me on Internet explorer. Outstanding Blog!
    cbd oil that works 20202020-06-29 18:25 回复 Windows 8.1 | Chrome 66.0.3359.139
  19. This is my first time pay a quick visit at here and i am genuinely pleassant to read everthing at single place.
    cbd oil that works 20202020-06-28 09:08 回复 Linux | Chrome 66.0.3359.106
  20. Hello just wanted to give you a quick heads up and let you know a few of the pictures aren't loading correctly. I'm not sure why but I think its a linking issue. I've tried it in two different internet browsers and both show the same results.
    rsacwgxy g2020-06-23 18:31 回复 Linux | Firefox浏览器 60.0.1