Skip to content

Instantly share code, notes, and snippets.

@planetrobbie
Created July 30, 2020 07:34
Show Gist options
  • Save planetrobbie/435380f950ecbf5934be965dd82166a5 to your computer and use it in GitHub Desktop.
Save planetrobbie/435380f950ecbf5934be965dd82166a5 to your computer and use it in GitHub Desktop.
Terraform Enterprise instalation
# Docs
https://www.terraform.io/docs/enterprise/install/installer.html
https://www.terraform.io/docs/enterprise/before-installing/rhel-requirements.html
https://www.terraform.io/docs/enterprise/before-installing/rhel-requirements.html
# Check docker version
docker -v
# Docker install Centos 7
sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce docker-ce-cli containerd.io
sudo systemctl start dockerd
sudo systemctl enable docker
# Download airgapped binaries
sudo yum install wget
wget --content-disposition "<URL>"
# Get installer & install
wget https://install.terraform.io/airgap/latest.tar.gz
tar xzf latest.tar.gz
sudo firewall-cmd --state
sudo systemctl stop firewalld
sudo systemctl disable firewalld
sudo ./install.sh airgap
source /etc/replicated.alias
sudo reboot
# Remaining from the web
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment