Advertisement
Guest User

Xmrig compile

a guest
Dec 4th, 2021
4,083
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.78 KB | None | 0 0
  1. #<-- my referral link : https://prohashing.com?r=Df1TkRCH -->
  2.  
  3. #download termux from f-droid website
  4.  
  5. #---compile script (between #--- and #---)
  6.  
  7. #---
  8. apt update &&
  9. apt upgrade &&
  10. apt install -y git wget proot build-essential cmake libmicrohttpd &&
  11. git clone https://github.com/xmrig/xmrig --depth 1 &&
  12. mkdir xmrig/build &&
  13. cd xmrig/build &&
  14. cmake -DWITH_HWLOC=OFF .. &&
  15. make -j10 &&
  16. #---
  17.  
  18. #---run rig (the first run you just need the following between #--- and #---)
  19.  
  20. #---
  21. ./xmrig -a randomx -o prohashing.com:3359 -u your prohashing username -p x
  22. #---
  23.  
  24. #--- second run after closing you might have to do something like the following (between #--- and #---)
  25.  
  26. #---
  27. cd xmrig
  28. cd build
  29. ./xmrig -a randomx -o prohashing.com:3359 -u your prohashing username -p x
  30. #---
  31.  
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement