How to Use Lisk Commander to Manage Lisk Core
This guide outlines the Lisk Commander 2.2.0 capabilities to install and manage Lisk Core instances.
Lisk Commander, our command-line interface (CLI) is an integral part of the Lisk SDK. We’re constantly adding new functionalities to help with anything from node management to voting for delegates. Today, we will show you how to use the new commands introduced in Lisk Commander 2.2.0 to install and manage multiple Lisk Core instances.Note: Until now, installation and management of Lisk Core was done solely through installLisk.sh and lisk.sh scripts. Those scripts will be eventually removed and Lisk Commander will be responsible for both installation and management of Lisk Core. Installation made by Lisk Commander can’t be managed by Lisk Scripts and vice-versa. Lisk Commander is available for Linux and macOS
First, you will need to download Lisk Commander. Lisk Commander requires a 64bit Linux (Ubuntu 16.04 LTS or 18.04 LTS) or macOS (High Sierra or Mojave) machine. Lisk Commander must be run as a non-privileged user. Here is an example of how you can install Lisk Commander on Linux and Mac:Example of standalone Lisk Commander installation (Linux) Example of standalone Lisk Commander installation (macOS) Lisk Commander 2.2.0 introduces eight commands to manage Lisk Core
With this release, we’ve added the following commands for a more convenient developer experience:lisk core:restart <instance> lisk core:start <instance> lisk core:status <instance> lisk core:stop <instance> lisk core:uninstall <instance> lisk core:upgrade <instance> Lisk Commander 2.2.0 lisk core:install <instance>
Lisk Commander can install Lisk Core starting with version 2.0.0. This allows you to install Lisk Core, download the snapshot, insert the snapshot into the database and start the freshly installed node. By default, this will fetch the latest public...