Update scripts/bench/setup-udp-bookworm.sh

This commit is contained in:
Joakim Frostegård 2024-01-01 19:47:51 +01:00
parent 98ce4ca019
commit 602b71cdd6

View file

@ -2,8 +2,10 @@
# Prepare for running aquatic_bench for UDP on Debian 12 # Prepare for running aquatic_bench for UDP on Debian 12
# Install dependencies # 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 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 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env" source "$HOME/.cargo/env"
@ -35,4 +37,6 @@ git clone https://github.com/chihaya/chihaya.git
cd chihaya cd chihaya
go build ./cmd/chihaya go build ./cmd/chihaya
sudo cp ./chihaya /usr/local/bin/ sudo cp ./chihaya /usr/local/bin/
cd .. cd ..
echo "Finished. Reboot before running aquatic_bencher"