Strategy ONE
在 Windows 上配置 SSH
如果 SSH 没有运行或安装 MicroStrategy 安装时,安装程序 不是 启用在 Workstation 中启动和停止服务的功能。您必须在服务注册中启用 SSH 服务器才能在 Workstation 中启动和停止服务。
要在 Windows 上配置 SSH:
-
在 Windows 机器上安装或启用 SSH 服务器。如果您的 Windows 计算机具有 Windows 10 Fall Creators Update、Windows Service 1809 或 Windows Server 2019,则可以按照以下 Microsoft 网站上的步骤进行操作:
Windows Server 2019 包含 OpenSSH
在 Windows 10 Fall Creators Update 和 Windows Server 1709 中使用 OpenSSH Beta
- 要为旧版本的 Windows 启用内置 SSH 服务器,请参阅 安装 Win32 OpenSSH。
- 配置并启动您的 SSH 服务器。
- 如果您有防火墙,请在防火墙中打开 SSH 端口。例如,端口 22。
- 导航
C:\Program Files (x86)\MicroStrategy\Services Registration\yaml
并编辑installation_list.yaml
文件。 -
进行以下修改:
- 调整 “CommonPath” 到 MicroStrategy 通用文件安装目录。默认情况下,此路径为
C:\Program Files (x86)\Common Files\MicroStrategy
。 - 调整 “安装类型” 到
1
。 - 调整 “港口” 使用您的 SSH 服务器的端口号。
- 调整 “版本” 使用你的 MicroStrategy 版本号。
复制---
service:
Name: "SSH-Server"
ID: "SSH-Server"
CommonPath: "C:\\Program Files (x86)\\Common Files\\MicroStrategy"
InstallType: 1
Port: 22
Tags:
version: "11.2.0000.0123" - 调整 “CommonPath” 到 MicroStrategy 通用文件安装目录。默认情况下,此路径为
-
导航
C:\Program Files (x86)\MicroStrategy\Services Registration\jar
并运行以下命令为 SSH 服务器生成一个新的 JSON 文件。复制java -jar svcsreg-admin.jar parse SSH-Server
新生成的 JSON 文件位于
C:\Program Files (x86)\MicroStrategy\Services Registration\config
。 - 重新开始 MicroStrategy 从 Windows 服务管理器注册服务。
- 在 Workstation 中打开拓扑视图。现在您可以启动和停止服务。