# I succeeded with this on Ubuntu 12.04 and Debian 7.0 x64
# Create your cheap linux virtual server (VPS) in the cloud in 55seconds
# Buy 10$ droplet e.g. at digital ocean http://tiny.cc/digocean NL USA Singapur
# You can build your dopecoind wallet on that server.
# Instructions are the same as above, just replace all occurences of "duckduckcoin" with "DopeCoin".
# If your server is brand new, you need to prep it for compilation & building, just do everything in posting #1 until "get the wallet source", then continue here.
# not to run into any trouble with lack of RAM space
# during the compilation, we create a swap file:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile
# our old db4.8 is needed during the compilation:
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"
# if we don't do that we get the error
# "db.h:14:20: fatal error: db_cxx.h: No such file or directory
# compilation terminated. make: *** [obj/db.o] Error 1#"
# get the wallet source from github, compile and build,
# and copy the binary to ~/DopeCoin/dopecoind
cd ~
git clone https://github.com/dopecoin-dev/DopeCoin
cd ~/DopeCoin/src
make -f makefile.unix
cp dopecoind ..
# now that the compilation is done, to save money,
# you can power down the droplet,
# resize it to 0.5GB of RAM (from 10$ down to 5$ per month),
# and power up again.
# create a config file (copy paste all in one go):
cd ~
mkdir ~/.dopecoin
cat << "CONFIG" >> ~/.dopecoin/dopecoin.conf
gen=0
listen=1
server=1
rpcallowip=127.0.0.1
rpcuser=dopecoinuser
rpcpassword=yoursooperdooperpasswordhighlysecure
addnode=5.199.149.228
addnode=213.37.49.176
addnode=98.191.67.106
addnode=107.170.47.143
addnode=171.100.105.151
addnode=174.51.17.18
addnode=116.1.49.175
addnode=106.68.186.128
addnode=84.128.238.204
addnode=183.14.197.233
addnode=197.0.143.159
addnode=213.185.37.164
addnode=82.6.159.183
addnode=91.157.180.238
addnode=80.143.88.230
addnode=94.52.19.22
addnode=93.137.196.0
addnode=93.137.196.0
addnode=77.173.110.4
addnode=94.22.75.142
addnode=85.76.175.236
addnode=72.13.133.222
addnode=96.2.98.225
addnode=213.73.177.144
addnode=31.163.28.203
addnode=77.102.251.218
addnode=77.8.30.138
addnode=82.68.134.30
addnode=95.91.240.205
CONFIG
# Start the server:
~/DopeCoin/dopecoind &
# unfortunately it does not answer with: dopecoin server starting,
# but if the following works we know that it is running:
# most important RPC API commands to control your accounts
~/DopeCoin/dopecoind getbalance
~/DopeCoin/dopecoind getinfo
~/DopeCoin/dopecoind getnewaddress forDonations
~/DopeCoin/dopecoind listtransactions forDonations
# the list of commands of the RPC API is given by
~/DopeCoin/dopecoind help
# If you liked this tutorial, send me some dopecoins please:
~/DopeCoin/dopecoind sendtoaddress 4WMzYuW49UdKLbTE8NcEy6Tt19JFQJknC9 1.234 ThankYouForYourTutorial
# or in other currencies at www.tiny.cc/drakointip
#