mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
Update scripts/bench/setup-udp-bookworm.sh
This commit is contained in:
parent
98ce4ca019
commit
602b71cdd6
1 changed files with 6 additions and 2 deletions
|
|
@ -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"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue