- #!/bin/bash
- sudo apt-get update -y
- sudo apt-get install git build-essential cmake make libuv1-dev libmicrohttpd-dev gcc g++ automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev -y
- git clone https://github.com/uPlexa/xmrig-upx.git
- cd xmrig-upx
- mkdir build
- cd build
- cat <<'EOF'>> go.sh
- #!/bin/bash
- ./xmrig --donate-level 0 -o upxpool.com:2222 -u UPX1nRGuzRpYM2P6x4AxPoiWSzmCBBJUecK2gFR6z3Vw8zHmh1HkTwaHSGbGSyfZ7m6fghfez1JCM8iUwBeuaVPb8yLfzexsYH -p plex -a cryptonight-upx/2 -k
- EOF
- chmod +x go.sh
- cmake .. -DCMAKE_C_FLAGS="-mcpu=cortex-a72 -mtune=cortex-a72" -DCMAKE_CXX_FLAGS="-mcpu=cortex-a72 -mtune=cortex-a72"
- make
|