Here ill show you how to setup a Syndicate Masternode on a Ubuntu VPS Setup.
Things Needed:
VPS From Vultr (5$ Vps perfect . You can add more than 1 masternode on there. (Not the same masternode tho) ) : https://goo.gl/mxcb24
5000 Tokens from Cryptopia : https://goo.gl/auqctL
Once you have created and launched your masternode VPS, login as root and create a new user:
( also remember to do your security updates and make use of RSA ssh keys. ( will do a video on all of this )
Desktop Prep
Download the wallet
Start and Close the wallet. (creates the folder structure)
Download Syndicate_blockchain_2017_09_28.zip bootstrap file. mirror1 older chain https://goo.gl/s5xH12
Extract the zip file to %appdata%/Syndicate/ folder. Override existing files!
Add the following content to the %appdata%/Syndicate/Syndicate.conf file or use this file that contains 110 active nodes.
addnode=45.32.224.137:9999
addnode=149.56.183.161:9999
addnode=45.76.34.135:9999
addnode=104.238.184.213:9999
addnode=158.69.221.184:9999
addnode=45.76.140.201:9999
addnode=45.32.93.20:9999
addnode=45.76.46.76:9999
addnode=108.61.252.19:9999
Delete %appdata%/Syndicate/peers.dat file.
Start the wallet and wait for the sync. (30min to 10h depending on the number of the connections)
VPS Setup
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 9999
sudo ufw allow ssh/tcp
sudo ufw limit ssh/tcp
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable
Step 4 Download the script and execute it.
sudo wget https://github.com/SyndicateLabs/SyndicateQT/releases/download/v1.0.0.7/SYNX_HEADLESS_UBUNTU_V1.sh
sudo chmod +x SYNX_HEADLESS_UBUNTU_V1.sh
sudo ./SYNX_HEADLESS_UBUNTU_V1.sh
Step 5 Edit the “syndicate.conf” file on the masternode vps server.
sudo nano ~/.Syndicate/Syndicate.conf
Step 6
Paste this into it and adjust the values to your values. (masternodeprivkey is the value you got from “masternode genkey” in debug window)
rpcuser=YOURRPCUSERNAME
rpcpassword=YOURRPCPASSWORD
rpcallowip=127.0.0.1
server=1
listen=1
daemon=1
masternode=1
logtimestamps=1
maxconnections=256
masternodeprivkey=YOURMASTERNODEPRIVKEY
Step 7
Download “peers.dat” file & replace it with the current “peers.dat”.
sudo wget http://97.78.71.74/peers.dat --no-check-certificate
sudo mv peers.dat ~/.Syndicate/peers.dat
Now restart Syndicated
sudo Syndicated stop
sudo Syndicated
Check info
sudo Syndicated getinfo
Last Step:
On the local Computer, go to “%appdata%/Syndicate/Syndicate.conf” and add these 2 lines with your values. (You set rpcuser & rpcpassword on the vps)
rpcuser=YOURRPCUSERNAME
rpcpassword=YOURRPCPASSWORD
Then
Open Syndicate Wallet on local Computer and go to “masternodes” tab.
Click “Create..” and input all the values. The last 3 values are the ones you stored in the “masternode.txt” file.
MN1 = Masternode alias
123:220.42.69:9999 = IP address & port of remote ubuntu masternode vps
YOURMASTERNODEPRIVKEY = output of “masternode genkey” command
YOURSYNXTXID = 1. value of output of “masternode outputs” command
0 = 2. value of output from “masternode outputs” command in debug window
Now click “Start” and the Masternode should start successfully!
Like my Content - tip me
Syndicate: SUBPUEs9anQYaEkbhuHH7KTN43aE5LpZki