6.2

Table Of Contents
3 Install VMware Tools in the virtual machine.
4 Log in the virtual machine with root privileges and open a terminal.
5 Download and install the supported JRE packages with the YUM package management tool or APT-
GET packaging tool.
If you have the supported JRE packages installed, skip this step.
a Download the JRE package from http://Application_Director_IP/agent/jre-1.7.0_51-lin-
ArchitectureName.zip, where the ArchitectureName is 32 or 64.
b Create an /opt/vmware-jre directory.
c Unzip the JRE package.
unzip -d /opt/vmware-jre
d Enter /opt/vmware-jre/bin/java -version to verify the installation
The installed version of Java appears.
e Remove any existing JRE packages from the /usr/java/default, /usr/java/latest,
and /usr/java/1.7.0_21 directories.
6 Download and install the Application Services agent bootstrap service.
a Change directory to /tmp/ folder.
b For an RPM-based virtual machine, download the agent bootstrap from
http://Application_Director_IP/agent/vmware-appdirector-agent-
service_6.0.0.0-0_ArchitectureName.rpm to the folder and enter
rpm -i vmware-appdirector-agent-service_6.0.0.0-0_ArchitectureName.rpm in the
terminal to install the service, where the ArchitectureName is i386 for 32-bit and x86_64 for 64-
bit.
c For a DEB-based virtual machine, download the agent bootstrap from
http://Application_Director_IP/agent/vmware-appdirector-agent-
service_6.0.0.0-0_ArchitectureName.deb to the folder and enter
dpkg -i vmware-appdirector-agent-service_6.0.0.0-0_ArchitectureName.deb in the
terminal to install the service, where the ArchitectureName is i386 for 32-bit and amd64 for 64-bit.
7 Shut down the Linux virtual machine and stop the vApp in vCloud Director.
8 Navigate to the vCloud Org location where the Linux vApp resides.
9 Select the vApp and click Add to Library to create a vApp template in the library.
What to do next
Register the Linux template for use in Application Services. See Register the vCloud Director Cloud
Provider and Template.
Using Application Services
VMware, Inc. 83