If you interested in cryptocurrency and want to support certain coin and community as well as earn some money, you might be interested in running MasterNode for chosen coins.

In this article I put together some quick guide how to setup ArcticCoin MasterNode. I have this MasterNode setup and running on dedicated VPS with Ubuntu Linux 14.04 64-bit.

So, once you identified hosting provider of your choice, check if you can deploy VPS with that operating system.

Once you have server deployed you can SSH to it as root and follow commands below…

// Create user account for ArcticCoin MasterNode

First step is to create separate user account for ARC MasterNode. You can run it as root, however it is not recommended, so I will follow route of creating dedicated user for MasterNode with apropriate sudo right.

root@arc-srv-01:~# adduser arcnode01 / P@ssw0rd11
root@arc-srv-01:~# usermod -aG sudo arcnode01

// Extend memory size

root@arc-srv-01:~# apt-get install wget nano -y
root@arc-srv-01:~# dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
root@arc-srv-01:~# mkswap /var/swap.img
root@arc-srv-01:~# swapon /var/swap.img
root@arc-srv-01:~# chmod 0600 /var/swap.img
root@arc-srv-01:~# chown root:root /var/swap.img
root@arc-srv-01:~# nano /etc/fstab

Add following line to /etc/fstab (in last line):

/var/swap.img none swap sw 0 0

// Required software installation

Connect to your server using SSH and arcnode01 account. Once you have shell on remote server install required software.
sudo apt update
sudo apt-get install automake -y
sudo apt-get install libdb++-dev -y
sudo apt-get install build-essential libtool autotools-dev -y
sudo apt-get install autoconf pkg-config libssl-dev -y
sudo apt-get install libboost-all-dev -y
sudo apt-get install libminiupnpc-dev -y
sudo apt-get install git -y
sudo apt-get install software-properties-common -y
sudo apt-get install python-software-properties -y
sudo apt-get install g++ -y

 

// Add repository for Berkeley DB 4.8 and install it

One of the components required for ArcticCoin MasterNode is Berkeley DB 4.8. As this package is not included in any default packages repository, add new repo and install required packages.

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update -y
sudo apt-get install libdb4.8-dev libdb4.8++-dev -y

 

//Configure and enable firewall

To narrow down communication to services on MasterNode server limit ports opened to required by MasterNode and SSH, so you can also manage system remotely.

sudo ufw default deny
sudo ufw logging on
sudo ufw allow 7209/tcp
sudo ufw limit OpenSSH
sudo ufw --force enable

 

// Download and install ArcticCoin MasterNode Software

Now it is time to download and install MasterNode daemon.

mkdir ~/arc
cd ~/arc
wget https://github.com/ArcticCore/arcticcoin/releases/download/v0.12.1.2/arcticcore-0.12.2-linux64.tar.gz">https://github.com/ArcticCore/arcticcoin/releases/download/v0.12.1.2/arcticcore-0.12.2-linux64.tar.gz
tar -xvf arcticcore-0.12.2-linux64.tar.gz
mv arcticcore-0.12.1/* ./
rm arcticcore-0.12.2-linux64.tar.gz
rm -r arcticcore-0.12.1/
sudo cp -v ~/arc/bin/* /usr/local/bin/

 

// Generate wallet address and masternode key

Now important step. We will generate private key and wallet address of our MasterNode.

arcticcoin-cli getaccountaddress mn1
arcticcoin-cli goldminenode genkey # Returns your YOUR_GOLDMINE_KEY
Remember results of these commands as they will be used later on during MasterNode configuration.

// Start ArcticCoin MasterNode Deamon and test connectivity

Now it is time to start MasterNode and check if it works.

arcticcoind --daemon
arcticcoin-cli getinfo
arcticcoin-cli stop

Once you start MasterNode for the first time it will create folder with configuration and data files.

// Create configuration file ~/.arcticcore/arcticcoin.conf

Now create configuration file for MasterNode. In this file you will use private key generated when setting up MasterNode.

rpcuser=user
rpcpassword=password
listen=1
server=1
daemon=1
staking=0
goldminenode=1
externalip=YOUR_SERVER_PUBLIC_IP:7209
goldminenodeprivkey=YOUR_GOLDMINE_KEY;

Once configuration is created start MasterNode

arcticcoind --daemon

Once started you can send deposit fo 1000 ARC to wallet address generated during setup. Once it’s done check transaction ID and IDX as that will be required during further configuration.

arcticcoin-cli goldminenode outputs # Returns { "YOUR_TRANSACTION_ID": "IDX" }
Remember that you have to send 1000 ARC in single transaction. Otherwise MasterNode will not be able to identify amount of deposit sent to wallet.

// Create configuration file ~/.arcticcore/goldminenode.conf

Now you can create MasterNode configuration file.

mn1 YOUR_SERVER_PUBLIC_IP:7209 YOUR_GOLDMINE_KEY YOUR_TRANSACTION_ID IDX

Enjoy your ArcticCoin MasterNode. If you have any questions, please feel free to post comments.