-
Notifications
You must be signed in to change notification settings - Fork 3
Masternode Setup Ubuntu 18.04
Manual MN Setup Guide
This guide is for a single masternode on a Ubuntu 18.04 64-bit server (VPS) running headless and will be controlled from the wallet on your local computer. The wallet on the the VPS will be referred to as the Remote wallet.
Requirements for ZEON masternode:
1,000/3,000/5,000 ZEON
A main PC – it will run the control wallet, hold your ZEON and can be turned on and off without affecting the masternode. Masternode Server (VPS – the computer that will be online 24/7 and have Static IP) A unique IP address for your VPS (For security reasons, you’re are going to need a different IP for each masternode)
Download, install and synchronise ZEON wallet on your local PC.
Follow this steps.
Configure your local PC
- Using the control wallet, enter the debug console (Tools > Debug console) and type the following command:
masternode genkey
- Using the control wallet still, enter the following command:
getaccountaddress MN1 (or use Recieve tab)
-
Still in the control wallet, send 1,000/3,000/5,000 ZEON to the address you generated in step 2 (Be 100% sure that you entered the address correctly. You can verify this when you paste the address into the “Pay To:” field, the label will autopopulate with the name you chose”, also make sure this is exactly 1,000/3,000/5,000 ZEON. No less, no more.) Be absolutely 100% sure that this is copied correctly. And then check it again. We cannot help you, if you send your ZEON to an incorrect address.
-
Still in the control wallet, enter the command into the console: masternode outputs
-
Still on the main computer, go into the ZEON data directory, by default in Windows it’ll be %Appdata%/ZEON or Linux ~ Find masternode.conf (OR just push “Open Masternode Configuration File” item in Tools menu) and add the following line to it:
Name of Masternode VPS IP address:32222 The result of Step 1 The result of Step 4 The number after the long line in Step 4
Example:
MN1 31.14.135.27:32222 892WPpkqbr7sr6Si4fdsfssjjapuFzAXwETCrpPJubnrmU6aKzh c8f4965ea57a68d0e6dd384324dfd28cfbe0c801015b973e7331db8ce018716999 1
Configure your VPS
- Go to your VPS Remote wallet. Install the latest version of the ZEON wallet.
Install dependencies: sudo apt-get update sudo apt-get upgrade sudo apt-get install libboost-all-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 install libminiupnpc-dev sudo apt-get install libzmq3-dev
Go to your home directory: cd ~ From your home directory, download the latest version from the GitHub repository.
https://github.com/Pubfred/Zeon_hex/releases
Unzip and extract (use correct file name here): tar -xvf zeon_ubuntu18.04-daemon.tar.gz Go to your ZEON directory: cd ~/ZEON Note: If this is the first time running the wallet in the VPS, you’ll need to attempt to start the wallet ./zeond this will place the config files in your ~/.zeon data directory press CTRL+C to exit / stop the wallet.
-
Find the ZEON data directory. (Linux: ~/.zeon) cd ~/.zeon
-
Open the zeon.conf by typing vi zeon.conf then press i to go into insert mode and make the config look like this:
rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternodeaddr=your unique public ip address:32222
bind=your unique public ip address
masternode=1
externalip=your unique public ip address
masternodeprivkey=Result of Step 1
Make sure to replace rpcuser and rpcpassword with your own.
- to exit the editor press esc then :wq! then press enter
Start your masternode
- Now, you need to finally start these things in this order – Start the daemon client on the VPS. First go back to your installed wallet directory, cd ~/ZEON and then start the wallet using ./zeond
– From the Control wallet debug console (on main PC) startmasternode alias false
where is the name of your masternode alias (without brackets)
The following should appear: “overall” : “Succfully started 1 masternodes, failed to start 0, total 1”, “detail” : [ { “alias” : “”, “result” : “succful”, “error” : “” }
– Back in the VPS (remote wallet), start the masternode ./zeon-cli startmasternode local false
– A message “masternode successfully started” should appear
12)Use the following command to check status:
./zeon-cli masternode status
You should see something like:
{ “txhash” : “334545645643534534324238908f36ff4456454dfffff51311”, “outputidx” : 0, “netaddr” : “45.11.111.111:32222”, “addr” : “Zn6fujc45645645445645R7TiCwexx1LA1”, “status” : 4, “message” : “Masternode succfully started” }
Congratulations! You have successfully created your masternode!
P.S. Thanks to PIVX team for simple MN setup guide.