Setting Up an External Passive Relay Node
This quick start guide walks through setting up an external relay node with the help of CNTOOLs.
🌜 Prerequisites
🛸 Running the prereqs.sh Script
sudo apt-get install curl net-toolsmkdir "$HOME/tmp";cd "$HOME/tmp"
# Install curl
# CentOS / RedHat - sudo dnf -y install curl
# Ubuntu / Debian - sudo apt -y install curl
curl -sS -o prereqs.sh https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/prereqs.sh
chmod 755 prereqs.sh
# Ensure you can run sudo commands with your user before execution
# You can check the syntax for prereqs.sh using command below:
#
# ./prereqs.sh -h
# Usage: prereqs.sh [-o] [-s] [-i] [-g] [-p]
# Install pre-requisites for building cardano node and using cntools
# -o Do *NOT* overwrite existing genesis, topology.json and topology-updater.sh files (Default: will overwrite)
# -s Skip installing OS level dependencies (Default: will check and install any missing OS level prerequisites)
# -i Interactive mode (Default: silent mode)
# -g Connect to guild network instead of public network (Default: connect to public cardano network)
# -p Copy Transitional Praos config as default instead of Combinator networks (Default: copies combinator network)
# You can use one of the options above, if you'd like to defer from defaults (below).
# Running without any parameters will run script in silent mode with OS Dependencies, and overwriting existing files.
./prereqs.sh🤹♀️ Building the Cardano Node and Command Line Interface
⚒️ Using systemd Services
✅ Example systemd Commands
🚧 Filtering Logs
🚀 Starting the Relay Node
