Created
February 5, 2019 21:54
-
-
Save 1umpus/d1511f8157fb05911a630512a16423bb to your computer and use it in GitHub Desktop.
shadow setup
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
#!/bin/bash | |
# Install dependencies | |
apt-get update | |
apt-get install -y gcc g++ python libglib2.0-0 libglib2.0-dev libigraph0v5 libigraph0-dev cmake make xz-utils git | |
apt-get install libc-dbg | |
apt-get install -y python-matplotlib python-numpy python-scipy python-networkx python-lxml | |
apt-get install -y git dstat screen htop | |
apt-get -y install gcc automake autoconf zlib1g-dev liblzma5 liblzma-dev | |
# Install shadow | |
git clone https://github.com/shadow/shadow.git | |
cd shadow | |
./setup build --clean --debug --test -y | |
./setup install | |
./setup test | |
# Install shadow-plugin-tor | |
cd .. | |
git clone https://github.com/shadow/shadow-plugin-tor.git | |
cd shadow-plugin-tor | |
./setup dependencies -y | |
./setup build -y | |
./setup install | |
echo "export PATH=${PATH}:/root/.shadow/bin" >> ~/.bashrc && source ~/.bashrc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment