A comprehensive setup script for running the QRL's Zond Execution Engine and Qrysm Consensus Engine. This script automates the installation and configuration process, making it easy to get started with running a Zond node.
- Automated installation of all required dependencies
- Support for multiple process managers:
- Screen (traditional terminal multiplexer)
- Tmux (modern terminal multiplexer)
- PM2 (Node.js process manager with monitoring)
- Automatic Go version management using gobrew
- Proper logging configuration
- Clean setup with automatic cleanup of existing installations
- Ubuntu/Debian-based Linux system
- Bash shell (not compatible with zsh)
- Internet connection
- Sudo privileges
-
Clone this repository:
git clone https://github.com/theQRL/zond_setupscript.git cd zond_setupscript
-
Make the script executable:
chmod +x zondsetup.sh
-
Run the script:
bash zondsetup.sh
- Installs required packages (build-essential, screen/tmux, curl, wget, git)
- Sets up gobrew for Go version management
- Installs and configures Node.js and PM2 (if selected as process manager)
- Clones and builds the latest versions of:
- Downloads necessary configuration files
- Launches both engines using your chosen process manager
The script allows you to choose between three process managers:
-
Screen
- Traditional terminal multiplexer
- Simple and lightweight
- Available by default on most systems
-
Tmux
- Modern terminal multiplexer
- Better session management
- Split panes and windows
-
PM2
- Process manager for Node.js
- Built-in monitoring and logs
- Auto-restart on failure
The script configures logging for both engines:
- Zond logs:
gozond.log
- Qrysm logs:
crysm.log
If you encounter issues:
- Check the log files for errors
- Ensure all prerequisites are met
- Try cleaning up the existing installation:
rm -rf ~/theQRL
- Make sure your system has enough resources (CPU, RAM, storage)
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.