You must perform certain tasks to prepare a Linux guest operating system for use as a desktop in a Horizon 6 deployment.
About this task
Before a Linux guest operating system can be managed by Horizon 6, the machine must be able to communicate with the other machines in the environment. You must configure the Linux machine to be resolvable through DNS. Otherwise, View Agent cannot be registered as a machine source and the machine cannot be added to a desktop pool.
Verify that a new virtual machine was created in vCenter Server and your Linux distribution was installed on the machine
Familiarize yourself with the steps for mounting and installing VMware Tools on a Linux virtual machine. See "Manually Install or Upgrade VMware Tools in a Linux Virtual Machine" in the vSphere Virtual Machine Administration document.
Familiarize yourself with the steps for configuring your Linux machine to be resolvable through DNS. These steps vary for the different Linux distributions and releases. For instructions, consult the documentation for your Linux distribution and release.
Familiarize yourself with the required JRE version for your Linux distribution. See Required JRE Versions for Linux Guest Operating Systems.
- In vSphere Web Client or vSphere Client, mount the VMware Tools virtual disk on the guest operating system.
- Right-click the VMware Tools installer file, VMwareTools.x.x.x-xxxx.tar.gz, click Extract to, and select the desktop for your Linux distribution.
The vmware-tools-distrib folder is extracted to the desktop.
- In the virtual machine, log in to the guest operating system and root and open a terminal window.
- Uncompress the VMware Tools tar installer file.
tar zxpf /mnt/cdrom/VMwareTools-x.x.x-yyyy.tar.gz
- Run the installer and configure VMware Tools.
The command might vary slightly in different Linux distributions. For example:
cd vmware-tools-distrib sudo ./vmware-install.pl -d
Usually, the vmware-config-tools.pl configuration file runs after the installer file finishes running.
- Configure the Linux machine to be resolvable through DNS.
- Ensure that the View Connection Server instances in the pod can be resolved through DNS.
- If your deployment uses a Windows Server 2012 or Windows Server 2012 R2 Active Directory (AD) server, enable reversible password encryption.
- On the AD server, open AD users and computers.
- Right-click the View Admin account, or create a new Linux View Agent account, and select Properties.
- Select the Account tab.
- In Account options, select the Store password using reversible encryption setting.
- Reset the View Admin password.
- If the Linux virtual machine is not connected to the Internet, manually download and install the required JRE version before you install View Agent.
You do not have to take this step if the machine is connected to the Internet. In this case, the View Agent installer automatically downloads the JRE to the machine.
If necessary, take the following steps to install the JRE:
Open a terminal window and run the following commands.
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
sudo apt-get -y install oracle-java7-installer
Download jre-7u79-linux-i586.rpm or jre-7u79-linux-x64.rpm from http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
Install the rpm: sudo rpm -i jre-7u79-linux-i586.rpm or sudo rpm -i jre-7u79-linux-x64.rpm
After installing VMware Tools, if you upgrade the Linux kernel, VMware Tools might stop running. To resolve the problem, see http://kb.vmware.com/kb/2050592.