π§Installation
Welcome to the galacticad cli installation guide!
This step-by-step tutorial will guide you through installing the galacticad binary on your server, enabling you to participate in the testnet as either a Full Node or Validator.
Preparing for Installation
Before installing galacticad, ensure your system is ready by:
Updating your system and installing essential build tools.
Installing the Go programming language.
Downloading and setting up the
galacticadbinaries.
β οΈ WARNING: Make sure your server timezone configuration is UTC. Having a different timezone configuration may cause a
LastResultsHashmismatch error. This will take down your node!
Essential Build Tools
First, make sure your system has the necessary tools for the build process:
For Ubuntu/Debian users:
sudo apt-get update
sudo apt-get install -y make gcc git build-essential curl tar jqFor RHEL/Centos/Rocky users:
sudo yum update
sudo yum groupinstall 'Development Tools'
sudo yum install -y curl jqIt's crucial to have curl, tar, git, and jq installed for the upcoming steps.
Installing Go
galacticad requires Go version 1.21 or later. For detailed installation instructions across different operating systems, refer to the official Go documentation.
This command installs Go in your home directory, but you're free to choose another location.
Installing galacticad
galacticadNow, let's proceed to install galacticad:
The binary is installed to $GOPATH/bin by default. To change the installation path, use the BINDIR variable:
Confirm the installation was successful:
You should see output detailing the build dependencies, SDK version, and more.
Running galacticad as a service
galacticad as a serviceTo add galacticad validator to linux systemd-units to autostart service with command below:
Replace [Target Chain ID] with the chain ID you want to run the node on.
Next Steps
Security guidelines and best practices are essential for maintaining a secure node. Please refer to the Security Guide for more information.
Congratulations! You've successfully installed the galacticad binary and are ready to become a validator. Explore the possibilities as a node operator in the Galactica Network and contribute to its growth and security.
Last updated
Was this helpful?