How to setup a SocialSEND masternode on a VPS running Ubuntu 14.04?
This guide only covers one method of setting up your SEND masternode, there are plenty of other approaches out there!
Furthermore i take no responsibility for any issues you run into nor can i ensure that this guide will work at any times in the future.
LOCAL PREPARATION
Step 1===========
Open the SEND wallet and click on the "Receive" tab.
Label a new receiving address. Call it what ever you want, e.g. "Masternode1".
Click on "Request payment" and then "Copy address".
Step 2===========
Switch to the "Send" tab of your wallet and send exactly 6250 SEND to the address we've just created.
Step 3===========
Inside your wallet got to "Tools" > "Debug console" and type:
createmasternodekey
hit enter.
Safe the output to a local textfile.
Step 4===========
Inside your wallet click on "Settings" > "Encrypt wallet"
Enter a password and write it down somwhere safe.
Step 5===========
Click on "File" > "Backup Wallet" and safe the wallet.dat somewhere safe.
Step 6===========
Open the debug console of you wallet again and type:
masternode outputs
hit enter and safe the output into a new text file.
REMOTE INSTRUCTIONS
Step 1===========
Get yourself a Linux Ubuntu 14.04 VPS and connect to it via PuTTy (for Windows) or Terminal for Mac and Linux. Note: this guide will only work for Ubuntu 14.04!
Step 2===========
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
Step 3===========[OPTIONAL]
adduser send
adduser send sudo
su send
sudo ssh-keygen -b 4096
cd .ssh
sudo cat id_rsa.pub >> authorized_keys
Save the private key “id_rsa” to your local computer in order to authenticate to the server with your SSH certificate. (You have to convert the id_rsa to a “.ppk file in order to be able to use the privatekey with PuTTy)
sudo service ssh restart
sudo nano /etc/ssh/sshd_config
Change the following values in the file.
PasswordAuthentication no
UsePAM no
PermitRootLogin no
Step 4===========
sudo su
fallocate -l 3G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo -e "/swapfile none swap sw 0 0 \n" >> /etc/fstab
Step 5===========
su send (if you have created a send user in Step 3, else skipp this command)
sudo apt-get install nano htop git
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils software-properties-common
sudo apt-get install libboost-all-dev
sudo apt-get install software-properties-common
sudo apt-get install p7zip-full
sudo apt-get update
sudo apt-get install libzmq3-dev libminiupnpc-dev libssl-dev libevent-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
sudo apt-get update
sudo apt-get upgrade
Step 6===========
sudo mkdir send
cd send
sudo mkdir src
cd
Step 7===========
sudo wget www.socialsend.io/Wallets/SendLinux1004.7z
7za e SendLinux1004.7z
sudo cp sendd /usr/local/bin/
sudo cp send-cli /usr/local/bin/
Step 8===========
sudo chmod 755 -R send
sudo mkdir send1
cd
./sendd -datadir=/root/send1 (<-returns an error, which we'll fix later)
Copy rpcuser and rpcpassword into a fext file
./send-cli -datadir=/root/send1 stop (<- again returns an error, we'll fix it in the next step)
Step 9===========
sudo nano /root/send1/send.conf
##
## PUT THIS IN CONFIG FILE, REPLACE x & 0.0.0.0 WITH YOUR OWN DATA - RPC AND BIND IN INCREMENTS OF 1 FOR MULTI NODES
## masternodeprivkey=xxx THIS IS FROM MASTERNODE GENKEY
## masternodeaddr=0.0.0.0:50050 THIS IS THE EXTERNAL IP OF VPS
##
rpcuser=xxx
rpcpassword=xxx
rpcport=55050
bind=0.0.0.0:50050
server=1
listen=0
daemon=1
masternode=1
masternodeprivkey=xxx
masternodeaddr=0.0.0.0:50050
addnode=198.55.107.162:50050
addnode=45.32.182.161:50050
addnode=66.55.159.5:50050
addnode=142.91.104.115:50050
##
Save and exit conf file.
Step 10===========
./sendd -datadir=/root/send1 -config=/root/send1/send.conf -daemon
./send-cli -datadir=/root/send1 -config=/root/send1/send.conf getblockcount
Wait for your wallet to fully sync
Step 11===========
sudo ufw allow ssh/tcp
sudo ufw limit ssh/tcp
sudo ufw allow 50050/tcp
sudo ufw allow 55050/tcp
sudo ufw logging on
sudo ufw --force enable
LOCAL INSTRUCTIONS
Step 1===========
Go into the installation directory of you SEND wallet and open the masternode.conf file. On windows e.g. %appdata%/SEND/masternode.conf
Add the following line and adjust the values to your data.
MasternodeName 0.0.0.0:50050 "Output of createmasternodekey command" "txhash from masternode outputs" "outputidx"
At the end it should look something like this:
Masternode1 45.32.155.138:50050 88ZXmAF8is6XnfD6z7LnCZrHxishnnzzyuSeYQz4KYib9AvjmMT 7337a48d396798cf61a124eed5c619a29a998ba533650839edb2bd7fdbbd42e9 0
Save the changes and restart you local wallet.
Once restarted switch to the "Masternodes" tab of you wallet and click "Start all".
Your masternode should be up and running now.
To check your masternodes status run:
./send-cli -datadir=/root/send1 -config=/root/send1/send.conf masternode status
To stop the daemon run:
./send-cli -datadir=/root/send1 -config=/root/send1/send.conf stop
To start the daemon run:
./send-cli -datadir=/root/send1 -config=/root/send1/send.conf start
-----------------------------
Tips are welcome, but not mandatory!
SEND address: SeNXyfXQePS6YB1BLJxBwmxkAmLW6S7b5P
Or if you still need VPS hosting feel free to sign up with vultr.com by using my affiliate link:
https://www.vultr.com/?ref=7238145
Furthermore i take no responsibility for any issues you run into nor can i ensure that this guide will work at any times in the future.
LOCAL PREPARATION
Step 1===========
Open the SEND wallet and click on the "Receive" tab.
Label a new receiving address. Call it what ever you want, e.g. "Masternode1".
Click on "Request payment" and then "Copy address".
Step 2===========
Switch to the "Send" tab of your wallet and send exactly 6250 SEND to the address we've just created.
Step 3===========
Inside your wallet got to "Tools" > "Debug console" and type:
createmasternodekey
hit enter.
Safe the output to a local textfile.
Step 4===========
Inside your wallet click on "Settings" > "Encrypt wallet"
Enter a password and write it down somwhere safe.
Step 5===========
Click on "File" > "Backup Wallet" and safe the wallet.dat somewhere safe.
Step 6===========
Open the debug console of you wallet again and type:
masternode outputs
hit enter and safe the output into a new text file.
REMOTE INSTRUCTIONS
Step 1===========
Get yourself a Linux Ubuntu 14.04 VPS and connect to it via PuTTy (for Windows) or Terminal for Mac and Linux. Note: this guide will only work for Ubuntu 14.04!
Step 2===========
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
Step 3===========[OPTIONAL]
adduser send
adduser send sudo
su send
sudo ssh-keygen -b 4096
cd .ssh
sudo cat id_rsa.pub >> authorized_keys
Save the private key “id_rsa” to your local computer in order to authenticate to the server with your SSH certificate. (You have to convert the id_rsa to a “.ppk file in order to be able to use the privatekey with PuTTy)
sudo service ssh restart
sudo nano /etc/ssh/sshd_config
Change the following values in the file.
PasswordAuthentication no
UsePAM no
PermitRootLogin no
Step 4===========
sudo su
fallocate -l 3G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo -e "/swapfile none swap sw 0 0 \n" >> /etc/fstab
Step 5===========
su send (if you have created a send user in Step 3, else skipp this command)
sudo apt-get install nano htop git
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils software-properties-common
sudo apt-get install libboost-all-dev
sudo apt-get install software-properties-common
sudo apt-get install p7zip-full
sudo apt-get update
sudo apt-get install libzmq3-dev libminiupnpc-dev libssl-dev libevent-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
sudo apt-get update
sudo apt-get upgrade
Step 6===========
sudo mkdir send
cd send
sudo mkdir src
cd
Step 7===========
sudo wget www.socialsend.io/Wallets/SendLinux1004.7z
7za e SendLinux1004.7z
sudo cp sendd /usr/local/bin/
sudo cp send-cli /usr/local/bin/
Step 8===========
sudo chmod 755 -R send
sudo mkdir send1
cd
./sendd -datadir=/root/send1 (<-returns an error, which we'll fix later)
Copy rpcuser and rpcpassword into a fext file
./send-cli -datadir=/root/send1 stop (<- again returns an error, we'll fix it in the next step)
Step 9===========
sudo nano /root/send1/send.conf
##
## PUT THIS IN CONFIG FILE, REPLACE x & 0.0.0.0 WITH YOUR OWN DATA - RPC AND BIND IN INCREMENTS OF 1 FOR MULTI NODES
## masternodeprivkey=xxx THIS IS FROM MASTERNODE GENKEY
## masternodeaddr=0.0.0.0:50050 THIS IS THE EXTERNAL IP OF VPS
##
rpcuser=xxx
rpcpassword=xxx
rpcport=55050
bind=0.0.0.0:50050
server=1
listen=0
daemon=1
masternode=1
masternodeprivkey=xxx
masternodeaddr=0.0.0.0:50050
addnode=198.55.107.162:50050
addnode=45.32.182.161:50050
addnode=66.55.159.5:50050
addnode=142.91.104.115:50050
##
Save and exit conf file.
Step 10===========
./sendd -datadir=/root/send1 -config=/root/send1/send.conf -daemon
./send-cli -datadir=/root/send1 -config=/root/send1/send.conf getblockcount
Wait for your wallet to fully sync
Step 11===========
sudo ufw allow ssh/tcp
sudo ufw limit ssh/tcp
sudo ufw allow 50050/tcp
sudo ufw allow 55050/tcp
sudo ufw logging on
sudo ufw --force enable
LOCAL INSTRUCTIONS
Step 1===========
Go into the installation directory of you SEND wallet and open the masternode.conf file. On windows e.g. %appdata%/SEND/masternode.conf
Add the following line and adjust the values to your data.
MasternodeName 0.0.0.0:50050 "Output of createmasternodekey command" "txhash from masternode outputs" "outputidx"
At the end it should look something like this:
Masternode1 45.32.155.138:50050 88ZXmAF8is6XnfD6z7LnCZrHxishnnzzyuSeYQz4KYib9AvjmMT 7337a48d396798cf61a124eed5c619a29a998ba533650839edb2bd7fdbbd42e9 0
Save the changes and restart you local wallet.
Once restarted switch to the "Masternodes" tab of you wallet and click "Start all".
Your masternode should be up and running now.
To check your masternodes status run:
./send-cli -datadir=/root/send1 -config=/root/send1/send.conf masternode status
To stop the daemon run:
./send-cli -datadir=/root/send1 -config=/root/send1/send.conf stop
To start the daemon run:
./send-cli -datadir=/root/send1 -config=/root/send1/send.conf start
-----------------------------
Tips are welcome, but not mandatory!
SEND address: SeNXyfXQePS6YB1BLJxBwmxkAmLW6S7b5P
Or if you still need VPS hosting feel free to sign up with vultr.com by using my affiliate link:
https://www.vultr.com/?ref=7238145
Kommentare
Kommentar veröffentlichen