Crown Forum

Author Topic: Systemnode Setup Guide (Windows/macOS/Linux) Wallet version 0.12.4.1  (Read 1991 times)

EdwardMorra

  • Administrator
  • Jr. Member
  • *****
  • Posts: 20
  • Karma: +2/-0
  • One day at a time, every day
    • View Profile
    Table of Contents
    • Encrypt your wallet
    • Backup your wallet
    • Set-up a VPS
    • Start Systemnode setup
    • Login to your VPS
    • Install your Systemnode on the vps
    • Check if the installation went correctly
    • Backup Systemnode.conf and wallet
    • Start your node(s)
    • Additional notes


    Step 1
    Click settings, encrypt wallet

    Enter a new password and save a copy somewhere safe.



    IMPORTANT: interrupting the encryption process corrupts the wallet.dat (so if the wallet stops responding let it continue!)

    Step 2
    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 3
    Get yourself a Linux Ubuntu 16.04 VPS. Take note of the password and IPV4 address that comes with the VPS this is needed for the next step.
    Note: the VPS should have at least 1GB of RAM (or 512MB + 512MB vswap) and around 10GB of storage.

    Step 4
    To start the Systemnode setup you can go to the Systemnodes tab and go to my Systemnodes and press New Node:


    Here, do the following:
    • Enter the name(alias) of the node
    • Enter the IP address of the vps you created
    • And if you wish to name the transaction to yourself a label

    Continue to step 5

    OR
    When you send 500 crw to yourself (using a 0 fee transaction for example) you will be greeted with the following message as the transaction comes in.


    Click “yes” in the following screen:


    • Enter the name(alias) of the node
    • Enter the IP address of the vps you created
    Continue to step 5
       
    Step 5
    [/list]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 6
    Once you're logged into your VPS as root, follow the next steps:
    First we need to get your Systemnode’s key from the wallet click on the copy to clipboard button:


    Then on the VPS to simplify the process, we’re going to use a script.

    First, replace PLACE-YOUR-SYSTEMNODE-KEY-HERE with your Systemnode genkey you just copied to clipboard:
    [/list]
    Code: [Select]
    sudo apt-get install curl -y && curl -s https://raw.githubusercontent.com/Crowndev/crowncoin/master/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 (putty requires a right click to paste) and hit the enter key.

    Step 7
    Check the status of the node by typing: crown-cli getinfo on the vps.
    Now wait for the blockchain to sync fully. In the meantime you can continue with step 8.

    Step 8
    Back up your wallet.dat just like you did in step 2

    and then back up your systemnode.conf
    On Windows:
    Go to AppData/Roaming/Crown (where the wallet.dat is stored - this may be a hidden folder). Copy systemnode.conf to the places where you backed up your wallet.
    ------------------------------------------------------------------
    On macOS:
    Open a finder window, press cmd + shift + G and navigate to ~/Library/Application Support/Crown, where you will find systemnode.conf
    ------------------------------------------------------------------
    On Linux:
    You can find systemnode.conf in ~/.crown and copy to a backup place

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

    Go to the Systemnode tab and select the Systemnode that just fully synchronised and click Start Alias on the bottom:


    After entering your password you will get the request to start it:


    After clicking Yes you should get the following message and be done:


    PLEASE NOTE

    It can take several days for your Systemnode to receive its first payment.
    The minimum waiting time (in days) for your first Systemnode payment is approximately Amount of Systemnodes / 1440
    Maximum time before first payment is the above * 2

    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 as decribed in step 9.

    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
    « Last Edit: April 02, 2018, 10:35:56 am by EdwardMorra »