Last active
April 10, 2017 03:51
-
-
Save sofyan-ahmad/b5949dfa72f5c0c8348e6805ceef1b7c to your computer and use it in GitHub Desktop.
Install Consul Ubuntu - 0.6.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudoapt-get install -y curl unzip | |
sudo mkdir -p /var/lib/consul | |
sudo mkdir -p /usr/share/consul | |
sudo mkdir -p /etc/consul/conf.d | |
curl -OL https://releases.hashicorp.com/consul/0.8.0/consul_0.8.0_linux_amd64.zip | |
unzip consul_0.8.0_linux_amd64.zip | |
sudo mv consul /usr/local/bin/consul | |
curl -OL curl -OL https://releases.hashicorp.com/consul/0.8.0/consul_0.8.0_web_ui.zip | |
unzip consul_0.8.0_web_ui.zip -d consul-ui | |
sudo mv consul-ui /usr/share/consul/ui |
Access the ui: http://llocalhost:8500/ui
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run the agent:
consul agent -dev -advertise=127.0.0.1