====== CPUMiner ====== Tried 3 different forks... [[https://github.com/tpruvot/cpuminer-multi.git]] [[https://github.com/JayDDee/cpuminer-opt]] [[https://github.com/luisvasquez/cpuminer-easy]] ===== Installation ===== Check Github for info. ===== Configuration ===== They are all kind of the same. I tried to use the .json conf file but it kind of didnt work the way it was supposed to. I start the miner with the following commands: ./cpuminer --syslog --algo=cryptonight --user=. --pass=x --url=stratum+tcp://cryptonight.eu.nicehash.com:3355 --background Pass "x" is needed to make the "wallet.name" work. If you set your workername instead of "x" and remove the ".name" there will be no name shown or used! You also might want to disable "%%--syslog%%", this was only activated for testing. ===== Startscript ===== I dont want to start the miner by path with commands so I created a startscript which you can place in /etc/init.d/. If you did that, you can start|stop|restart the miner with "service " Its not perfect yet, it doesnt write a pidfile and I kind of cant get the pid with ps -ef. Fix it yourself if you need this... :-P #!/bin/bash SERVICENAME=/scripts/cpuminer-easy/cpuminer PID=`ps -ef | grep '[c]puminer' | cut -d " " -f6` case "$1" in start) SERVICE=nohup /scripts/cpuminer-easy/cpuminer-start.sh /var/run/cpuminer.pid [ $? -eq 0 ] && echo "$SERVICENAME was started" ;; stop) #kill -9 $(cat /var/run/cpuminer.pid) #rm /var/run/cpuminer.pid kill -9 $PID [ $? -eq 0 ] && echo "$SERVICENAME was stopped" ;; restart) $0 stop $0 start ;; status) #if [ -z "$PID" ]; #then #echo "$SERVICENAME not running" #else #echo "$SERVICENAME is running" #fi ;; *) echo "Usage: $0 (start|stop|restart)" ;; esac #!bin/bash /scripts/cpuminer-easy/cpuminer --syslog --algo=cryptonight --user=. --pass=x --url=stratum+tcp://cryptonight.eu.nicehash.com:3355 --background ===== Bitcoin Mining ===== see above. What to mine [[https://whattomine.com/coins]] Check Wallet [[https://www.nicehash.com/miner/]] Nicehash pools [[https://www.nicehash.com/help/which-stratum-servers-are-available]] ===== Intensecoin Mining ===== Cryptocurrency Market Capitalizations [[https://coinmarketcap.com/currencies/intensecoin/]] Intensecoin Website [[https://intensecoin.com/]] Pool with difficulty levels [[http://intensecoin.com/pool/#getting_started]] cpuminer --syslog --algo=cryptonight --user= --pass=x --url=stratum+tcp://45.32.171.89:4444 --background