Your Name il y a 4 ans
commit
021ee59fd2
1 fichiers modifiés avec 15 ajouts et 0 suppressions
  1. 15 0
      Build_xmrig_upx_raspi.sh

+ 15 - 0
Build_xmrig_upx_raspi.sh

@@ -0,0 +1,15 @@
+#!/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
+