Attaching this to the thread, surely it's interesting for you!
How to get your miners run all day long without having your PC on with putty running.
Supervisor is a very good tool to help you monitoring your miners. Just an easy way to get your miner run automatically on boot and don't stop when you're sleeping. This beautiful tool restarts primeminer if something goes wrong (and doesn't sleep
).
Assuming you've already installed primecoin miner in a Ubuntu machine and know (at least a bit) how to use it, here we go!
----
apt-get install supervisor
If you're not root (like with W. Azure) add "sudo" at the beggining of the command.
mkdir -p /var/log/supervisor
touch /etc/supervisor/conf.d/primecoin.conf
nano /etc/supervisor/conf.d/primecoin.conf
-------
This will open a text editor. Paste the following with a right click.
ATTENTION!
Make sure you CHANGE WORKER NAME GENPROCLIMIT (THREADS, 2 PER CPU IS RECOMMENDED) AND "ADDRESS.WORKER" (D8dkQanAJdTgADPzMtyMdjdFbXGQVdJq8Z.WORKER1) IF NECCESARY, LEAVE POOLSHARE INTACT FOR THE POOL SHOWN AND POOLPASWORD ALSO.
Finally, if you installed primeminer not using root privileges, (W. Azure case), change "/root/" for "/home/YOURUSERNAMEHERE/" (W.Azure default: azureuser).
----
[program:primecoin]
command=/root/primecoin/src/primeminer -pooluser=D8dkQanAJdTgADPzMtyMdjdFbXGQVdJq8Z.A0 -poolpassword=0 -poolip=162.243.41.59 -poolport=8336 -poolshare=6 -genproclimit=8
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log
autorestart=true
-------
(just if you don't mind mining for me, change the address D8dkQanAJdTgADPzMtyMdjdFbXGQVdJq8Z for your one of your wallet's public keys
)
Press Ctrl + X to exit and save
/etc/init.d/supervisor stop
/etc/init.d/supervisor start
Congrats, your are a miner now
You can see your miner in action with the command
tail -f /var/log/supervisor/primecoin.log
You can later check your earnings with the mining pool visiting
http://dtc.gpool.net/user/D8dkQanAJdTgADPzMtyMdjdFbXGQVdJq8Z (change the last long string with your wallet)
Credits for davidedicillo.com. FULL GUIDE:
http://www.davidedicillo.com/developing/how-to-mine-primecoin-xpm-on-the-cloud/Tip me if you find this will save you money (time is money, so it will surely do
). I have like 10 VPSes and it helps a lot!
DTC: D8dkQanAJdTgADPzMtyMdjdFbXGQVdJq8Z
DOGE: DGRNFX1NhiyTXHHWwCbfz4rvGxuUb1RW46
LTC: LN1bRH8Sr2WHZ4Ce4SWe7gpnNe3V16wzNt
FRK: FNahZGdKHeRWCd4ifVTcFq6McPD79qv4Zb
NMC: N4fTNXhLGNdFe1boKPd1YiqcQNMVNbaarx
PTS: PaFx21wDVkZix2WAy2bcWdXbtRYttcsRej
BTC: 1MdxyjzoRGM3vkkLn1qoRgifTgtFLy3qk5