Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. # Install preres
  2. sudo apt install software-properties-common -y
  3. sudo add-apt-repository ppa:jonathonf/gcc-7.1 -y
  4. sudo apt update
  5. sudo apt upgrade -y
  6. sudo apt install git build-essential cmake libuv1-dev libssl-dev libmicrohttpd-dev gcc-7 g++-7 screen -y
  7. git clone https://github.com/xmrig/xmrig-nvidia.git
  8. cd xmrig
  9. mkdir build
  10. cd build
  11. cmake .. -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7
  12. make
  13.  
  14. # view hugepages compatibility (if never - then skip)
  15. #cat /sys/kernel/mm/transparent_hugepage/enabled
  16.  
  17. # modify hugepages setting to match mining core count (8-core example below)
  18. sudo sysctl -w vm.nr_hugepages=4
  19.  
  20. screen -dmS monero sudo ./xmrig-nvidia -a cryptonight -o stratum+tcp://pool.supportxmr.com:5555 -u 42modg9HPhnbJGMSALoZHJGTnjT9xrZrA5cnPY92Y4rChj4wmjYeDb1DLAqaXUeniYjZxJVTscbApRBsgVxRJBszEB884yY -p $(hostname)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement