-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update appnetctl verify & add wrk installation
- Loading branch information
Showing
2 changed files
with
76 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
# Install wrk and wrk2 | ||
sudo apt-get install luarocks -y | ||
sudo luarocks install luasocket | ||
|
||
git clone https://github.com/wg/wrk.git | ||
pushd wrk | ||
make -j $(nproc) | ||
|
||
popd | ||
|
||
sudo apt-get install libssl-dev -y | ||
sudo apt-get install libz-dev -y | ||
|
||
git clone https://github.com/giltene/wrk2.git | ||
pushd wrk2 | ||
make -j $(nproc) | ||
|
||
popd | ||
|
||
set +ex |