Skip to content

Instantly share code, notes, and snippets.

@alexolinux
Created May 21, 2024 09:59
Show Gist options
  • Save alexolinux/4727ab26d1818551ae45c31228ea8fe9 to your computer and use it in GitHub Desktop.
Save alexolinux/4727ab26d1818551ae45c31228ea8fe9 to your computer and use it in GitHub Desktop.

Consul Installation


sudo yum install yum-utils
sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
sudo yum install consul

Running consul as dev (single mode)

consul agent -dev

consul commands

consul members
consul operator raft list-peers
consul leave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment