This page describes the Easy Setup Tool (easyinstall_viewagent.sh) for Linux machines. This tool performs all the installations and system configurations required to make a Linux machine available for use in a Horizon 8 deployment.
Overview of the Easy Setup Tool
The Easy Setup Tool is a guided installer that performs the following operations on the Linux machine.
-
System pre-check
Validates that the machine meets the following requirements:
- The machine is running a supported Linux distribution, as specified in Supported Linux Distributions for Horizon Agent.
- The required software repository is correctly configured on the machine.
- The machine is configured with a supported desktop environment, as specified in Desktop Environment.
The tool displays a notification if the machine fails to meet a certain requirement.
-
System configurations
Performs the following system configurations:
-
Configures DNS.
-
Configures NTP and hostname settings and joins the machine to a specified Active Directory domain.
Note: This release of the Easy Setup Tool performs only the System Security Services Daemon (SSSD) Authentication method of domain join.
-
-
Horizon Agent installation
Performs the following operations on the machine:
- Builds the following kernel modules to support certain features of Linux desktops:
- V4L2Loopback driver, which supports Real-Time Audio-Video (RTAV)
- USB VHCI driver, which supports USB redirection
- Installs the mandatory agent dependencies, as listed in Install Linux Dependency Packages for Horizon Agent.
- Installs Horizon Agent for Linux, with specified installation options.
- Builds the following kernel modules to support certain features of Linux desktops:
Note: For information on how to specify installation parameters such as the Active Directory domain, agent installation options, and the level of installer prompts, see "Configuration Parameters for the Easy Setup Tool".
Download and Run the Easy Setup Tool
-
Download the Horizon Agent for Linux installer package from Omnissa Customer Connect.
Navigate to the download page for the current release of Horizon 8 and then to the download page for Horizon for 64-bit Linux.
Download the Horizon Agent installer tarball with filename containing the pattern
Omnissa-horizonagent-linux-x86_64-YYMM-y.y.y-xxxxxxx.tar.gz, where YYMM is the marketing version number, y.y.y is the internal version number, and xxxxxxx is the build number. -
Unpack the tarball for your Linux distribution. The following command uses
agent-installerto refer to installer tarball.tar -xvzf *Omnissa-horizonagent-linux-x86\_64-YYMM-y.y.y-xxxxxxx.tar.gz* -
Navigate to the tarball folder and run the
easyinstall.viewagent.shscript as a root user. Append the command-line parameters for any installation options you want to include.For detailed information, see "Command-line Parameters for the Easy Setup Tool" below.
Use the following command examples for reference:
#Run the Easy Setup Tool with default prompts and installation options ./easyinstall_viewagent.sh #Run the tool in silent mode with installation options specified in easyinstall.conf ./easyinstall_viewagent.sh -s -f ./easyinstall.conf -
Allow the Easy Setup Tool to proceed without interruption, and respond to any installer prompts as needed.
-
After the installation process is complete, restart the Linux machine to make the changes take effect.
-
Verify that the viewagent service is started by running the following command.
sudo service viewagent status
Command-line Parameters for the Easy Setup Tool
The following table describes the command-line parameters that you can append to the ./easyinstall_viewagent.sh run command to specify installation options and prompt levels.
| Option | Description |
|---|---|
| -s, --silent |
Runs the Easy Setup Tool in silent mode bypassing all installer prompts.
Required installation options are retrieved from the configuration file specified by the -f parameter. For more details, see the section "Configuration Parameters for the Easy Setup Tool" in this topic.
Command example: |
| -l, --prompt-level |
Specifies the level of user interaction based on the level of installer prompts.
Settings for each prompt level are retrieved from the configuration file specified by the -f parameter. For more details, see "Configuration Parameters for the Easy Setup Tool".
Allowed values:
|
| -f, --config-file |
Reads configurations from the specified configuration file. For more information, see Configuration Parameters for the Easy Setup Tool.
Command example: |
| -p, --pre-check-only |
Only performs the pre-check operations described in the overview. Does not perform system configurations or Horizon Agent installation.
Command example: |
| -c, --configure-only |
Only performs the system configurations described in the overview. Does not perform pre-check operations or Horizon Agent installation.
Command example: |
| -i, --install-agent-only |
Only installs Horizon Agent, as described in the overview. Does not perform pre-check operations or system configurations.
Command example: |
| -h, --help |
Displays help information for the Easy Setup Tool, and exits the tool.
Command example: |
Configuration Parameters for the Easy Setup Tool
You can specify configuration parameters for the Easy Setup Tool by writing the parameters into a configuration file and then retrieving the file with the -f command-line parameter.
For example, the following command runs the tools with advanced installer prompts as specified in the easyinstall.conf configuration file.
./easyinstall_viewagent.sh -l advanced -f ./easyinstall.conf
Observe the following rules and conventions when writing a configuration file:
-
Refer to the configuration template
easyinstall.conf.template, located in the same tarball folder that contains theeasyinstall_viewagent.shscript. -
Save your configuration file in the same tarball folder.
-
Configuration parameters are grouped into sets corresponding to the three installer prompt levels:
default,advanced, andexpert. -
To bypass a prompt, comment out the configuration parameter for that prompt in the configuration file.
-
In the following tables, entries labeled "Optional" correspond to prompts that accept optional input. Users can skip an optional prompt without entering any input.
-
For prompts that accept "y" or "n" input, the capitalized setting represents the default setting.
For example, the EASYINSTALL_AGENT_MANAGED parameter takes "Y" as its default setting, meaning that Horizon Agent is installed in managed mode by default. The default setting takes effect when bypassing a prompt or running the Easy Setup Tool in silent mode.
Parameters for Default Prompt Level
| Configuration Parameter | Description |
|---|---|
| EASYINSTALL_HOSTNAME | Specify the hostname for the host (Optional). |
| EASYINSTALL_DNS_LIST | Specify the DNS for the host (Optional). |
| EASYINSTALL_DOMAIN_FQDN | Specify the FQDN of the Active Directory domain to join. |
| EASYINSTALL_DOMAIN_JOIN_USER | Specify the user account to use for domain join. |
| EASYINSTALL_DOMAIN_JOIN_PASSWORD | Specify the password to use for domain join. |
| EASYINSTALL_PROXY | Specify the proxy server to use during the configuration process (Optional). |
| EASYINSTALL_AGENT_ACCEPT_GENERAL_TERMS | Specify whether to accept the General Terms agreement [Y/n]. You must accept the General Terms to proceed with the Easy Setup Tool. |
Parameters for Advanced Prompt Level
| Configuration Name | Description |
|---|---|
| EASYINSTALL_NTP | Enter the IP address of the NTP server (Optional). |
| EASYINSTALL_DOMAIN_JOIN | Specify whether to join the Active Directory domain [Y/n]. |
| EASYINSTALL_AGENT_MANAGED | Specify whether to install Horizon Agent in managed mode [Y/n]. |
| EASYINSTALL_AGENT_MULTIPLE_SESSION | Specify whether to install support for multiple sessions [Y/n]. |
| EASYINSTALL_AGENT_WEBCAM | Specify whether to install the webcam redirection feature [y/N]. |
| EASYINSTALL_AGENT_AUDIO_IN | Specify whether to install support for audio input redirection [y/N]. |
| EASYINSTALL_AGENT_USB_REDIRECTION | Specify whether to install the USB redirection feature [y/N]. |
| EASYINSTALL_AGENT_CLIENT_DRIVE_REDIRECTION | Specify whether to install the client drive redirection feature [Y/n]. |
| EASYINSTALL_AGENT_CLIPBOARD_REDIRECTION | Specify whether to install the clipboard redirection feature [Y/n]. |
| EASYINSTALL_AGENT_PRINTER_REDIRECTION | Specify whether to install the printer redirection feature [Y/n]. |
| EASYINSTALL_AGENT_SKIP_BUILD_MODULES | Specify whether to skip building required modules [y/N]. |
| EASYINSTALL_AGENT_SINGLE_SIGN_ON | Specify whether to install support for single sign-on [Y/n]. |
| EASYINSTALL_AGENT_RESTART_AFTER_INSTALLATION | Specify whether to restart the machine automatically after the installation [y/N]. |
| EASYINSTALL_HORIZON_CONNECTION_SERVER_ADDRESS | Enter the FQDN or IP address of the Connection Server (for unmanaged mode only). |
| EASYINSTALL_HORIZON_ADMIN_DOMAIN | Enter the administrator domain name of the Connection Server (for unmanaged mode only). |
| EASYINSTALL_HORIZON_ADMIN_USER | Enter the administrator name of the Connection Server (for unmanaged mode only). |
| EASYINSTALL_HORIZON_ADMIN_PASSWORD | Enter the administrator password of the Connection Server (for unmanaged mode only). |
Parameters for Expert Prompt Level
| Configuration Name | Description |
|---|---|
| EASYINSTALL_AGENT_FIPS | Specify whether to install support for FIPS mode [y/N]. |
| EASYINSTALL_AGENT_IPV6 | Specify whether to install support for IPv6 networking [y/N]. |
| EASYINSTALL_AGENT_NO_HOSTED_APP | Specify whether to disallow single-session application pools [y/N]. |
| EASYINSTALL_AGENT_DISABLE_HZNGREETER | Specify whether to deactivate the Horizon greeter, which supports the True SSO and smart card SSO features [y/N]. |
| EASYINSTALL_AGENT_SMARTCARD_REDIRECTION | Specify whether to install the smartcard redirection feature [y/N]. |
| EASYINSTALL_AGENT_TRUE_SSO | Specify whether to install the True SSO feature [y/N]. |
| EASYINSTALL_AGENT_SELF_SIGNED_CERT_SUBJECT_DN | Enter the Subject DN of the preferred self-signed certificate (Optional). |
| EASYINSTALL_AGENT_JMS_SSL_KEYSTORE_PASSWORD | Enter the preferred JMS SSL keystore password (Optional). |
| EASYINSTALL_AGENT_VHCI_SOURCE_DOWNLOAD_PATH | Specify the file path of the VHCI source package (Optional). |
| EASYINSTALL_AGENT_V4L2LOOPBACK_SOURCE_DOWNLOAD_PATH | Specify the file path of the V4L2Loopback source package (Optional). |
| EASYINSTALL_HORIZON_ADMIN_KDC | Specify the Kerberos Key Distribution Center (KDC) for the Horizon 8 administrator domain (Optional, for unmanaged mode only). |
| EASYINSTALL_HORIZON_CONNECTION_SERVER_KDC | Specify the KDC for the Connection Server domain (Optional, for unmanaged mode only). |
| EASYINSTALL_HORIZON_CONNECTION_SERVER_DOMAIN | Enter the domain name of the Connection Server (Optional, for unmanaged mode only). |
Feature Considerations for the Easy Setup Tool
The following considerations and limitations apply to the Easy Setup Tool.
-
SSSD Authentication is the only domain-join method currently supported by the tool.
-
If the True SSO feature is installed, you must perform further configuration steps as described in Set Up True SSO for Linux Desktops.
If the smart card redirection feature is installed, you must perform further configuration steps as described in Set Up Smart Card Redirection for Linux Desktops.
-
If Secure Boot is enabled on the machine, you must sign both the VHCI driver (see VHCI Driver for USB Redirection) and V4L2Loopback driver (see Install the V4L2Loopback Driver on a Linux Machine.
Was this page helpful?