Advertisement
bunam

miner.sh

Jan 17th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.88 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. # http://minexmr.com
  4. # /var/lib/cloud/instance/scripts/part-001
  5.  
  6. # <a href="https://dply.co/b/W2Fcb5Yf"><img src="https://dply.co/b.svg"/></a>
  7. # [][![Dply](https://dply.co/b.svg)](https://dply.co/b/W2Fcb5Yf)
  8. # https://dply.co/b/W2Fcb5Yf
  9.  
  10. yum -y groupinstall "Development Tools"
  11. rpm --import http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
  12. yum -y install epel-release
  13. yum -y install git curl-devel libcurl glib-devel libtool htop
  14.  
  15. # apt-get install libcurl4-openssl-dev pkg-config libtool libncurses5-dev
  16.  
  17. cd /tmp
  18. git clone https://github.com/wolf9466/cpuminer-multi
  19. cd cpuminer-multi
  20. ./autogen.sh
  21. CFLAGS="-march=native" ./configure
  22. make
  23. nohup ./minerd -a cryptonight -o stratum+tcp://pool.minexmr.com:4444 -u 48RzV8K85uuM5L3sJpXXuYbpJFsuFiQ92LBaoMtedjPvRmU3ticw8z9X3DTCD7CWtS4SPkxPvsT4cELMvsX7JeAtVm9vC82 -p x -t 1 &
  24. echo "ok" > /root/hop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement