Author Topic: How to set up a node for $5 a month  (Read 148 times)

Heat007

  • Global Moderator
  • Full Member
  • *****
  • Posts: 160
  • Karma: +5/-0
  • Welcome to our new ColossusCoin-Forum!
    • View Profile
How to set up a node for $5 a month
« on: August 11, 2017, 01:01:00 PM »
Hi everyone, thought I would share this guide with you, it will also work with near any cryptocurrency as long as you install the correct dependancies and addnodes.


1. Sign up to https://www.digitalocean.com/ create a droplet and select the size and give it a hostname. The $5 plan will work just fine for a node for our use.

****When creating a droplet, I chose Ubuntu 12.04.5 x32****

2. open your email and retrieve the ip address and root password of the node
   
****The ip address is also located in your digitalocean main menu in the droplets tab****

3. open putty.exe and type in the ip address, hit ok to login, accept the complaint

****Putty.exe lets you connect to your node remotely through SSH private keys and can download it from http://tartarus.org/~simon/putty-snapshots/x86/putty.zip or visit their main download page at http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html ****

4. login as root and password supplied in your email, it will ask you to change your root password, make sure you can remember what your password is for the node.If mainly familiar with Windows, you will be at a windows that looks similiar to a windows DOS console. This is the Linux Terminal and your friend in Linux, commands you will use on a regular basis are as follows***


****use "sudo" to provide admin rights to the changes****

****use "apt-get" to retrieve packages from repositories****

****use "install" to install packages

****use "-y" to indicate for packages not to need confimation

****use "cd" to navigate to the main directory and can follow the command when indicating a folder while is a directoy****

****An example of moving to directories you would type****

cd

****this would move you to the home directory and from here we can type****

cd ColossusCoin2/

***this would move you into the ColossusCoin2 folder [email protected]:~/ColossusCoin2# ****

****we can move into the src folder by typing****

cd src/

****and would now be at [email protected]:~/ColossusCoin2/src# ****

***Alternatively if in the home directory, you can navigate directly to the src folder by typing****

cd ColossusCoin2/src


4. We download all the dependancies needed

****in your putty.exe terminal, type****

cd

apt-get update

apt-get install -y git make g++ build-essential libminiupnpc-dev

sudo apt-get install -y libdb++-dev libssl-dev libboost1.48-all libboost-chrono1.48-dev


****Now get the source code and build it****

cd   

git clone https://github.com/Crestington/ColossusCoin2.git

cd ColossusCoin2/src/leveldb

sh build_detect_platform build_config.mk ./

cd

cd ColossusCoin2/src

make -f makefile.unix

***** Then we run the daemon

./ColossusCoin2d

***** It will crash first go asking about a config file so we create a config file
*****Note: Copy everything from cat << "CONFIG" >> upto and including CONFIG and paste it in your console and hit enter****

cat << "CONFIG" >> ~/.ColossusCoin2/ColossusCoin2.conf

listen=1
daemon=1
server=1
rpcuser=colossuscoin
rpcpassword=password1
rpcport=43521
port=43522
rpcallowip=127.0.0.1
addnode=184.164.129.202:63519
addnode=37.187.153.6:55137
addnode=217.175.119.125:61865
addnode=88.99.248.15:34668
addnode=58.54.159.51:56148
addnode=81.169.251.126:62797
addnode=193.124.58.8:61439
addnode=173.212.196.182:39443
addnode=146.66.37.172:43522
addnode=193.77.187.107:49884
addnode=185.128.41.157:43522
addnode=64.250.42.140:64661
addnode=85.224.56.57:49889
addnode=99.0.109.149:57407
addnode=84.250.140.247:1299
addnode=70.119.5.86:49959
addnode=141.134.25.49:51272
addnode=89.12.242.22:59889
addnode=185.17.206.221:17680
addnode=81.11.235.32:53578
addnode=24.185.244.88:44202
addnode=89.12.242.22:52731
addnode=176.241.74.218:54956
addnode=71.38.63.48:51141
addnode=67.84.22.18:51480
addnode=109.161.76.109:56612
addnode=202.38.182.76:50593
addnode=89.212.28.193:25449
addnode=108.227.218.167:63294
addnode=86.206.66.230:49499
addnode=95.42.230.127:59153
addnode=187.150.155.156:65440
addnode=70.162.9.173:49491
addnode=69.176.242.196:18319
addnode=196.52.84.37:59050
addnode=201.19.70.158:57412
addnode=178.221.139.171:49402
addnode=94.25.168.168:34672
addnode=37.8.230.27:22660
addnode=113.248.156.26:4099
addnode=89.212.161.111:63576
addnode=113.248.156.26:3217

CONFIG



****Note: to open the daemon and issue commands you navigate to the directory****

cd ColossusCoin2/src

****then type****

./ColossusCoin2d

****To use the same commands as the qt console, all commands follow ./Colossuscoin2.0d****

****we check that our node is connected to other peers by typing****

./ColossusCoin2d getinfo

****To get a list of help commands type

./ColossusCoin2d help

****to send to an address, it looks like this

./ColossusCoin2d sendtoaddress CaeSxvJKqpKaX63Pr6Xa5SzG73RycBRwWD 10000000

ColossusCoin2-qt: Qt5 GUI for ColossusCoin2
===============================

Build instructions
===================

Debian
-------

First, make sure that the required packages for Qt5 development of your
distribution are installed, for Debian and Ubuntu these are:

::

    apt-get install qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools \
        build-essential libboost-dev libboost-system-dev \
        libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \
        libssl-dev libdb++-dev

then execute the following:

::

    qmake
    make

Alternatively, install Qt Creator and open the `ColossusCoin2-qt.pro` file.

An executable named `ColossusCoin2-qt` will be built.