Skip to content

How To Install The TypeScript Core. ( =1.0.0)

Andrea edited this page Apr 10, 2018 · 5 revisions

Table of Contents

Assumptions

This guide assumes basic knowledge of everything related to running a linux server on the internet. The install procedure, available with the new TypeScript Core will facilitate installation of dependencies and initial setup, but won't take care of securing your server or keeping its software up to date. For some hints on how to setup your server for a good level of security, you can follow the guidelines on this post on the RISE forum.

Requirements

A Blank VPS with ubuntu 16.04 and a non-root user. Since the new core comes shipped with all the dependencies you don't need to install Node.js or PostGres.

Important: It's imperative you don't have PostGres already installed.

The non-root user will need to have sudo capabilities. How to add a sudo-capable user?

root@risenode:~# adduser rise
root@risenode:~# usermod -aG sudo rise

Also the following commands will be used when installing the node:

  1. wget
  2. curl
  3. tar
  4. sudo
  5. sha1sum

Most of them are already installed in most vps and the installer command will eventually prompt you a message in case you're missing one of them.

Installation

Important: You must login in your non-root user.

root@risenode:~# su - rise

First lets install the installer:

wget https://raw.githubusercontent.com/RiseVision/rise-build/master/scripts/install.sh

Then issue the install command.

bash install.sh install -r mainnet -u https://downloads.rise.vision/core/mainnet/latest.tar.gz

The install command will ask you some questions to preconfigure the basics of your node and might take some time to complete. It will then automatically start the node and all the dependencies.

The node will start from height 0 and it might take some time to get it up to sync with the network.

If you wish to you can always use a verified snapshot that will significantly drop the time needed for your node to get up in sync. For this please refer to the Wiki page Managing your node