UPDATE: The scripts below have been updated to support the latest release of vCloud Director 5.1.
For our setup, I used CentOS-5.5-x86_64-netinstall.iso to do a network installation using ftp://ftp.cs.ucsb.edu/mirrors/centos/5.5/os/x86_64/images and using all the defaults for "Server" type deployment. Since I can not re-distribute the installers for VMware vCloudr Director and Oracle Express, you will need to download the installers and transfer it to your CentOS system. The last step before you being is to transfer the vcd_setup.sh script and vcd.rsp response file to your CentOS system.
You will need make a few tiny edits the vcd.resp file to fit your environment which will be used to deploy vCD and Oracle Express, including the configurations.
Here is the sample vcd.resp that is included:
If you have read Duncan's vCD article or the vCD installation guide, you will be familiar with all these configurations. The only required changes you will need to make will be the secondary IP Address and the passwords for Oracle Database. Once you have made all the necessary edits, we can start the installation.
You should have the following 4 files located in the same directory on your vCD system:
Note: Make sure you set the executable permission on the vcd_setup.sh, else you will get a permission denied error.
1. Start the installation and type y to begin:
2. The YUM repository will be configured from a generic mirrorlist from CentOS and package dependency for vCD will begin:
7. vCloud Director will not be installed which actually extracts an embedded RPM for the actual installation:
9. Once the vCloud Director installation and schema creation is completed, vCloud Director is finished installing: