@scolcoin scolcoin released this Jan 24, 2019 · 5 commits to master since this release

recommended system linux ubuntu 16.04

Update your VPS using the following commands.
sudo apt-get update
sudo apt-get upgrade

Install the necessary dependencies using the following commands.
sudo apt-get install build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev git libssl1.0.0-dbg
sudo apt-get install libdb-dev libdb++-dev libboost-all-dev libminiupnpc-dev libminiupnpc-dev libevent-dev libcrypto++-dev libgmp3-dev

First step
sudo adduser scolcoin --disabled-password
Full Name []: (enter)
Room Number []:(enter)
Work Phone []:(enter)
Home Phone []:(enter)
Other []:(enter)
sudo apt-get install git
sudo su - scolcoin
mkdir ~/bin ~/src
PATH="$HOME/bin:$PATH"
echo $PATH
(/home/scolcoin/bin:…) I´m fine
cd src
wget https://github.com/scolcoin/scolcoin/releases/download/node2019/scolcoind

Second step
strip scolcoind
cp -a scolcoind ~/bin
cd
cd bin
chmod +x scolcoind

Third step
Create the configuration file.
mkdir ~/.scolcoin
nano ~/.scolcoin/scolcoin.conf

Paste the following lines in yourcoin.conf.
rpcuser=rpc_scolcoin
rpcpassword=69c863e3356d3dae95df454a1
rpcallowip=127.0.0.1
listen=1
server=1
txindex=1
daemon=1
addnode=167.114.103.43:31497
addnode=170.254.3.170:31497
addnode=178.238.233.225:31497
addnode=181.115.10.150:31497
addnode=181.49.80.195:31497
addnode=181.58.4.154:31497
addnode=181.59.62.94:31497
addnode=181.63.73.63:31497
addnode=186.144.77.39:31497
addnode=186.170.194.94:31497
addnode=188.166.43.138:31497
addnode=190.144.14.30:31497
addnode=190.205.250.59:31497
addnode=190.7.138.242:31497
addnode=191.109.204.117:31497
addnode=191.110.168.83:31497
addnode=191.91.4.216:31497
addnode=201.232.239.94:31497
addnode=207.180.208.212:31497
addnode=34.76.73.157:31497
addnode=35.185.211.193:31497
addnode=35.194.94.58:31497
addnode=35.203.125.98:31497
addnode=35.203.37.236:31497
addnode=35.205.60.183:31497
addnode=35.226.252.146:31497
addnode=35.228.131.129:31497
addnode=35.237.153.3:31497
addnode=96.52.68.171:31497
addnode=178.238.233.225:31497

Store with the Ctrl + x key
Question do you want to store? press Y key (Yes)
Then Press key (Enter)

Start your node with the following command.
scolcoind

They will get the message "Scolcoin server starting"

It is already running if you want to turn it off you can put the command
scolcoind stop

if you want to see the current status of the network:
scolcoind getinfo

You will already have the server with the scolcoind configured.

Create in Tasks (Optional)
Log with root user and change the directory to /etc/init/.
$ cd /etc/init
Create the upstart config file.
$ cat > scolcoin-daemon.conf

description "scolcoin daemon"

start on runlevel [23]
stop on shutdown

exec sudo -u fork /home/scolcoin/bin/scolcoind
post-stop exec sleep 30

respawn
respawn limit 5 30

Start the service.
$ start scolcoin-daemon

You now have your seed node up and running. It will automatically restart if something goes wrong.

Stopping the service.
$ stop scolcoin-daemon

Assets 3