-
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 Orchid 0.5.3 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.5.3~yourUbuntuVersionName_amd64.deb
The packages SHA256 are:
fe4b4cb612c745ef36d8a1f3282b900d7fdb1dfff174c0debd6354b0b53dd1a7 rskj_0.5.3_bionic_amd64.deb
a02554637d38b5e56bb070a5f408ac993c4b07a33c5cd2052759c11ce6077541 rskj_0.5.3_bionic_i386.deb
67e1ad8716b250055323cdb42b543b0ab64169bf6f6ab99f6ff3bdd29d0551c2 rskj_0.5.3_trusty_amd64.deb
75daab282d0a4e1270b804b5b7161dfa070515e67bf6bb76e1babb79603e3e57 rskj_0.5.3_trusty_i386.deb
0b937fd4ff3157f8e3a845e62c2887c2cc3e5f4945b537c77fc019f43c850759 rskj_0.5.3_xenial_amd64.deb
c6aca5b683cb734887d9ad94e06466014c1d9e7d56771ddbf6bac778a5e4e0cb rskj_0.5.3_xenial_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!