Hi there,
after googling and testing different settings out i have made this install instructions for those who would like to run a dogecoin miner on their cpanel / centos server. Including the instructions for monitoring script which restarts your miner in case it crashes.
Here we go:
first of all sign up at http://doge.poolerino.com/index.php and create your worker for mining,
after that you have to open port tcp 3333 in the firewall of your server, a good description can be found here: http://www.liquidweb.com/kb/opening-...your-firewall/
in next step login as a root user to your server via ssh client and add following commands one after another:
(every code block means next command)
open file with nano or vi editor like this:
and paste this code into the file:
save the file with ctrl + x
open next file:
and add to it
save the file with ctrl + x
open next file:
and add to the end
save the file with ctrl + x
run next command!
Done!
P.S. similar installation can be done for the bitcoin mining.
P.P.S. miner will increase your server load
after googling and testing different settings out i have made this install instructions for those who would like to run a dogecoin miner on their cpanel / centos server. Including the instructions for monitoring script which restarts your miner in case it crashes.
Here we go:
first of all sign up at http://doge.poolerino.com/index.php and create your worker for mining,
after that you have to open port tcp 3333 in the firewall of your server, a good description can be found here: http://www.liquidweb.com/kb/opening-...your-firewall/
in next step login as a root user to your server via ssh client and add following commands one after another:
(every code block means next command)
Code:
yum update
Code:
yum install git automake gcc make curl-devel
Code:
cd /usr/src
Code:
wget http://sourceforge.net/projects/cpuminer/files/pooler-cpuminer-2.4.tar.gz
Code:
tar xzf pooler-cpuminer-*.tar.gz
Code:
cd cpuminer-*
Code:
./configure CFLAGS="-O3“
Code:
make
Code:
touch /etc/init.d/dogecoin
Code:
chmod +x /etc/init.d/dogecoin
Code:
nano /etc/init.d/dogecoin
Code:
#!/bin/sh DAEMON=/usr/src/cpuminer-2.4/minerd PARAMETERS='-B -o stratum+tcp://doge.poolerino.com:3333 --userpass=poolerinousername.workername:workerpassword' start() { echo -n "starting up $DAEMON" RUN=`cd / && $DAEMON $PARAMETERS >& /dev/null` if [ "$?" -eq 0 ]; then echo "Done." else echo "FAILED." fi } stop() { killall $DAEMON } status() { killall -0 $DAEMON if [ "$?" -eq 0 ]; then echo "Running." else echo "Not Running." fi } case "$1" in start) start ;; restart) stop sleep 2 start ;; stop) stop ;; status) status ;; *) echo "usage : $0 start|restart|stop|status" ;; esac exit 0
open next file:
Code:
nano /etc/chkserv.d/minerd
Code:
service[minerd]=x,x,x,/etc/init.d/dogecoin start,minerd,root
open next file:
Code:
nano /etc/chkserv.d/chkservd.conf
Code:
minerd:1
run next command!
Code:
/scripts/restartsrv_chkservd
P.S. similar installation can be done for the bitcoin mining.
P.P.S. miner will increase your server load
Comment