No node is ever happy done in a hurry but here is the updated and improved quick forge guide. no frills, no fuss,, just good code.

  • Version 1.2 15 Oct 2018 by Wazzy

    if text is in BOLD it is to be copied or run exactly as given,
    if text is in italic, its usually information related to previous script or run command
    if text is bold and in italics, it is important info and must be understood before moving on

    [October special with Digital Ocean] (100$ signup bonus) 20 x 5$ base server instances or 20 months of a single server free,
    I have only seen it with credit card option and not with paypal option

    Cost saving alternativebolded text: 1 € per month for the basic random server instance, but expect below average customer support however specifications are almost identical to the digital ocean base. What i did was use the credit finished with digital ocean and then moved over to aruba for 1 euro price.

    To install and run Ripa Node on the Ripa Blockchain you will need:

    ubuntu 16.04 server 64bit installed on a minimum 1gb Ram and 25gb hard drive server instance, cloud or local.
    Ubuntu 18.04 will install but your node will fail to connect to the commander and you will have a log that looks like this: new block recieved: ####################################
    if you see this, then you probably installed the 18.04 ubuntu server.

    So, lets set up a node and delegate to forge......

    using putty or terminal:
    (digital ocean will email password and you will be required to create new password on first access to the server and remember, by default you cannot see the cursor when entering passwords as well as the right click of the mouse is the paste function, so if you right click a copied text for pasting, you do not need to CTRL V or select paste, paste happens automatically on the right click

    Putty: enter Ip Address and check port 22 OPEN and click save session, for later access.
    Click Open and Yes to save new SSH key to local hosts file
    then enter
    root and password (yourinput)
    Terminal always run
    SSH (user)@(ip address of server)

    once in root, run the following command:
    **sudo apt-get update && sudo apt-get upgrade
    yes to any prompts asking permission.
    after update complete run
    apt-get install ntp -this installs the network time syncronisation script
    See Troubleshooting Your Node / Delegate and useful scripts for improved productivity by Wazzy

    After your OS has been updated and upgraded with latest releases of required packages, Run

    adduser (your username / delegate name)
    -- in creating a new user, new password required as well as info data. If you are creating this profile for someone else, its wise to complete the name etc, but if this is just for you, enter through the fields and just select y to save.
    then run
    usermod -a -G sudo (your username)
    ------ this is to give the new user profile admin rights and editing permissions to system files.

    Normally this point will exit out of putty so you can log in on the new users name, but the switch user command is much quicker, so switch users to install Commander in user location.

    su -l (your username) ---switches you to (userprofile)

    in user profile, run

    wget -O ~/

    ---this will download the installation or setup file for the Ripa Commander which is what unpacks and installs and manages the ripa blockchain software

    Then Modify set up file permissions for installation and system updating,
    chmod 700 ~/
    --- this will grant the set up executable the required privileges and admin rights to install

    then run
    --first a system check is done and any missing required files or updates will then be downloaded and applied.
    When system is updated and all required files updated, you must reboot your server so the new startup will have the changes applied.

    sudo reboot
    ---get error message is normal, close all session windows and wait 2 minutes for your server to reboot the os and apply any changes / updates.

    Putty or Terminal back into
    su -l (yourusername) to switch to user that has the commander installation

    ripanode Commander landing screen should open after entering user password.
    Select 1 for install Ripa Node
    yes to all selection points and paste 1st Passhphrase of registered delegate without space in front or after last word, makes sure you have 12 words in your phrase,
    Yes to apply new configuration
    ---now your node is installed and is connected to the chosen delegate you will use for votes for as well as block reward payouts.
    ---Make sure to create a second passphrase in your wallet / client as the node you're running now contains your first passphrase. If ever hacked, your passhprase is exposed and your funds are at risk unless you have the second passphrase
    After successful installation and delegate registration, you need to sync your node to the Ripa Bock Chains current height, so
    choose 4 to rebuild database
    click yes to download latest snapshot, yes to restore current snapshot with latest snapshot
    *---the snapshot is a up to date (within 15minutes) snapshot of the entire block chain from the first block until the latest block. The higher the block height the longer the restoration takes to sync your node to the network, and every new installation will have the snapshot that was used when packing / writing the final code to the installation files. so your node will be seeing the blockchain as it was at the start. If you fail to sync then you will receive your block to forge when your delegated turn but the network will reject it as your node is forging already forged blocks. This may create a fork which is immediately rejected by the network. So sync first when troubleshooting or installing, this will usually solve or be The download of the snapshot is quick, and small file but restoring the latest snapshot to your new node may take a while. The older the block chain the longer it will take to restore your nodes copy of the block chain exactly and identically as seen by the whole network.

    after snapshot restored, check your nodes block height and compare it to the network, will show you block height, Which network (mainnet or test net) and current supply
    Height: 2,188,987
    Network: Main
    Supply: 119,377,974 ₱

    --synced nodes will be receiving updated block heights as they are forged by fellow delegates, every 8 seconds your node log should show a new entry received.

    Choose L for node log and use
    CTRL C to exit log screen at any point
    ----the log is a live network block reporting tool and a synced node log will show you a new block received every 8 seconds as its forged by a delegate and the height number of the block

    ---The node log will always report a higher block number than what the explorer page will display, as your node is reporting in real time as soon as a block is forged.

    With all the above steps successful the last step is to save the delegates wallet address so your node reports and pulls data from the right wallet.
    Choose A for Node Status and save your Ripa Wallet Address for the delegate when prompted.
    --- this is instructing the commander which address is the delegate address, which was connected via passhprase in the initial set up of the node.....!!!!!Do not save the passhprase here, only the Ripa Wallet Address for the registered delegate !!!!
    The status should show
    Wallet Balance
    Vote Approval %
    Ranking and position

    Press any key to exit and run
    I - Restart Ripa Node

    Select 0 to exit commander

    exit out of user profile back to root user,
    exit out of ssh session

    If your installation or updates take too long, putty and terminal cut your connection to the server after a certain amount of time, this may cause your installation to be interrupted and usually the process that was busy stays locked which will prevent your installation from running again or completing.

    If you were kicked out of the SSH session in the middle of the node installation, ./ you will likely get an error no NTP installed and you should install it manually first before proceeding, try
    sudo apt-get install ntp
    ---if you get this error:
    *E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

    you will need to kill the NTP process from the failed install attempt. Run
    ps -A | grep apt --- process ID displayed of stuck process then run
    sudo kill (processnumber)

    Ripa Commander Home Screen Commands
    1 Install Ripa Commander
    2 Re-install Ripa Commander
    3 Upgrade Commander
    4 Rebuild Database
    5 Set / change Secret Passphrase
    6 Node Status
    7 Other Options
    0 Exit

    P - Start Ripa Node
    I Restart Node
    S Kill Ripa Node

    • [enter] test node running
      K + [enter] Stop Node
      A + [enter] Start node
      R + [enter] Kill and restart
      0 + [enter] will exit the RIPA commander center and return you back to your home directory with a linux command prompt.

    cd ~/ripa-node
    cheat sheet, cheating's sheet
    — — — — — — — — — — — — — — — — — — — — — — — — —
    Restarting your RIPA node: forever restart app.js
     — — — — — — — — — — — — — — — — — — — — — — — — — —
     — — — — — — — — — — — — — — — — — — — — — — — — — —
    Real-time log of your RIPA node: tail -f ./logs/ripa.log
     — — — — — — — — — — — — — — — — — — — — — — — — — —
     — — — — — — — — — — — — — — — — — — — — — — — — — —
    Killing your RIPA node process: forever stopall
     — — — — — — — — — — — — — — — — — — — — — — — — — —
     — — — — — — — — — — — — — — — — — — — — — — — — — —
    Listing your forever processes (RIPA node): forever list
     — — — — — — — — — — — — — — — — — — — — — — — — — —
     — — — — — — — — — — — — — — — — — — — — — — — — — —
    Updating your RIPA node : git pull
    After updating, you need to restart the node: forever restart app.js
     — — — — — — — — — — — — — — — — — — — — — — — — — —

Log in to reply

Forum Stats





Looks like your connection to FORUM was lost, please wait while we try to reconnect.