ONZ Coin MAINNET — Node Installation Guide

in #crypto-social7 years ago

Pre-requirement:

If you haven’t completed the Server Setup Guide then please do so before continuing with this guide.

  • After preparing your server, you can now install ONZ on your server. To complete this tutorial, you will need:
  • One Ubuntu 16.04 server, including a sudo non-root user and a firewall configured with ssh port 22 (or the random one you created in the Secure node guide), 11000 & 11001 (for MAINNET) open.
  • A wallet with 205 ONZ (you can buy from exchanges or trade with other ONZ owners), will be used for register your delegate name and setup the second passphrase.

First Step

First of all you’ll need to login into your server with the username you created when preparing the server:

Login as: YOURUSERNAME
Password: YOURPASSWORD

Install en_US.UTF-8 locales:

sudo locale-gen "en_US.UTF-8"

Now, change to your home directory, clone the ONZ repository (MASTER branch) there and install it:

cd ~
git clone https://github.com/OnzCoin/onz.git

Then run the following cmds, one by one.

cd onz
./onz_manager.bash install

When install is complete, please CLEAN_START your node:

./onz_manager.bash clean_start

To check the status of your onz node, it should show the Block height increasing, type:

./onz_manager.bash status

Second Step

Note: Registration should not take place on your own node, but use the Nano Wallet download from official GitHub.Otherwise your first and second passphrase will be sent un-encrypted over the network, thus making it very easy for anyone to steal your coins!

Download and install the latest version of Nano Wallet: https://github.com/OnzCoin/onz-nano/releases/

IMPORTANT: Store or write down the first and second passphrase in a safe place, we cannot restore your fund if you lost your passphrase.

  1. After install, create your ONZ address by clicking “New Account”.
  2. (Optional) Setup your second passphrase by click on the top-right “…” icon and click “Register second passphrase”. Follow the steps to create your second passphrase.
  3. Go to buy the ONZ Coins.
  4. Send the coins to your new wallet address to get start.
  5. After you receive your coin, click on the top-right “…” icon to show the sub-menu.
  6. Now click on “Register as delegate ”.
  7. Type in the name of your delegate and send the registration fee. If you have setup a second passphrase, it will ask you for it.

Final Step

ONZ is now installed. However, you’ll need to modify the config.json to your own values. Type:

sudo nano config.json

Edit the “forging” part by placing your secret in double quotes inside the brackets [“word1 word2 word3”] with your first passphrase (the 12 words you use to login). It is important that you keep the same format as shown above:

"forging": { 
"force": false,
"secret": ["word1 word2 word3 word4 word5 word6 word7 word8 word9 word10 word11 word12"],
"access": {
"whitelist": [
"127.0.0.1"
]
}
}

After editing the file press Ctrl+x and confirm with y and then Enter.To apply the changes made in the config.json, make sure to always RELOAD ONZ:

./onz_manager.bash reload

To make sure your node is working,

./onz_manager.bash status

That’s it!Now, go to join ONZ Slack (https://www.onzcoin.com/goslack.html) or DISCORD (https://discord.gg/jN96F3A)  and tell peoples about your delegate name and ask for votes in #voter_channel!

Good luck!

Coin Marketplace

STEEM 0.21
TRX 0.25
JST 0.038
BTC 95634.12
ETH 3333.35
USDT 1.00
SBD 3.08