How to Build a Node on CentOS

Instructions for setting up a Build Environment on CentOS for compiling SubstratumNode to run in CLI mode

  1. Install CentOS 7.6
  2. Do all system updates
    sudo yum -y update
  3. Do a reboot
    sudo yum reboot
  4. Set the TimeZone so the logfiles show the correct date and time, example:
    sudo timedatectl set-timezone America/New_York
  5. Install dependencies part 1
    sudo yum -y install git openssl-devel
  6. Install dependencies part 2
    sudo yum -y groupinstall "Development Tools"
  7. Install Screen utility. This is optional, but very useful for keeping SubstratumNode running and disconnecting your terminal
    sudo yum -y install screen
  8. Install Rust environment
    curl --proto '=https' --tlsv1.2 -sSf | sh
    source $HOME/.cargo/env
    rustup component add rustfmt
  9. Clone the SubstratumNode repo
    git clone
  10. Build the binaries
    cd SubstratumNode

    Building will take some time. ~15 minutes on a 1 CPU system

    Configuring and Running the node will be covered in another post