Lisk is currently supported on the following operating systems:
To check your operating system run the following command:
uname -sm
if [[ -f "/etc/redhat-release" ]]; then
yum update
yum install curl wget tar sudo unzip zip
elif [[ -f "/etc/debian_version" ]]; then
apt-get update
apt-get install curl wget tar sudo unzip zip
fi
useradd -d /home/lisk -m lisk
usermod -a -G sudo lisk
passwd lisk
visudo
Paste the following at the bottom of the file:
%sudo ALL=(ALL:ALL) ALL
Hit: Ctrl+ X Then: Y to exit and save
if [[ -f "/etc/redhat-release" ]]; then
localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
localectl set-locale LANG=en_US.UTF-8
elif [[ -f "/etc/debian_version" ]]; then
locale-gen en_US.UTF-8
update-locale LANG=en_US.UTF-8
fi
reboot
After the restart su to lisk user created earlier:
su - lisk
wget https://downloads.lisk.io/scripts/installLisk.sh
bash installLisk.sh install -r main
cd lisk-main
source env.sh
echo "source $(pwd)/env.sh" >> ~/.bash_profile
http://[ipaddress or domain]:8000/
Click on "NEW ACCOUNT" button and follow the steps.
bash lisk.sh stop
nano config.json
Find the following section and enter your passphrase:
"forging": {
"secret" : ["YourDelegatePassphrase"]
}
Start Lisk:
bash lisk.sh start
Some helpful commands:
bash lisk.sh stop
bash lisk.sh start
bash lisk.sh restart
bash lisk.sh reload
bash lisk.sh status
bash lisk.sh logs
bash lisk.sh rebuild