UiPath Documentation
robot
2022.4
false
机器人用户指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

Installing Terraform

This page provides instructions for the installation of Terraform v0.12.3. You may choose to download the most recent, or another, version of Terraform but you must then also upgrade the scripts according to the Terraform Upgrade Guide.

Windows

  1. Download the Terraform installation archive for your Windows version (e.g. terraform_0.12.3_windows_amd64.zip or terraform_0.12.3_windows_386.zip).

  2. 将包解压缩到所需的目录,例如 C: erraform

    备注:

    Terraform runs as a single binary named terraform.exe. All other files in the package can be safely deleted.

  3. 将 Terraform 二进制文件设置为可从 Path 系统变量中获取,如下所示:

  4. Open Windows Control Panel and select System and Security.

  5. Click System and select Advanced system settings from the left menu. The System Properties window is displayed.

  6. From the Advanced tab, click Environment Variables. The Environment Variables window is displayed.

  7. From the System variables pane, select the Path variable and click Edit. If the Path variable does not exist, click New. The New/Edit environment variable window is displayed.

  8. 将 Terraform 目录添加到新变量或现有变量中。例如 C: erraform\

  9. Click OK on all Control Panel windows to close them.

    备注:

    These instructions are applicable to Windows 10 and Windows 8. If using Windows 7, the Advanced system settings are reached by right-clicking the Computer icon and selecting Properties.

  10. 打开提升的命令提示符并运行 Terraform。

Linux

  1. Download the Terraform installation archive for your machine (e.g. terraform_0.12.3_linux_amd64.zip , terraform_0.12.3_linux_arm.zip, or terraform_0.12.3_linux_386.zip).

    例如: $ wget https://releases.hashicorp.com/terraform/0.12.3/terraform_0.12.3_linux_amd64.zip

  2. 如果尚未安装 unzip,请进行安装。例如:

  3. 如果使用 Debian/Ubuntu:$ sudo apt-get install unzip

  4. 如果使用 CentOS/Redhat:$ sudo yum install unzip

  5. 解压缩安装包。例如:$ unzip terraform_0.12.3_linux_amd64.zip

    备注:

    Terraform runs as a single binary named terraform.exe. All other files in the package can be safely deleted.

  6. 设置 Terraform 路径:$ sudo mv terraform /usr/local/bin/

验证安装

您可以通过执行 terraform 命令显示使用情况信息来验证安装是否成功:

  • Windows
  • Linux
  • 验证安装

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新