-
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 and it will work connected to RSK MainNet (by default).
Then, you can:
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.1 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.1~yourUbuntuVersionName_amd64.deb
The packages SHA256 are:
ab86c2bd0e1a47c3f3443bff8c2c4ebba37dda0cd7b95ec087ea8a50ab48a04b rskj_0.4.1_trusty_amd64.deb
a882de6760e1945ecd64365420392f0a72026d6188e7e64455b95322d1cce10e rskj_0.4.1_trusty_i386.deb
dc89a22a0d98ba9f1224d9ac5b69112133c5f747e416a642cd6abec43d7ec9d5 rskj_0.4.1_xenial_amd64.deb
18628244bf6a8eddacfb38fb700259edfaf37fd23dc1da6cf7a0fcbf2296309a rskj_0.4.1_xenial_i386.deb
c7b5bf2263df1c3df0ed1758cac2610dc49715159556df053e89a5c80e6ffa3e rskj_0.4.1_artful_amd64.deb
d4246ff7484a4dc37d6205ee136f3d61d12836745a7822fe35e45b13e175b377 rskj_0.4.1_artful_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
Note: This installer does not include the Solidity Compiler. If you want to install it, please refer to Solidity Docs.
We hope our Troubleshooting section can help you!