Snap setup
How to set up a Lisk Core node via Snap.
Pre-installation
Supported Platforms
-
Ubuntu 18.04 (LTS) x86_64
-
Ubuntu 20.04 (LTS) x86_64
- Not officially supported but should still work
-
-
Any Linux system running systemd and AppArmor
-
Create a new user
To run and manage a Lisk Core node in the future, please create a separate lisk
user as described below:
The |
sudo adduser lisk (1)
1 | Create a new user. |
It is not necessarily required to set up a lisk
user, especially when you are running a local instance for development purposes.
However, if it is required then it is recommended to create the user using the MacOS GUI.
Start
After successful installation, start the node with the following command:
lisk-core start --network mainnet
The default log levels for Mainnet are:
So if you start the node, it won’t show any logs in the console.
This is the recommended setting for reducing the number of logs for a running node.
However, to verify that the node started correctly, update the log levels in the config to Alternatively, start the node with the following flag:
See the Managing logs guide for more information about logging. |
lisk-core start --network testnet