Skip to content

Instantly share code, notes, and snippets.

@sevcsik
Last active August 28, 2017 17:47
Show Gist options
  • Save sevcsik/4109a56d16211c30f496a82527f6cce6 to your computer and use it in GitHub Desktop.
Save sevcsik/4109a56d16211c30f496a82527f6cce6 to your computer and use it in GitHub Desktop.
Installing Lisk on Gentoo

Ebuilds for Lisk Core and Lisky are available in the unofficial sevcsik overlay. Add the overlay (using Layman):

# layman -fa sevcsik

Lisk Core

  1. Install the lisk-core package.
# emerge -av net-p2p/lisk-core::sevcsik
  1. If you haven't run PostgreSQL before, you'll need to initialise it first.
# emerge --config =dev-db/postgresql-<version>
  1. Start PostgreSQL and initialise the database. This will create the necessary user and database, and import the latest blockchain snapshot.
# systemctl start postgresql-<version>
# emerge --config =net-p2p/lisk-core-<version>
  1. Start the service.
# systemctl start lisk-core.service

Note: Currently the ebuilds only ship with Systemd units. To start the node on an OpenRC-based installation, run the application manally.

# cd /usr/lib/lisk-core
# sudo -u lisk-core node app -c /etc/lisk-core/config.json
  1. Your Lisk Core node should now be available at http://localhost:8000.

Lisky, Lisk Nano

Just install the ebuilds, and the executables will be available globally.

# emerge -av net-p2p/lisky::sevcsik
# emerge -av net-p2p/lisk-nano::sevcsik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment