Post
Topic
Board Altcoin Discussion
Re: (LINUX) (MANUAL) compile altcoin wallet in linux / cloud
by
drakoin
on 03/04/2014, 08:33:36 UTC
# Groestl coind

# your wallet in the cloud - compile and install from github sources
# Create your cheap linux virtual server (VPS) in the cloud in 55seconds
# Buy 5$ droplet e.g. at digital ocean http://tiny.cc/digocean NL USA Singapur

# You can build your GroestlCoind wallet on that server.

# Complete copy paste is possible. A bit more info what this does is in the
# first posting #1, and the recent posting with explanations #16.

# 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.




# for some reason compiling this needs a larger SWAP FILE:
sudo dd if=/dev/zero of=/swapfile bs=80M count=16
sudo mkswap /swapfile
sudo swapon /swapfile

# set the path to the db4.8
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"

# download sources from github
cd ~
git clone https://github.com/GroestlCoin/GroestlCoin
cd GroestlCoin/src

# this is to avoid compile errors (dev: when fixed it in your source code, PM me please):
chmod a+x leveldb/build_detect_platform

# compile (takes a looooong time)
make -f makefile.unix USE_UPNP=-
cp GroestlCoind ..

cd ~
mkdir ~/.GroestlCoin

# create config file - copy all in one go. Make sure to change your password
cat << "CONFIG" >> ~/.GroestlCoin/GroestlCoin.conf
listen=1
server=1
rpcuser=LOCALUSER
rpcpassword=VERYSECURESUPERLONGSUPERSAFEPASSWORD
rpcport=1441
addnode=37.187.129.122
addnode=62.210.162.235
addnode=88.167.215.32
addnode=69.197.137.58
addnode=103.16.218.165
addnode=84.98.85.30
addnode=76.16.120.82
addnode=62.210.123.27
addnode=117.13.253.241
CONFIG
ls ~/.GroestlCoin


# start server
~/GroestlCoin/GroestlCoind &  

# most important RPC commands
~/GroestlCoin/GroestlCoind getnewaddress forDonations
~/GroestlCoin/GroestlCoind listreceivedbyaddress 0 true
~/GroestlCoin/GroestlCoind getbalance

# for more RPC commands, see above, postings #1 or #16, and the API calls list

# if this tutorial was useful to you, please tip me Groestlcoins ( = remember to come back and tip me some  coins :-) )
~/GroestlCoin/GroestlCoind sendtoaddress FstNLSjkh4xJjoiCRd24hw8tKoun8pFrux 200 ThanksToDrakoin ThanksForTutorial

# or now in other currencies at www.tiny.cc/drakointip, or pass on profitable hints to me www.tiny.cc/drakoinhints