└── minerSetup.sh /minerSetup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ "$EUID" -ne 0 ] 3 | then echo "Please run as root" 4 | else 5 | apt update -y 6 | apt install autoconf libcurl4-openssl-dev libjansson-dev openssl libssl-dev gcc gawk automake git -y 7 | git clone https://github.com/lucasjones/cpuminer-multi.git 8 | cd cpuminer-multi 9 | ./autogen.sh 10 | ./configure 11 | make 12 | printf "To use type ./minerd with any options you want while in the cpuminer-multi folder\n" 13 | printf "For example ./minerd -a cryptonight -o stratum+tcp://xmr-usa.dwarfpool.com:8050 -u 45MfScNnyb3KwanUH4feiDExdydQ3cACKPpJuxmtoVnY25Khw7nBeZmXhtoWj4Pfi4PjdxkFWpaW72PR3Jy1Xr8R6HFyk9M -p x -t 4" 14 | 15 | fi 16 | --------------------------------------------------------------------------------