How To Install Terraform on Linux Servers-DecodingDevOps
Steps To Install Terraform on Linux Servers
Terraform is a open source tool using which we can automate provisioning the resources of aws or any cloud. If you want to deploy your entire infrastructure in aws cloud or azure cloud or google cloud or any other platforms we can use terraform. Terraform is infrastructure as code tool, so using terrform your entire infrastructure can be written/converted in terraform scripts/templates. Using this terraform scripts or templates you can deploy your servers or infrastructure in any cloud environments. In this post we are going to see how to install terraform on any linux servers or machines like centos 7 or redhat linux or ubuntu 18.04 linux or amazon linux.
Download Terraform Package
Download the terraform package using below commands.
yum install wget unzip -y sudo wget https://releases.hashicorp.com/terraform/0.12.18/terraform_0.12.18_linux_amd64.zip
Install Terraform on Centos 7or Redhat linux
Run the below commands to install terraform on centos 7 or redhat linux.
sudo yum update -y sudo unzip terraform_0.12.18_linux_amd64.zip sudo mv terraform /usr/local/bin/
Install Terraform on Ubuntu 18.04 Linux
execute below commands to install terraform on ubuntu 18.04 linux
sudo unzip terraform_0.12.18_linux_amd64.zip sudo mv terraform /usr/local/bin/
Verify the Terraform Version
Execute the terraform -v command to check the terraform version. Now we have successfully installed terraform on centos 7 or redhat linux.
- how to install terraform on Linux
- install terraform on amazon linux
- how to install terraform on redhat linux
- install terraform on aws linux