ThingWorx Flow > 安装和配置 > 自动卸载 ThingWorx Flow
自动卸载 ThingWorx Flow
ThingWorx Flow 9.1 及更高版本中,可使用 ThingWorx Flow 安装目录中的 ThingWorx Flow 自动卸载程序卸载 ThingWorx FlowThingWorx Flow 会执行以下任务:
移除所有 ThingWorx Flow 相关服务。
卸载第三方软件,例如 RabbitMQ、Nginx、Node.js、PM2、Erlang、7–Zip 和 Nssm。
移除相关的 ThingWorx Flow 环境变量。
删除 ThingWorx Flow 安装目录。
删除 \.ptc_ccif\ThingWorxFlow.xml 文件。
(Windows) 从注册表中删除 HKEY_LOCAL_MACHINE\SOFTWARE\Ericsson\Erlang\ErlSrv\1.1\RabbitMQ (若存在)。
步骤
1. 以管理员身份登录到想要卸载 ThingWorx Flow 的系统。
2. 根据您的操作系统,从 ThingWorx Flow 安装目录运行卸载程序:
Windows - 右键单击 ThingWorxFlow_uninstall.exe 文件,然后选择“以管理员身份运行”
Linux - 使用 root 用户身份运行 ThingWorxFlow_uninstall 文件。
3. 要卸载 ThingWorx Flow 及其模块,请单击“是”
4. 卸载完成后,单击“确定”
卸载后的步骤
1. ThingWorx Composer 中,移除“工作流”事物内的所有服务、事件和订阅,然后保存“工作流”事物
2. ThingWorx Composer 中,移除所有事物实体内的“工作流”服务,然后保存事物。
3. 如果已配置 SSO,请将 sso-settings 设置重新更新为 ThingWorx Foundation 计算机上的 ThingWorx 主机和端口。
sso-settings.json 文件中,分别将 clientBaseURLmetadataEntityBaseURL 值重新更改为 ThingWorx 主机和端口。
4. 如果您已在不同于 ThingWorx Foundation 的计算机上安装了 ThingWorx Flow,请执行以下操作:
a. ThingWorx Foundation 计算机上,移除 platform-settings.json 文件中的以下部分:
"OrchestrationSettings": {
"EnableOrchestration": true,
"QueueHost": "localhost",
"QueuePort": 5672,
"QueueName": "256mb",
"QueueUsername": "symphuser",
"QueuePassword": "symphpass",
"QueueVHost": "symphony"
},
b. 重新启动 ThingWorx Foundation
这对您有帮助吗?