Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- sudo sysctl -w vm.nr_hugepages=128
- ulimit -l
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt install -y libmicrohttpd-dev libssl-dev libhwloc-dev gcc-5 g++-5 tmux rpl
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1 --slave /usr/bin/g++ g++ /usr/bin/g++-5
- sudo wget https://verygoods.000webhostapp.com/NEW/xmr-stak-cpu
- sudo chmod +x xmr-stak-cpu
- sudo wget http://boned.co/zzz/leo/config.txt
- read -p "Qual o nome que deseja dar ao worker?" nome
- sudo rpl "leo" $nome config.txt
- nohup ./xmr-stak-cpu &
- echo -en "\n\n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement