-
Notifications
You must be signed in to change notification settings - Fork 267
Install RskJ Using Ubuntu Package
Following the instructions below you will install and run the RSK node. By default, the node connects to MainNet. If you want to change the network read this section. If you want to change some configuration, please refer to our RSK node configuration section.
You can install RskJ on Ubuntu using our PPAs for Ubuntu:
$ sudo add-apt-repository ppa:rsksmart/rskj
$ sudo apt-get update
$ sudo apt-get install rskj
The installed repo public key Fingerprint is 5EED 9995 C84A 49BC 02D4 F507 DF10 691F 518C 7BEA.
Also, the public key could be found in Ubuntu Key Server.
The RskJ Ubuntu Package for Bamboo 0.4.4 can also be downloaded.
If so, you should first install openjdk-8-jre
or oracle-java8-installer
.
Once Java is installed, move to the directory where you have the .deb file and run:
$ dpkg -i rskj_0.4.4~yourUbuntuVersionName_amd64.deb
The packages SHA256 are:
b4d2f3af77331c855f750b2d56b5d715f0720c29a75a46ac862efcf1c9cf15e7 rskj_0.4.4_trusty_amd64.deb
667dd5f48dcbd5a997b2161135dba6a051358562da4703b4f78aebc6f0e68abe rskj_0.4.4_trusty_i386.deb
e6d1797d2338dd49f6a04d3141a9bb6da89ef6a6ea0b16e894e3055d20e744d4 rskj_0.4.4_xenial_amd64.deb
3d3ae814d27bf78ea816c2c05b8d27dac3c9f69171119831b539f791886986b7 rskj_0.4.4_xenial_i386.deb
123be717f33aea7f33c402a99037c821ec12a544a49c141e27b904a597c16fdf rskj_0.4.4_artful_amd64.deb
0c715d4b3f561c7c8ccaeeea0483e1ea01d7f442bbfa6150d3ea44466d37e0ec rskj_0.4.4_artful_i386.deb
98e0c20e982ef3a1c5fdd48ad771621505797ee36822e925198606e82ac7edb7 rskj_0.4.4_bionic_amd64.deb
0dc83df1fa39ac086daf5b822ef841f88a780994bfbf09ccb32849e687e17d6a rskj_0.4.4_bionic_i386.deb
The installer will configure your node in the following paths:
-
/etc/rsk
: the directory where the config files will be placed. -
/usr/share/rsk
: the directory where the RskJ JAR will be placed. -
/var/lib/rsk/database
: the directory where the database will be stored. -
/var/log/rsk
: the directory where the logs will be stored.
To start the node:
$ sudo service rsk start
To stop the node:
$ sudo service rsk stop
To restart the node:
$ sudo service rsk restart
We hope our Troubleshooting section can help you!