-
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.6.2 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.6.2~yourUbuntuVersionName_amd64.deb
The packages SHA256 are:
5482fa4261d70756f5944fa907a9d73e2a13884d97d57aef2e553854d905ff16 rskj_0.6.2_bionic_amd64.deb
68d4ce155f8171f7ad4d5a35bed7b566329f53945dadc2f6312f19f46c5d1ed1 rskj_0.6.2_bionic_i386.deb
b5caa06e53774c7b1a2c5e3a54ecdfc2621fc37a597d16de7ac0a02afa6fb93b rskj_0.6.2_trusty_amd64.deb
fa9d10f1e902f300a98406f9575ac4e0d6172c9500384e417cf3c1157b7aadfb rskj_0.6.2_trusty_i386.deb
5eece84721d8d03179e5f3d17403b8c289c0fd6f33f5fafcef06103d5952ff2d rskj_0.6.2_xenial_amd64.deb
088182552ac5ea063ed2a1f4f47942a3d55fc29e29c87dc73d0c7bf9c3bf2171 rskj_0.6.2_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!