Merge pull request #167 from greatest-ape/work-2024-01-01

Update scripts/bench/setup-udp-bookworm.sh: install kernel from bookworm-backports
This commit is contained in:
Joakim Frostegård 2024-01-01 19:53:25 +01:00 committed by GitHub
commit 2d959ee8fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,8 +2,10 @@
# Prepare for running aquatic_bench for UDP on Debian 12
# Install dependencies
sudo apt-get update && apt-get upgrade -y
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y curl vim htop screen cmake build-essential pkg-config git screen cvs zlib1g zlib1g-dev golang
sudo echo "deb http://deb.debian.org/debian bookworm-backports main contrib" >> /etc/apt/sources.list
sudo apt-get update && sudo apt-get install linux-image-amd64/bookworm-backports
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"
@ -35,4 +37,6 @@ git clone https://github.com/chihaya/chihaya.git
cd chihaya
go build ./cmd/chihaya
sudo cp ./chihaya /usr/local/bin/
cd ..
cd ..
echo "Finished. Reboot before running aquatic_bencher"