zoukankan      html  css  js  c++  java
  • Install Terraform on Windows, Linux and Mac OS

    Step-by-step tutorial of how to download and install Terraform on Windows, Linux and Mac OS.

    Terraform is distributed as a binary package for all supported platforms and architectures and must first be installed on your machine.

    Check out the releases CHANGELOG for more information on the latest release and choose the version that is required for your Operating System and your project. If you just getting started with Terraform , I suggest you to get the latest release.

    Download Terraform

    You can  download a version of Terraform from the releases service.

    Install Terraform – Windows

    1. Download terraform for windows 
      • Note: Terraform is packaged as a zip archive, so after downloading Terraform, unzip the package. Terraform runs as a single binary named terraform. Any other files in the package can be safely removed and Terraform will still function
    2. Copy files from the zip to “c: erraform” for example. That’s our terraform PATH.
    3. The final step is to make sure that the terraform binary is available on the PATH.

    General Information

    • The PATH is the system variable that your operating system uses to locate needed executables from the command line or Terminal window.
    • The PATH system variable can be set using System Utility in control panel on Windows, or in your shell’s startup file on Linux.

    Windows 10 and Windows 8

    1. In Search, search for and then select: System (Control Panel)
    2. Click the System and Security link.
    3. Click the System link.
    4. Click the Advanced system settings link.
    5. Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.
    6. In the Edit System Variable (or New System Variable) window, append at the end of the PATH environment variable the value of terraform path ex.”c: erraform;” . Click OK. Close all remaining windows by clicking OK.
    7. Reopen Command prompt window, and run terraform.

    Windows 7

    1. From the desktop, right click the Computer icon.
    2. Choose Properties from the context menu.
    3. Click the Advanced system settings link.
    4. Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.
    5. In the Edit System Variable (or New System Variable) window, append at the end of the PATH environment variable the value of terraform path ex.”c: erraform;” . Click OK. Close all remaining windows by clicking OK.
    6. Reopen Command prompt window, and run terraform.

    Windows XP

    1. Select Start, select Control Panel. double click System, and select the Advanced tab.
    2. Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.
    3. In the Edit System Variable (or New System Variable) window, append at the end of the PATH environment variable the value of terraform path ex.”c: erraform;” . Click OK. Close all remaining windows by clicking OK.
    4. Reopen Command prompt window, and run terraform.

    Install Terraform – Linux

    1. Download terraform for linux 
      • Note: Terraform is packaged as a zip archive, so after downloading Terraform, unzip the package. Terraform runs as a single binary named terraform. Any other files in the package can be safely removed and Terraform will still function
    2. Install unzip
    3. Unzip and set path.

    Install Terraform – Mac OS

    The easiest and quickest way to install Terraform is using Homebrew.

    Or Manually if the latest version is not ideal for your needs.

    1. Download terraform for macos
      • Note: Terraform is packaged as a zip archive, so after downloading Terraform, unzip the package. Terraform runs as a single binary named terraform. Any other files in the package can be safely removed and Terraform will still function
    2. Extract files from the zip to “$HOME/Downloads/terraform” for example.
    3. The final step is to make sure that the terraform binary is available on the PATH.
    4. Copy binary to a place in the path such as /usr/local/bin/terraform

    Verify Install

    When you’re done, you should be able to run the terraform command and get the usage information:

     Link: https://www.vasos-koupparis.com/terraform-getting-started-install/

  • 相关阅读:
    Java实现构造无向图的欧拉回路( The Necklace)
    Java实现构造无向图的欧拉回路( The Necklace)
    Java实现构造无向图的欧拉回路( The Necklace)
    Java实现构造无向图的欧拉回路( The Necklace)
    Java实现构造无向图的欧拉回路( The Necklace)
    x64内联汇编调用API(需intel编译器,vc不支持x64内联汇编)
    屏蔽按CapsLock键切换到大写时,编辑框自动弹出的提示(UnregisterClass(TOOLTIPS_CLASS)后,重新设置WndProc并注意返回值)
    非常简单的利用CreateProcess注入DLL的方法
    Ring3下无驱动移除winlogon.exe进程ctrl+alt+del,win+u,win+l三个系统热键,非屏蔽热键(子类化SAS 窗口)
    设置windows2008系统缓存大小限制,解决服务器运行久了因物理内存耗尽出僵死(提升权限后,使用SetSystemFileCacheSize API函数,并将此做成了一个Service)
  • 原文地址:https://www.cnblogs.com/oskb/p/10265896.html
Copyright © 2011-2022 走看看