With Linux virtual machine templates, you can use vCloud Application Director on vCloud Director to create an application blueprint and deploy Linux-based services and applications.

Verify that vCloud Director 5.1.2 or 5.5 is installed and configured.

Verify that the vCloud organization that you plan to use with vCloud Application Director is created and configured with a user account that has privileges to create and share vCloud Director catalog templates.

Familiarize yourself with how to create a vApp in vCloud Director. See vCloud Director documentation.

Creating multiple virtual machine vApp templates is not supported.

Verify that the vApp meets the vCloud Application Director virtual machine requirements. See Virtual Machine Requirements for Creating vCloud Director Custom Templates.

Familiarize yourself with how to install and configure VMware Tools.


Log in to vCloud Director and create a vApp with one virtual machine.

Allocate the appropriate virtual storage and virtual memory to support the Linux operating system and your application.


Install the supported Linux operating system in the virtual machine.


Install VMware Tools in the virtual machine.


Log in the virtual machine with root privileges and open a terminal.


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.


Download the JRE package from http://Application_Director_IP/agent/jre-1.7.0_45-lin-ArchitectureName.zip, where the ArchitectureName is 32 or 64.


Create an /opt/vmware-jre directory.


Unzip the JRE package.

unzip -d /opt/vmware-jre


Type /opt/vmware-jre/bin/java -version to verify the installation

The installed version of Java appears.


Remove any existing JRE packages from the /usr/java/default, /usr/java/latest, and /usr/java/1.7.0_21 directories.


Download and install the vCloud Application Director agent bootstrap service.


Change directory to /tmp/ folder.


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 type 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.


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 type 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.


Shut down the Linux virtual machine and stop the vApp in vCloud Director.


Navigate to the vCloud Org location where the Linux vApp resides.


Select the vApp and click Add to Catalog to create a vApp template in the catalog.

Register the Linux template for use in vCloud Application Director. See Register the vCloud Director Cloud Provider and Template.