Skip to content

Instantly share code, notes, and snippets.

View xbotter's full-sized avatar
:octocat:

xbotter xbotter

:octocat:
  • China , ShangHai
  • 23:28 (UTC +08:00)
View GitHub Profile
@xbotter
xbotter / consul.sh
Last active September 8, 2018 20:43 — forked from ianunruh/consul.sh
Install Consul on Ubuntu 16.04
#!/bin/bash
apt-get install -y curl unzip
mkdir -p /var/lib/consul
mkdir -p /usr/share/consul
mkdir -p /etc/consul/conf.d
curl -OL https://releases.hashicorp.com/consul/0.7.5/consul_0.7.5_linux_amd64.zip
unzip consul_0.7.5_linux_amd64.zip
mv consul /usr/local/bin/consul