Post
Topic
Board Altcoin Discussion
Re: [XPM] [FASTER!] Mining PrimeCoin using DigitalOcean (VPS)
by
Mrko
on 15/07/2013, 13:55:55 UTC
How do i replace the ancient version with the new one, without delete/recreate my droplet? And keeping the same wallet


I replace it.  Here, lete me help you out some on linux.  I move the old files out and then create a new section.

Quote
primecoind stop
cd ~
mv primecoin old4
git clone https://github.com/mikaelh2/primecoin

cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=miner2
rpcpassword=test2
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.

primecoind --daemon



You need to do "mingw-get install mingw32-gmp" before compiling, else you get this error message:

Code:
In file included from main.cpp:16:0:
prime.h:10:17: fatal error: gmp.h: No such file or directory
compilation terminated.
make: *** [obj/mail.o] Error 1