These programs and resources are required to install and run Lisk Explorer.
-
Node.js v8.11.2 or higher (https://nodejs.org/) -- Node.js serves as the underlying engine for code execution.
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs
-
Update
npm
to the version 6.xnpm install -g npm@6
-
Redis (http://redis.io) -- Redis is used for caching parsed exchange data.
sudo apt-get install -y redis-server
Note: you can change your port at this step if you want to have more Redis instances in the future. Remember to adjust the environment variable
REDIS_PORT
accordingly. -
Freegeoip (https://github.com/fiorix/freegeoip) -- Freegeoip is used by the Network Monitor for IP address geo-location.
wget https://github.com/fiorix/freegeoip/releases/download/v3.4.1/freegeoip-3.4.1-linux-amd64.tar.gz tar -zxf freegeoip-3.4.1-linux-amd64.tar.gz ln -s freegeoip-3.4.1-linux-amd64 freegeoip nohup ./freegeoip/freegeoip > ./freegeoip/freegeoip.log 2>&1 &
-
PM2 (https://github.com/Unitech/pm2) -- PM2 manages the node process for Lisk Explorer and handles log rotation (Highly Recommended)
npm install -g pm2
-
Bower (https://bower.io/) -- Bower is used to look after frontend libraries.
sudo npm install -g bower
-
Git (https://github.com/git/git) -- Used for cloning and updating Lisk Explorer
sudo apt-get install -y git
-
Tool chain components -- Used for compiling dependencies
sudo apt-get install -y python build-essential automake autoconf libtool libpng-dev