AI Center
2021.10
False
横幅背景图像
AI Center 安装指南
上次更新日期 2024年3月11日

程序

步骤 1:下载安装脚本

将交互式安装向导复制到目标计算机以进行安装。

  1. 使用 SSH 连接到一台多节点计算机。
    • 如果设置了密码,则命令如下:
      ssh <user>@<dns_of_vm>ssh <user>@<dns_of_vm>
    • 如果您使用了 SSH 密钥,则命令如下:
      ssh -i <path/to/Key.pem> <user>@<dns_of_vm>ssh -i <path/to/Key.pem> <user>@<dns_of_vm>
  2. 成为根用户:
    sudo su -sudo su -
  3. 移至主目录:
    cd ~cd ~
  4. 安装 unzipjq
    yum install jq unzip wget -yyum install jq unzip wget -y
  5. 创建安装文件夹。
    mkdir -p /opt/UiPathAutomationSuite/mkdir -p /opt/UiPathAutomationSuite/
  6. 下载 installUiPathAS.shsf-installer.zip 安装程序。有关说明,请参阅 installUiPathAS.shsf-installer.zip。确保下载适合您 AI Center™ 版本的包。

步骤 2:将 Orchestrator 证书复制到虚拟机

注意:如果是链式证书,请查看链式证书部分,了解如何正确提供证书。
下载 Orchestrator 证书并将其保存在本地计算机上。您可以使用浏览器执行此操作,也可以要求 IT 部门提供证书。证书必须为 base64 和 .cer 格式。使用以下命令将证书复制到虚拟机。
确保 /opt/UiPathAutomationSuite 具有通过 scp 复制文件的正确权限,或将文件复制到您的主目录,然后将其移动到 /opt/UiPathAutomationSuite
scp /path/to/orch.cer <username>@<node dns>:/opt/UiPathAutomationSuitescp /path/to/orch.cer <username>@<node dns>:/opt/UiPathAutomationSuite
如果 Identity Server 与 Orchestrator 不同,请对 identityserver.cer 重复上述步骤。

链式证书

使用域颁发的证书时,请确保按如下方式导出根证书:

  1. 打开证书,转到“证书路径”选项卡,然后选择第一个证书。单击“查看证书”。


  2. 显示根证书后,转到“详细信息”选项卡,然后单击“复制到文件”。


  3. 确保选择 base64 cer 文件格式。
  4. 使用您选择的名称保存,然后将其发送到 AI Center 计算机。

生成的文件应类似于以下示例。

-----BEGIN CERTIFICATE----- 
certificate
base64
encoded
-----END CERTIFICATE----------BEGIN CERTIFICATE----- 
certificate
base64
encoded
-----END CERTIFICATE-----

步骤 3:配置安装

3.1 使用交互式向导创建基本配置文件。

重要事项:确保不要从脚本开始安装,并在生成配置文件时退出脚本,否则它将尝试安装完整的 Automation Suite。

使用以下命令启动交互式向导。

注意:此脚本主要用于 Automation Suite,显示的信息(产品、要求)与 Automation Suite 相关。在过程的后续步骤中,配置文件将适应我们的需求。
cd /opt/UiPathAutomationSuite 
chmod +x ./installUiPathAS.sh
./installUiPathAS.shcd /opt/UiPathAutomationSuite 
chmod +x ./installUiPathAS.sh
./installUiPathAS.sh

逐屏序列

启动安装向导后,将显示主菜单。在这里,您需要选择所需的部署模式:单节点或多节点。做出选择后,系统会提示您有关每种模式的详细信息。之后,您可以选择继续当前选项或返回主菜单。

  1. 接受许可协议
  2. 选择部署模式:选择“多节点部署”选项。


  3. 选择“继续”。
  4. 选择“在线”安装。
  5. 选择“完成安装”。
  6. 输入 DNS 主机名。
  7. 指定是否要对 SQL 连接使用 Kerberos 身份验证。
  8. 输入 SQL Server URL。按照提示输入连接端口、用户名和密码。
  9. 指定是否要让安装程序自动创建必要的数据库。


系统将使用文件夹生成集群配置文件,如下图所示。



注意:生成配置文件和文件夹后,即可退出向导并继续执行以下剩余步骤以完成安装。您可以忽略产品列表,因为我们将在以下步骤中进行更新。
现在已生成 cluster_config.json 文件的第一个版本。我们将根据 AI Center™ 安装目的更新此文件。

3.2. 添加特定于 AI Center 的配置。

vi /opt/UiPathAutomationSuite/cluster_config.jsonvi /opt/UiPathAutomationSuite/cluster_config.json

替换以下块:

"aicenter": {
  "enabled": "false"
},"aicenter": {
  "enabled": "false"
},
注意:如果启用了 AI Center™,则默认启用 Document Understanding。
使用以下信息(将 <> 之间的信息替换为您的值):
"aicenter": {
  "orchestrator_url":"<a href="https://orchestrator-url.com">https://orchestrator-url.com</a>",
  "identity_server_url": "<a href="https://orchestrator-url.com/identity">https://orchestrator-url.com/identity</a>",
  "orchestrator_cert_file_path": "</opt/UiPathAutomationSuite/orch.cer or custom path>",
  "identity_cert_file_path":  "</opt/UiPathAutomationSuite/orch.cer or custom path>",
  "identity_access_token": "<placeholder will be replaced later>"
},"aicenter": {
  "orchestrator_url":"<a href="https://orchestrator-url.com">https://orchestrator-url.com</a>",
  "identity_server_url": "<a href="https://orchestrator-url.com/identity">https://orchestrator-url.com/identity</a>",
  "orchestrator_cert_file_path": "</opt/UiPathAutomationSuite/orch.cer or custom path>",
  "identity_cert_file_path":  "</opt/UiPathAutomationSuite/orch.cer or custom path>",
  "identity_access_token": "<placeholder will be replaced later>"
},

3.3(可选)高级配置

您可以在 UiPathAutomationSuite 文件夹中找到 cluster_config.json 文件。您可以使用此文件配置 SQL DB 及其各自的连接字符串和证书。如果您使用代理进行互联网连接,也可以启用代理设置。

有关高级配置,请参阅使用配置文件

步骤 4:运行安装

  1. 转到安装文件夹并解压缩捆绑包,然后使用以下命令提供对该文件夹的正确权限。
    sudo su - 
    cd /opt/UiPathAutomationSuite
    unzip ./sf-installer.zip -d .
    chmod -R 755 /opt/UiPathAutomationSuitesudo su - 
    cd /opt/UiPathAutomationSuite
    unzip ./sf-installer.zip -d .
    chmod -R 755 /opt/UiPathAutomationSuite
  2. 在服务器节点上运行基础架构安装程序。
    使用 AI Center™ 独立标记运行安装程序。
    ./install-uipath.sh -i cluster_config.json -o output.json -k --accept-license-agreement --install-standalone-aicenter./install-uipath.sh -i cluster_config.json -o output.json -k --accept-license-agreement --install-standalone-aicenter
  3. 在所有节点上运行基础架构安装程序。

    其他节点可以安装为多主节点的服务器或代理。

    使用 AI Center 独立标志运行安装程序以添加其他服务器。
    ./install-uipath.sh -i cluster_config.json -o output.json -k -j server --accept-license-agreement --install-standalone-aicenter./install-uipath.sh -i cluster_config.json -o output.json -k -j server --accept-license-agreement --install-standalone-aicenter
  4. 使用 AI Center 独立标志运行安装程序以添加其他代理。
    ./install-uipath.sh -i cluster_config.json -o output.json -k -j agent --accept-license-agreement --install-standalone-aicenter./install-uipath.sh -i cluster_config.json -o output.json -k -j agent --accept-license-agreement --install-standalone-aicenter
  5. 安装 Fabric(软件组件)。
    使用 AI Center 独立标志运行安装程序。
    ./install-uipath.sh --accept-license-agreement --install-standalone-aicenter -i cluster_config.json -o output.json -f./install-uipath.sh --accept-license-agreement --install-standalone-aicenter -i cluster_config.json -o output.json -f
  6. 运行软件安装程序。首先,您需要连接到身份服务器并检索 安装令牌。然后复制此令牌并将其粘贴到步骤 3.2 中的占位符中。 (在 cluster_config.json 文件中)。获得令牌后,您就可以运行 AI Center 安装程序。
    ./install-uipath.sh --accept-license-agreement --install-standalone-aicenter -i cluster_config.json -o output.json -s./install-uipath.sh --accept-license-agreement --install-standalone-aicenter -i cluster_config.json -o output.json -s
安装结束后,可通过以下地址访问 AI Center:https://your-dns.com/ai-app

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.