-
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.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.4.2~yourUbuntuVersionName_amd64.deb
The packages SHA256 are:
a24bced39de5ec40baa75d9671abc8beece6039a5ab9efa2984f747c18186845 rskj_0.4.2_trusty_amd64.deb
73cb67c776d3dce99a2572245a12b3d7944d53a75bf200ee817dc776ee1cff47 rskj_0.4.2_trusty_i386.deb
23057a4afaf0b1b7fa87ee56ab2cead446c1bc6968499677283284d23545d158 rskj_0.4.2_xenial_amd64.deb
b4ab6789d0111d0c02305c729708d01998e2b561c987a2255f5488ee7e674bb7 rskj_0.4.2_xenial_i386.deb
767f4f7a4c1a78b80fed242f490e9efa0aa6c2d962fbdf7f35104fcc4c798ff2 rskj_0.4.2_artful_amd64.deb
34bddd5d99e85b5f5405947c316daa9cdcc8093fbd05ce73936d252d21a25d84 rskj_0.4.2_artful_i386.deb
fe742b9a05fe4e855e15754cd9bc086b06bd2537a1d4967254bb6d6d7f3ae0bc rskj_0.4.2_bionic_amd64.deb
b9528e6a2fc261d77cb092f35431122cba5fb82af290c04cf1aa8e5a5dbe35e4 rskj_0.4.2_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!