Pre-requirement:
If you haven’t completed the “Server Setup Guide” then please do so before continuing with this guide.
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 (TESTNET branch) there and install it:
cd ~
git clone -b testnet 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
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 Nano Wallet, the official wallet: https://github.com/OnzCoin/onz-nano/releases/tag/v1.3.3
IMPORTANT: Store or write down the first and second passphrase in a safe place, we cannot restore your fund if you lost your passphrase.
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
Good luck!