HOT+COLD Wallet setup Windows & Linux VPS
What the automatic installation is doing:
Installation and configuration of your masternode as a Linux service, setup the firewall, install fail2ban for SSH security. You need only to generate the transaction, all other is automated.
NOTE - If you see any error messages while working through this guide or certain commands aren’t working, please retrace your steps or stop in at our Discord channel for support.
Also, there are other setup guides out there and they take different approaches and place files in different directories…. jumping between guides is not recommended unless you’re an experienced Linux user and can easily and account for the differences in paths and commands. In such cases we can’t support you!
a VPS server with Ubuntu 16.x, 18.x or Debian OS
installation directory /root
Step 1 - Download & sync the Desktop QT wallet
Step 2 - Setting up the collateral transaction
The first step involves sending exactly the needed masternode collateral about 9999 to a new wallet address. You’ll want to have a small amount above to cover the transaction fee, so you’ll need to have a starting balance of at least, say 10.001.00 GOSS. First, we’ll create a new wallet address to hold the collateral.
In the QT wallet, choose: File->Receiving addresse... and give it a label, such as MN01
Click Request Payment to create the address. You’ll see the new address. Choose Adddress Copy to store that address in the clipboard.
Click Close to exit the receiving address dialog. Now we’ll send the collateral amount to the address you just created.
Under the Send tab, paste the address that you copied into the Pay To: field. The Label field should pre-populate with the label you gave it earlier, in this case, MN01 and in the Amount: field, enter the actual collateral
Click Send and your transaction will be broadcast to the network
You’ll need to wait for 20 confirmations (the current number of confirmations is viewable in the Transactions tab before the masternode will fully activate. But now wait at least 1 confirmation before you follow the guide.
We can start working through the rest of the setup in the meantime
All is clear till now? This part was successful? When yes go to the next step, when no start over. All steps are easy and clear. Read, understand and do it.
Step 3 - Generate the masternode entry and the RPC user and password
Next, we need to the Masternode tab in the wallet and click the Add Masternode button.
Fillout your alias name (in our example MN01), your VPS server IP address with the port (126.96.36.199:23677), the private key, output and output ID will be filled out automatically when you press the buttons Autofill Privkey and Autofill Outputs.
Go to Tools - Open Wallet Configuration File
Put this in your wallet config file, change the username and password to your own, take care that you have no blanks, spaces or a newline in the file. Save and close the text file after editing.
You can use the online password generator for the username and password. You musn't remember this. https://www.random.org/passwords/
Open the Masternodes tab in the wallet and click Add Masternode (be sure that you 9999 transaction have at least 1 confirmation.
Click Autofill Privkey and Outputs, the fields will be filled automatically. Copy the Privkey in a text file.
Fill the alias Name (MN01) and add the IP address from your Linux VPS server with the port (188.8.131.52:23677) and click OK.
Restart your wallet (close and open).
Step 4 - Setting up a Linux VPS
You will choose a VPS provider which you like. You are paying more than 3$ per month for you server? Be not so lazy and search, you will find nice providers from 1.50$/month. You not need “special” security extras, like DDOS protection.
Use fail2ban and the UFW firewall for security hardening. But what I’m telling you, when you install you’re masternode manually, you know this all.
Be patient with other different masternodes on one server. My suggestion is, run not more than two masternodes on one machine with 1GB memory.
This hardware specs are enough for a stable masternode: 1024 MB (1GB RAM), 20 GB disc, 1 CPU
Step 5 - Logging into your VPS with PuTTY
To access the VPS, we need to use a protocol called SSH. An SSH session will give you command-line access to your VPS and will be the mechanism we use for running commands on the Linux machine. We’ll use a program called PuTTY. (For OSX users, you can use your Terminal and just run the command ssh root@<YOUR VPS IP ADDRESS>)
The latest version of PuTTY can be downloaded from here. Install PuTTY and run it. Once open, you’ll see the standard PuTTy interface: Under Host Name, enter the IP address for your VPS.
You’ll likely see a security alert listing the ssh key fingerprint, choose Yes. Next up, you’ll see the login prompt for your VPS.
Note that in PuTTY, a right-click will paste the contents of your clipboard. So if you’re copying and pasting the root password, a right-click will paste. You won’t see any *’s or feedback for the password when you paste it, so just hit Enter after pasting. If you get an Access Denied message, double-check your root password and try typing it in manually rather than pasting.
Step 6 - Install the Masternode
Start the installation:
wget https://bitbucket.org/GOSSIPCOIN/gossip-mn-autosetup/raw/master/gossip-mn-autosetup.sh && sudo chmod +x gossip-mn-autosetup.sh && sudo ./gossip-mn-autosetup.sh
The script will ask you about the RPC User, RPC Password and the Masternode Key. The RPC User and Password you defined in the beginning in you Windows wallet and the Masternode key was generated in the Windows wallet too when you created the Masternode record.
NOTE: The GOSSIP daemon is starting automatically (service) at system start. When you are rebooting the server, your GOSSIP masternode is starting and syncing automatically.
Step 7 - Activate the Masternode
Return to your Windows wallet.
NOTE, before clicking start, make sure your transaction has AT LEAST 16 confirmations, you can check the number of confirmations by hovering the mouse cursor over the transaction in the Transactions tab.
Go to the Masternodes tab, right click your masternode and click Click the Start Alias. Now you can see "Enabled".
Make a double check on your Linux server:
sudo ./goss-control.sh -f
We can see: “Masternode successfully started”
When you are receiving an error message, the rpc username or password match with your entries in the VPS server. Correct it please.
When you are using IP v6 addresses, please do the following steps.
1. Stop the daemon
sudo ./goss-control.sh -b
2. Open the config file with an editor. (a text editor can be nano or vi)
3. Put the following in the end of your config file, no new line in the end and no blanks behind. Safe and close after editing.
bind=[YOUR v6 address] masternodeaddr=[YOUR v6 address]:23677
4. Start the daemon
sudo ./goss-control.sh -a
5. Check the blockcount
sudo ./goss-control -g
Masternode Control Program
With this small program, or better to say control script, you can easy manage and check all important functions of the masternode.The location is: /root
The start is pretty easy: ./goss-control.sh -OPTION - Sample: ./goss-control.sh -f
|-a||start GOSSIP service|
|-b||stop GOSSIP service|
|-c||status GOSSIP service|
|-d||checks the autostart of the GOSSIP service when the server is starting|
|-e||masternode sync status|
|-g||check the blockcount|
|-h||help - usage for this script|
|-m||show firewall log|