Easy video and step by step tutorial on how to setup Arctic Masternode.
Things Needed:
VPS From Vultr : https://goo.gl/mxcb24
1000.01 Tokens from Cryptopia : https://goo.gl/auqctL
FTP : fillezilla
Putty : http://www.putty.org/
Step 1
Run these commands:
adduser newUsername
usermod -aG sudo newUsername
Step 2:
Run these commands to make a swapfile (for small VPS) :
sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
sudo mkswap /var/swap.img
sudo swapon /var/swap.img
Run free again to confirm you now have a swapfile. Note: If you chose a different server
option from Vultr, with less RAM, you’ll need a LARGER swapfile, i.e. set the count
parameter to something larger like 2048, 4096 etc. If the compilation steps fails partway
through this is usually the reason.
To make the swap file persist when the server is rebooted:
sudo chmod 0600 /var/swap.img
sudo chown root:root /var/swap.img
sudo nano /etc/fstab
Append the following line to the end of the file:
/var/swap.img none swap sw 0 0
Save the file and exit
Step 3: Firewall ( can do this step at anytime )
sudo ufw allow OpenSSH
sudo ufw allow 7209
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable
Step 4
sudo apt-get install -y build-essential software-properties-common autoconf libssl-dev libboost-dev libboost-chrono-dev libboost-filesystem-dev libboost-program-options-dev libboost-system-dev libboost-test-dev libboost-thread-dev sudo automake git
sudo add-apt-repository ppa:bitcoin/bitcoin -y
Step 5
sudo apt-get update
sudo apt-get install libdb4.8-dev bsdmainutils libdb4.8++-dev -y
mkdir ~/arc
Step 6
cd ~/arc
wget 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 ~/arc/bin/arcticcoind /usr/local/bin/
sudo cp ~/arc/bin/arcticcoin-cli /usr/local/bin/
sudo cp ~/arc/bin/arcticcoin-tx /usr/local/bin/
Step 7 Create and edit conf
mkdir .arcticcore
nano .arcticcore/arcticcoin.conf
rpcuser=user
rpcpassword=ASecurePasswordThatYouDontNeedToRemember
server=
Save & Exit
Step 8
arcticcoind -daemon
arcticcoin-cli getinfo
arcticcoin-cli getnewaddress 0
=> address
Save the output of the last command, this is the address you'll send your ARC to.
Send EXACTLY 1000 ARC this address (1000.01
from cryptopia)
Then list transaction to make sure its there:
arcticcoin-cli listtransactions
and get the txid
Save to a text file
Check to make sure your balance is there once synced all blocks and you have 15 Confirmations
arcticcoin-cli getbalance
=> 1000.00000000
Step 9
arcticcoin-cli goldminenode genkey
=><SAVE_THIS_GEN_PRIVATE_KEY_FOR_CONF>
arcticcoin-cli stop
nano .arcticcore/arcticcoin.conf
And edit the conf file again and copy the code below:
~~
server=1
listen=1
daemon=1
goldminenode=1
goldminenodeprivkey= genkey
externalip=<YOUR_SERVER_IP>
~~
Step 10 arcticcoin-cli goldminenode outputs Note the "IDX" value and open the file Add the following line: Then save and start the masternode Then Check your goldmine is connected by doing: arcticcoin-cli goldminenode list | grep 63ab96564e93c676e65f502f24fc254ef599eb051fe52e61f63632206c6f52fb After 20-30 min you should see: Like my content? You can tip me here:
arcticcoind -daemon
=> {
"xxxx": "IDX"
}
"nano ~/.arcticcore/goldminenode.conf".
mn1 <YOUR_SERVER_IP> :7209 GENKEY TXID +1arcticcoin-cli goldminenode start
.
"TXID-IDX": "PRE_ENABLED"
arcticcoin-cli goldminenode list | grep txid
"AAAAA-B": "ENABLED"
BTC: 1BKAbcowg68WytyPbwbFihNJBXpPSFj6u1
ETH: 0xA25D845E0f5F4D0c84770B02Cfb1ea80518e978B