Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
This release identifies this latest version of the command line installer for cloud environments (or a dedicated server at home or office). The install script should be run as root and the target device should be dedicated for this build. This version includes the HPoW rules to go live on or around Jan 24th 2019.
This script supports the following Linux operating systems. Raspbian for Raspberry Pi, Ubuntu 18.04 LTS, Ubuntu 16.04 LTS, Debian 9 and Debian 8. The script is only recommended for a VPS or local server that has a freshly installed OS with no previously written data. Seriously, don't execute this script on a VPS that has data you care about. This precaution is for your own security.
You can execute the following install script, as 'root', after your OS is installed. Just copy/paste and hit return.
wget -qO - https://getlynx.io/setup.sh | bash
The initial install only takes about 2 minutes (depending on the speed of your host), so keep your terminal open until it tells you it's done. The rest of the install will run in the background, so no need to stay logged in or keep the terminal window open after it tells you it's done. You can watch it build if you like. The full installation log is saved to /var/log/syslog.
The Lynx wallet will be installed but the wallet will be disabled by default in the lynx.conf file. Also, the firewall will restrict public access via port 22 after a few hours. You can manipulate the firewall.sh script for your VPN or home/office preference. The Block Explorer and txindex settings are disabled by default, but they can be enabled by updating the lynx.conf file and the startExplorer.sh script.
By default, this script will build a optimized Lynxd node that is secure, mines and relays tx. Turning on functions is up to you. This build runs very well on a 2GB VPS. Testing has shown it CAN run on some 1GB VPS vendors but the resources might be too close to keep lynxd stable. We recommend a 2GB RAM setup on the latest Debian 9 build.
Please be patient after the build is complete. The newly built Lynx node will sync headers silently, then fully sync it's blockchain history. The lynx.conf file is pre-configured with stable nodes to connect and sync. No additional work is needed. You can always check the status of you node by reviewing the /root/.lynx/debug.log file.