Crown Forum

Author Topic: [LEGACY / OLD] Systemnode Setup Guide (Windows/macOS/Linux)  (Read 3206 times)

higherbridge

  • Administrator
  • Full Member
  • *****
  • Posts: 43
  • Karma: +4/-0
  • Community Ambassador
    • View Profile
[LEGACY / OLD] Systemnode Setup Guide (Windows/macOS/Linux)
« on: December 14, 2017, 02:04:39 pm »
Please note that due to an update, the newest guide can be found at https://forum.crown.tech/index.php?topic=1240.0

Table of Contents

  • Request a payment
  • Generate a systemnode genkey
  • Encrypt your wallet
  • Backup your wallet
  • Send yourself 500 CRW
  • Receive the systemnode outputs (txid)
  • Set-up a VPS
  • Login to your VPS
  • Install your systemnode
  • Check if the installation went correctly
  • Edit systemnode.conf
  • Start your node(s)
  • Additional notes

Please note that due to an update, the newest guide can be found at https://forum.crown.tech/index.php?topic=1240.0

1. LOCAL INSTRUCTIONS

Step 1
Inside the Crown wallet, click the “receive” tab and click request payment.

Copy the address and save it in a notepad file.




Step 2
Inside your Crown wallet go to tools -> debug console and type: systemnode genkey

Copy the string output and save it.


Step 3
Now click settings, encrypt wallet

Enter a new password and save a copy.




Step 4
In the wallet, click file -> backup wallet

Save your wallet.dat carefully (recommended is on 2-3 separate
hard drives and not on cloud storage. Please do your own research on good practices regarding wallet safety).


Step 5
Send exactly 500 CRW to the public address
you created earlier.


Step 6
Once the 500 has arrived, backup your wallet again. Then check that your transaction has enough confirmations before proceeding! 16 are required.


Then go to tools -> debug console and type systemnode outputs

Copy the correct string and save it. This is the transaction ID (txid).


2. REMOTE INSTRUCTIONS

Step 7
Get yourself a Linux Ubuntu 16.04 VPS. Take note of the password and IPV4 address that comes with the VPS.
Note: the VPS should have at least 1GB of RAM (or 512MB + 512MB vswap) and around 10GB of storage.

   
Step 8
On a Windows machine, you now need to download PuTTy and install it.

On a Mac or Linux machine, open the Terminal.

Enter the IP address of the VPS you created and login to the server using root as the user and the password
supplied by your VPS provider.


Step 9
Once you're logged into your VPS as root, follow the next steps:

To simplify the process, we’re going to use a script.

First, replace PLACE-YOUR-SYSTEMNODE-GENKEY-HERE with your masternode genkey from step 2:
Code: [Select]
sudo apt-get install curl -y && curl -s https://raw.githubusercontent.com/Crowndev/crowncoin/setup-scripts/scripts/crown-server-install.sh | bash -s -- -s -p PLACE-YOUR-SYSTEMNODE-GENKEY-HERE
Copy and paste the above line with your genkey in your VPS and hit the enter key.

Step 10
Check the status of the wallet by typing: crown-cli getinfo

Now wait for the blockchain to sync fully. In the meantime you can continue with step 11.

3. LOCAL INSTRUCTIONS (CONT.)
      
Step 11
On Windows:
Shut down your CrownQt wallet.
Go to AppData/Roaming/Crown (where the wallet.dat is stored - this may be a hidden folder).
------------------------------------------------------------------
On macOS:
Shut down your CrownQt wallet.
Open TextEdit (a standard mac application)
In the 'Open file' window, press '/', an address bar will appear
Type ~/Library/Application Support/Crown and hit enter

Alternatively, you could use the terminal editor by typing nano ~/Library/"Application Support"/Crown/systemnode.conf
On linux you can find systemnode.conf in ~/.crown
------------------------------------------------------------------

Find systemnode.conf and open the file.
You will see an example of how the text file should look.
In the image below you can find a more a more detailed example.



Enter the information you have gathered throughout this guide in the
appropriate places according the the example above.

Step 12
Once the blockchain has fully synchronised on your VPS, run your local CrownQT wallet.

Goto the systemnode tab

Click start all

NOTE: Please keep in mind that pressing start all will restart any node that is already running - and loosing any up-time in the process! If you already have one or more nodes running, you can either start missing or start separate aliases.



You're now DONE!


PLEASE NOTE

It can take anywhere from 6 to 9 days for your systemnode to receive its first payment.
[TotalSystemnodes x 2.6 x 60] = seconds to wait and minimum time before first payment.
Maximumtime before first payment is the above + [TotalSystemnodes / 1440] = days

Usually as long as the systemnode says enabled in your systemnode tab, and the active section shows anything above 00:00, you should be good to go.

It may take up to half an hour for your Systemnode's uptime to change from 00:00 to the actual time. Please be patient.

How to check if you installed your Systemnode correctly
Enter crown-cli systemnode status into your VPS command line.

If it outputs this is not a systemnode, something may have gone wrong in the process.

If it says not capable systemnode: Hot node, waiting for remote activation, you should activate the node from your local wallet.

If the command outputs that the Systemnode is enabled but not yet activated, wait for the VPS wallet to sync with the network. This may take a few minutes. It may be that your wallet is not synced up to the current block. Enter crown-cli getinfo, look at the block your wallet is at and compare that to the current block on http://crown.today

Please note that due to an update, the newest guide can be found at https://forum.crown.tech/index.php?topic=1240.0
« Last Edit: March 22, 2018, 10:19:10 am by Twister »