在 Linux 上执行 Control Room 的无提示安装
- Updated: 2025/04/09
无提示 Control Room 安装,也称为无人值守的安装,使用自定义脚本,其中包含特定于您业务需求的参数。 整个安装过程在后台运行,不需要用户交互或显示消息。
先决条件
- 请确认您已完成 Automation 360 On-Premises 先决条件。
- 确保您具备以下条件:
- Automation Anywhere Control Room 安装文件
- SSL 证书
- 许可证文件
- 验证安装服务器是否可以访问 Internet,以便使用 Yum 更新来更新 Linux 内核文件和操作系统库。 或者,在安装服务器上配置 /etc/yum.conf,以使用其网络中的本地存储库。 开始安装前,存储库应是最新的。
两个脚本运行 Linux 无提示安装:
- LinuxInstaller.sh: 此脚本包含安装过程中要应用的安装参数。
- CallLinuxScript.sh: 此脚本执行第一个脚本。
在 Linux shell 中运行脚本。
过程
后续步骤
Disaster Recovery 安装
您可以使用以下脚本为现有数据库运行灾难恢复。
echo "Starting Installation"
# Variables to simplify customization
INSTALLER_PATH="/Automation360_Build_<build-number>" # Change to the path of your installer
INSTALL_SERVER="172.x.x.x" # Change to your Automation Anywhere install server
SQL_PORT="0000" # Change to your SQL Server port if different
DATABASE_NAME="Automation360-Database" # Replace with your database name
SQL_ADMIN="aa" # Replace with your SQL Server admin ID
SQL_PASSWORD="xxxxxxxxxx" # Replace with your SQL Server admin password
ES_Password="xxxxxxxx"
# Ensure the installer is executable
sudo chmod a+x "$INSTALLER_PATH"
# Run the installer
sudo "$INSTALLER_PATH" << EOF
1
\n
0
Y
80
443
1
1
1
1
$INSTALL_SERVER
$SQL_PORT
$DATABASE_NAME
$SQL_ADMIN
$SQL_PASSWORD
1
2
\n
\n
\n
EOF