User Tools

Site Tools


linux:bbr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
linux:bbr [2018/01/08 12:33] percylinux:bbr [2018/01/08 13:32] – [DigitalOcean enable BBR] percy
Line 20: Line 20:
 net.ipv4.tcp_congestion_control = bbr net.ipv4.tcp_congestion_control = bbr
 </code> </code>
 +
 +==== DigitalOcean enable BBR ====
 +Refer
 +  - https://www.digitalocean.com/community/tutorials/how-to-update-a-digitalocean-server-s-kernel
 +Install the grub loader in the console panel, first you need power off, then after install the grub loader, then power on.
 +
 +Install the new kernel, you can find the kernel what you want 
 +  apt-cache search --names-only linux-image
 +
 +   sudo apt-get install linux-image-4.11.0-13-generic linux-headers-4.11.0-13-generic
 +Or
 +  sudo apt-get install linux-image-4.10.0-42-generic linux-headers-4.10.0-42-generic
 +   
 +Update the grub
 +  sudo vim /etc/default/grub
 +Add the line:  
 +  GRUB_DISABLE_SUBMENU = Y
 +  
 +  export GRUB_CONFIG=`sudo find /boot -name "grub.cfg"`
 +  sudo update-grub
 +
 +Now you find all the kernel
 +  grep 'menuentry ' $GRUB_CONFIG | cut -f 2 -d "'" | nl -v 0
 +And you need update /etc/default/grub, and set update the index to the one your want
 +  GRUB_DEFAULT=0
 +Now you can reoot the VPS
 +  
 +
 +
  
  
/var/www/dokuwiki/wiki/data/pages/linux/bbr.txt · Last modified: 2018/01/08 14:40 by percy