TCP BBRv2 alpha/preview release from Google team is based on Linux 5.13.12, so, I used Ubuntu 20.04 under VMware virtual machine
1. Prerequisite tools
sudo apt-get install libncurses-dev flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf
2. Enable port 22
sudo apt install openssh-server
sudo service ssh status
sudo apt install net-tools
sudo ufw enable
sudo ufw allow ssh
sudo ufw allow 22
sudo ufw status
3. Waive sudo password
sudo su
nano /etc/sudoers
change line "%sudo ...." to "%sudo ALL = (ALL:ALL) NOPASSWD:ALL"
4. Download BBRV2 preview release
5. Create VM instance on Google cloud
choose Ubuntu 20.04 version
Add ssh key of your VMware VM to google cloud(compute engine -> Metadata -> SSH KEYS)
6. Install BBRv2 alpha to google cloud VM
ssh to the google cloud then exit google cloud VM(ssh "your vm username"@"google cloud external IP")
cd /bbr
./gce-install.sh -m (google cloud external IP)
7. Change the default kernel version to BBRv2 alpha
wait for one minute then ssh to the google cloud
(chagne grub config)
sudo nano /etc/default/grub.d/50-cloudimg-settings.cfg
change the GRUB_DEFAULT=0 to GRUB_DEFAULT="1>2" then Ctrl+X
sudo update-grub
sudo reboot
8. Check the kernel version
wait for one minute then ssh to the google cloud
uname -r
should include "5.13.12+v2alpha"