Skip to content

Instantly share code, notes, and snippets.

@GusGA
Last active December 29, 2015 06:08
Show Gist options
  • Save GusGA/7626377 to your computer and use it in GitHub Desktop.
Save GusGA/7626377 to your computer and use it in GitHub Desktop.
Primecoin Setup in Digital Ocean
  1. Go to DigitalOcean and sign up for an account.

FYI, signing up for multiple accounts using the same info is against their terms of service. If you do this you may have your account removed by DigitalOcean and lose access to any coins you've mined.

  1. Create an Ubuntu 13.04 x64 droplet with the size you want. See below for speed ranges by instance size.

  2. You will be emailed an ip address and password. SSH into your new VM.

  3. cbeast posted his settings that will let you build primecoind on any size instance.

sudo dd if=/dev/zero of=/swapfile bs=64M count=16sudo mkswap /swapfilesudo swapon /swapfile 
apt-get install git
git clone https://github.com/primecoin/primecoin.git
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
cd ~/primecoin/src make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=username rpcpassword=AVeryLongComplexOnegen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/. 
primecoind --daemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment