Skip to content

Install RskJ Using Ubuntu Package

Ruben Altman edited this page Jan 15, 2018 · 24 revisions

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:

PPA

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.

Direct download

The RskJ Ubuntu Package for Bamboo 0.4.0 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.0~yourUbuntuVersionName_amd64.deb

The packages SHA256 are:

590ff3f0b2a529280885b5845fd22b248df47a8543677d80a9d56f618390bac2  rskj_0.4.0_trusty_amd64.deb
f1227330257a4d617b4328f0930381c58476df9063c6a35ff5b8372622de266a  rskj_0.4.0_trusty_i386.deb
16c276ac59d87f33399aff5ab70f68f9b23ed70cf34a87a35b67c6ef30920879  rskj_0.4.0_xenial_amd64.deb
08a212e2507f5b8b4d023a629055d79e3110e305bfdaf2e519883a896ec5cf09  rskj_0.4.0_xenial_i386.deb
d26df4581b14d38b708ee3a74f59d4c49b84b12cf62b87cf247dd8fd5e4d7fd7  rskj_0.4.0_zesty_amd64.deb
0de5dcb8982fd9680f2a73e613b3b82851cb834f466ab49187bd024238a78df1  rskj_0.4.0_zesty_i386.deb
057582882db8a0c6bf365b42ceb54bcd8f7762b028be0b8475e592acfd070612  rskj_0.4.0_artful_amd64.deb
a3f9290d7a1ece79fa9f4af2e793dcf8a96f787bdfe5fdb93784b834056d16a8  rskj_0.4.0_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.

Any problems?

We hope our Troubleshooting section can help you!

Clone this wiki locally