-
-
在适用于 Azure 的 Citrix DaaS Standard 中创建 Linux VDA
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
在 Citrix DaaS Standard for Azure 中创建 Linux VDA
您可以在 Citrix DaaS Standard for Azure(以前称为 Citrix Virtual Apps and Desktops Standard for Azure)中创建已加入域和未加入域的 Linux VDA,以便从 Microsoft Azure 向任意设备交付虚拟应用和桌面。有关详细信息,请参阅 Citrix DaaS Standard for Azure。
-
支持的 Linux 分发版
-
以下 Linux 分发版支持此功能:
- RHEL 9.4
- RHEL 9.3
- RHEL 9.2
- RHEL 8.10
- RHEL 8.9
- RHEL 8.8
- Rocky Linux 9.4
- Rocky Linux 9.3
- Rocky Linux 9.2
- Rocky Linux 8.10
- Rocky Linux 8.9
- Rocky Linux 8.8
- SUSE 15.5
- Ubuntu 22.04
- Ubuntu 20.04
步骤 1:在 Azure 中准备主映像
注意:
您还可以使用 Linux VDA 自我更新功能计划自动软件更新。为此,请在主映像上的 etc/xdl/mcs/mcs_local_setting.reg 文件中添加命令行。 例如,您可以添加以下命令行:
create -k "HKLM\System\CurrentControlSet\Control\Citrix\SelfUpdate" -t "REG_DWORD" -v "fEnabled" -d "0x00000001" --force create -k "HKLM\System\CurrentControlSet\Control\Citrix\SelfUpdate" -t "REG_SZ" -v "ScheduledTime" -d "Immediately" --force create -k "HKLM\System\CurrentControlSet\Control\Citrix\SelfUpdate" -t "REG_SZ" -v "Url" -d "`<Your-Azure-Container-Url>`" --force create -k "HKLM\System\CurrentControlSet\Control\Citrix\SelfUpdate" -t "REG_SZ" -v "CaCertificate" -d "`<Local-Certificate-Path-of-PortalAzureCom>`" --force <!--NeedCopy-->
- 在 Azure 中,创建一个受支持的分发版 Linux VM。
- 如有必要,在 Linux VM 上安装桌面环境。
-
在 VM 上,根据您的 Linux 分发版安装 .NET。
除了 .NET Runtime,您必须在安装或升级 Linux VDA 之前,在所有受支持的 Linux 分发版上安装 .ASP.NET Core Runtime。Amazon Linux 2 需要版本 6。其他分发版需要版本 8。
如果您的 Linux 分发版包含所需的 .NET 版本,请从内置源安装它。否则,请从 Microsoft 程序包源安装 .NET。有关详细信息,请参阅 https://docs.microsoft.com/en-us/dotnet/core/install/linux-package-managers。
- (仅限 Ubuntu) 将
source /etc/network/interfaces.d/*行添加到/etc/network/interfaces文件中。 -
(仅限 Ubuntu) 将
/etc/resolv.conf指向/run/systemd/resolve/resolv.conf而不是/run/systemd/resolve/stub-resolv.conf:unlink /etc/resolv.conf ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf <!--NeedCopy-->-
- 安装 Linux VDA 程序包。
-
-
指定要使用的数据库。
除了 PostgreSQL,您还可以使用 SQLite。在安装 Linux VDA 程序包后,您还可以在 SQLite 和 PostgreSQL 之间切换。为此,请完成以下步骤:
-
运行
/opt/Citrix/VDA/sbin/ctxcleanup.sh。如果是全新安装,请跳过此步骤。 -
在运行
deploymcs.sh之前编辑/etc/xdl/db.conf。注意:
- 我们建议您仅将 SQLite 用于 VDI 模式。 - 对于简易安装和 MCS,您可以在 SQLite 和 PostgreSQL 之间切换,而无需手动安装它们。除非通过 `/etc/xdl/db.conf` 另行指定,否则 Linux VDA 默认使用 PostgreSQL。 - 您还可以使用 `/etc/xdl/db.conf` 配置 PostgreSQL 的端口号。 -
更改 MCS 变量。
可以通过两种方式配置 MCS 变量:
- 编辑
/etc/xdl/mcs/mcs.conf文件。 - 使用简易安装 GUI。要打开简易安装 GUI,请在 Linux VDA 的桌面环境中运行
/opt/Citrix/VDA/bin/easyinstall命令。
注意:
将
dns变量留空。 如果在创建计算机目录时选择 Static 或 Random 类型,请设置VDI_MODE=Y。如果您通过编辑
/etc/xdl/mcs/mcs.conf配置 MCS 变量,请运行/opt/Citrix/VDA/sbin/deploymcs.sh。如果您通过 GUI 配置 MCS 变量,请单击部署。在 GUI 上单击部署后,您在 GUI 上设置的变量将覆盖您在/etc/xdl/mcs/mcs.conf文件中设置的变量。 - 编辑
-
在 Azure 中,停止(或解除分配)VM。单击磁盘导出以生成虚拟硬盘 (VHD) 文件的 SAS URL,该文件可用作创建其他 VM 的主映像。

-
(可选) 在主映像上进行组策略设置。您可以使用
ctxreg工具进行组策略设置。例如,以下命令启用 Auto-create PDF Universal Printer 策略以进行 PDF 打印。/opt/Citrix/VDA/bin/ctxreg create -k "HKLM\Software\Citrix\GroupPolicy\Defaults\PrintingPolicies" -t "REG_DWORD" -v "AutoCreatePDFPrinter" -d "0x00000001" --force <!--NeedCopy-->
步骤 2:从 Azure 导入主映像
-
在 管理 仪表板中,展开右侧的主映像。显示屏列出了 Citrix 提供的主映像以及您创建和导入的映像。
提示:
此服务的大多数管理员活动通过管理和监视仪表板进行管理。创建第一个目录后,登录到 Citrix Cloud™ 并选择 Managed Desktops 服务后,管理仪表板将自动启动。

- 单击导入映像。
-
输入您在 Azure 中生成的 VHD 文件的 SAS URL。对于主映像类型,选择 Linux。

- 按照向导中的说明完成主映像的导入。
步骤 3:创建计算机目录
访问 管理 仪表板,然后单击创建目录。创建计算机目录时,请选择之前创建的主映像。
注意:
用作主映像的 VM 无法通过 SSH 或 RDP 访问。要访问 VM,请使用 Azure 门户中的串行控制台。
共享
共享
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.