Here's this for free folks:
Signup at DigitalOcean (referral link: https://www.digitalocean.com/?refcode=62c04e82d0b6) Linode, or other VPS providers that allow CPU mining or intensive processes. Be sure to read their AUP/TOS and make sure. I can't be held liable.
Once you signed up at DO (DigitalOcean) use Ubuntu 13.04 x64, add funds to your account, etc.
Once you logged in via SSH to your VPS, use the code below. It's best to enter it in line by line.
Run this to update the packages and get the correct ones:
Get the src and compile:
Make conf:
Run:
Commands (helpful):
Auto start if it crashes:
To run the above:
Also run this just in case to make sure the program itself isn't mining:
--------------------
CPU MINER:
Note: the first two commands make sure that Quark is running and that it is not mining (the standalone miner is faster).
OTHER: Move minerd to /usr/local/bin to run minerd from anywhere:
QRK: QjGT9fh2ddaBmgEebDUM1S2AxKLhUuRojp
BTC: 16arTRn45LFB7PGsHbdt7ZfFZxdya9HDXM
Signup at DigitalOcean (referral link: https://www.digitalocean.com/?refcode=62c04e82d0b6) Linode, or other VPS providers that allow CPU mining or intensive processes. Be sure to read their AUP/TOS and make sure. I can't be held liable.
Once you signed up at DO (DigitalOcean) use Ubuntu 13.04 x64, add funds to your account, etc.
Once you logged in via SSH to your VPS, use the code below. It's best to enter it in line by line.
Run this to update the packages and get the correct ones:
Quote
apt-get update
apt-get install git -y
apt-get install libjansson-dev -y
apt-get install unzip make build-essential libcurl4-openssl-dev -y
apt-get install build-essential libssl-dev make libboost-all-dev libdb5.3++-dev -y
apt-get install libgmp-dev -y
apt-get install libminiupnpc-dev -y
apt-get install git -y
apt-get install libjansson-dev -y
apt-get install unzip make build-essential libcurl4-openssl-dev -y
apt-get install build-essential libssl-dev make libboost-all-dev libdb5.3++-dev -y
apt-get install libgmp-dev -y
apt-get install libminiupnpc-dev -y
Get the src and compile:
Quote
git clone https://github.com/MaxGuevara/quark
cd quark/src
make -f makefile.unix
mv quarkcoind /usr/local/bin/
cd quark/src
make -f makefile.unix
mv quarkcoind /usr/local/bin/
Make conf:
Quote
mkdir ~/.quarkcoin
echo "rpcuser=user
rpcpassword=pass
listen=1
addnode=65.61.116.102
addnode=80.220.73.35
addnode=192.241.231.51
addnode=192.241.121
addnode=198.20.109.154
addnode=100.0.1.198.84
addnode=192.241.229.210
addnode=37.139.12.182
addnode=37.139.12.133
addnode=123.244.30.36
rpcport=8910" > ~/.quarkcoin/quarkcoin.conf
echo "rpcuser=user
rpcpassword=pass
listen=1
addnode=65.61.116.102
addnode=80.220.73.35
addnode=192.241.231.51
addnode=192.241.121
addnode=198.20.109.154
addnode=100.0.1.198.84
addnode=192.241.229.210
addnode=37.139.12.182
addnode=37.139.12.133
addnode=123.244.30.36
rpcport=8910" > ~/.quarkcoin/quarkcoin.conf
Run:
Quote
quarkcoind --daemon
Commands (helpful):
Quote
quarkcoind getbalance
quarkcoind sendtoaddress (ADDRESS) (AMOUNT)
quarkcoind listtransactions | grep 'address\|category'
watch -n 1 'quarkcoind listtransactions & quarkcoind getmininginfo'
quarkcoind sendtoaddress (ADDRESS) (AMOUNT)
quarkcoind listtransactions | grep 'address\|category'
watch -n 1 'quarkcoind listtransactions & quarkcoind getmininginfo'
Auto start if it crashes:
Quote
cd
echo '#!/bin/bash
export PATH="/usr/local/bin:$PATH"
killall --older-than 10s -q run-quarkcoind quarkcoind
function background_loop
while :; do
quarkcoind >/dev/null 2>&1
sleep 1
done
background_loop &' > run-quarkcoind
chmod +x run-quarkcoind
echo '#!/bin/bash
export PATH="/usr/local/bin:$PATH"
killall --older-than 10s -q run-quarkcoind quarkcoind
function background_loop
while :; do
quarkcoind >/dev/null 2>&1
sleep 1
done
background_loop &' > run-quarkcoind
chmod +x run-quarkcoind
To run the above:
Quote
./run-kingcoind
Also run this just in case to make sure the program itself isn't mining:
Quote
quarkcoind setgenerate false 0
--------------------
CPU MINER:
Note: the first two commands make sure that Quark is running and that it is not mining (the standalone miner is faster).
Quote
quarkcoind --daemon
quarkcoind setgenerate false 0
cd
wget http://stonefoz.myfastmail.com/cpuminer-quark2.zip
unzip cpuminer-quark2.zip
cd cpuminer-quark2
CFLAGS="-O3 -msse2" ./configure
make
./minerd -o localhost:33333 -u user -p pass
quarkcoind setgenerate false 0
cd
wget http://stonefoz.myfastmail.com/cpuminer-quark2.zip
unzip cpuminer-quark2.zip
cd cpuminer-quark2
CFLAGS="-O3 -msse2" ./configure
make
./minerd -o localhost:33333 -u user -p pass
OTHER: Move minerd to /usr/local/bin to run minerd from anywhere:
Quote
git clone https://github.com/jgarzik/cpuminer
cd cpuminer
./autogen.sh
CFLAGS="-O3 -Wall -msse2" ./configure
make
mv minerd /usr/local/bin
minerd -o localhost:33333 -u user -p pass
cd cpuminer
./autogen.sh
CFLAGS="-O3 -Wall -msse2" ./configure
make
mv minerd /usr/local/bin
minerd -o localhost:33333 -u user -p pass
QRK: QjGT9fh2ddaBmgEebDUM1S2AxKLhUuRojp
BTC: 16arTRn45LFB7PGsHbdt7ZfFZxdya9HDXM
Uh oh we got a smart cookie, close but no cigar.