vCD Installation Guide – Part 4 – RHELS 6.3

This is part 4 of the vCD Installation guide, describing the installation of the Red Hat Enterprise Linux Server 6.3 OS that will be used for the vCD 5.1 application binaries.

This is a five part series describing the steps to install and configure the components of vCloud Director 5.1:


The Red Hat OS preparation is quite involved, especially if you are not used to Linux.  The steps involved are:

  • Creating the VM Hardware
  • Installing the Red Hat Enterprise Linux Server 6.3 Operating System
  • Installing VMware Tools
  • Network Configuration
  • Installing the libXdmcp RPM
  • Creating the SSL Certificates

Creating the VM Hardware

  1. Access vCenter and start the “New Virtual Machine” wizard.
  2. In Step 1a, select “Create a new virtual machine”.  Press “Next”.
  3. In Step 2a, Enter the name and select the Datacenter location.  Press “Next”.
  4. In Step 2b, select the compute resource and press “Next”.
  5. In Step 2c, select the “VM Storage Policy”, a compatible datastore and press “Next”.
  6. In Step 2d, select VM hardware version and press “Next”.
  7. In Step 2e, select the “Linux” “Guest OS Family”, the “Red Hat Enterprise Linux 6 (64-bit)” “Guest OS Version” and press “Next”.
  8. In Step 2f, size the vCPU, Memory, Hard Disk and add two vNICs.  Press “Next”.
  9. In Step 3, review the configuration and then press “Finish”.

RHEL_6.3_VM_HW_1 RHEL_6.3_VM_HW_2 RHEL_6.3_VM_HW_3 RHEL_6.3_VM_HW_4 RHEL_6.3_VM_HW_5 RHEL_6.3_VM_HW_6 RHEL_6.3_VM_HW_7 RHEL_6.3_VM_HW_8

Installing the Red Hat Enterprise Linux Server 6.3 Operating System

  1. Check that the RHELS 6.3 ISO image is connected to the CDROM of the vCD Virtual Machine.
  2. Power-On the VM and wait for the RHELS 6.3 installation screen to appear from the Console.  Select “Install or upgrade an existing system” and press “Enter”.
  3. When the “Disc Found” message appears, press “Skip”.
  4. When the “Unsupported Hardware Detected” message appears, press “OK”.
  5. At the RHELS 6 logo, press “Next”.
  6. When the question “What language would you like to use during the installation process?” appears, select “English (English)” and press “Next”.
  7. When the message “Select the appropriate keyboard for the system” appears, select “U.S. English” and press “Next”.
  8. When the question “What type of devices will your installation involve?” appears, select “Basic Storage Devices” and press “Next”.
  9. When the “Storage Device Warning” window appears, select “Apply my choice to all devices with undetected partitions or filesystems” and then press “Yes, discard any data”.
  10. Enter the “Hostname” of the vCD RHELS OS and press “Next”.
  11. Select your city to determine your Time Zone and press “Next”.
  12. Enter the “Root” password and confirm it.  Press “Next”.
  13. When the quesiton “Which type of installation would you like?” appears, select “Use All Space” and press “Next”.
  14. When the “Writing storage configuration to disk” message appears, select “Write changes to disk” and then press “Next”.
  15. Stick with the “Basic Server” installation of RHELS and press the “Next” button.
  16. Wait for the installation of 604 packages to complete and then press the “Reboot” button.  Unmap the RHELS ISO image from the CDROM.

 RHEL_6.3_Install_1 RHEL_6.3_Install_2 RHEL_6.3_Install_3 RHEL_6.3_Install_4 RHEL_6.3_Install_5 RHEL_6.3_Install_6 RHEL_6.3_Install_7 RHEL_6.3_Install_8 RHEL_6.3_Install_9 RHEL_6.3_Install_10 RHEL_6.3_Install_11 RHEL_6.3_Install_12 RHEL_6.3_Install_13 RHEL_6.3_Install_14 RHEL_6.3_Install_15 RHEL_6.3_Install_16

Installing VMware Tools

  1. After the RHELS OS has finished rebooting and presents the “login:” prompt in the Console, enter the “root” credentials to access the OS.
  2. From the vCenter VM Guest OS menu, select “Install VMware tools”.
  3. At the Linux prompt create a temporary installation repository: “mkdir install_files”
  4. Create a CDROM mount point: “mkdir /mnt/cdrom”
  5. Mount the CDROM device to the CDROM mount point: “mount /dev/dvd /mnt/cdrom”
  6. Copy the VMware tools package from the CDROM to the installation repository: “cp /mnt/cdrom/*.gz /install_files”
  7. Change to the installation repository directory: “cd /install_files”
  8. List the contents of the directory: “ls -als”
  9. Decompress the VMware tools package: “tar -xvf VMwareTools-N.N.N-NNNNNN.tar.gz”
  10. Change to the VMware tools distribution directory: “cd vmware-tools-distrib”
  11. Ensure that the VMware tools installation script can execute: “chmod 555 *.pl”
  12. Execute the VMware tools installation script: “./”
  13. Press “Enter” in answer to each script installation question.
  14. Wait for the installation to complete.  Change directory to the root of the file system: “cd /”
  15. Clean up the VMware tools source installation files: “rm -rf /install_files/vmware-tools-distrib”, “rm /install_files/*.gz”
  16. Check vCenter and verify that VMtools is detected and running for the vCD RHELS VM.

RHEL_6.3_Config_1 RHEL_6.3_Config_2 RHEL_6.3_Config_3 RHEL_6.3_Config_4

Network Configuration

  1. Check the network configuration of the RHELS OS: “ifconfig -a”
  2. Interfaces “eth0” and “eth1” require static IP addresses, this is achieved via the Setup Utility: “setup”
  3. Highlight “Network configuration” and press the “Run Tool” button.  Use the arrow keys, tab and enter key to navigate the interface.
  4. Highlight “Device configuration” and press the “Enter” button.
  5. Select “eth0” and press “Enter”.
  6. Deselect “DHCP”, enter the “Static IP”, “Netmask”, “Default gateway IP” and “DNS” servers.  Then press “OK”.
  7. Do the same for “eth1”.
  8. In the “Select a device” screen, press “Save”.
  9. In the “Select Action” screen, press “DNS configuration”.
  10. Enter the “Hostname”, “DNS servers” and “DNS search path” and press “OK”.
  11. In the “Select Action” screen, press “Save&Quit”.
  12. In the “Choose a Tool” screen, select “Firewall configuration” and press “Run Tool”.
  13. Disable the “Firewall” and press “OK”.
  14. Accept the “Warning” by pressing “Yes”.
  15. In the “Choose a Tool” screen, press “Quit”.
  16. At the prompt, change directory to the network configuration scripts: “cd /etc/sysconfig/network-scripts”
  17. Use “vi” to edit the eth0/eth1 network config files: “vi ifcfg-eth0” and “vi ifcfg-eth1”
  18. Use the arrow keys to move the cursor to “ONBOOT=no”.
  19. Highlight each letter of “no” and press “x” to delete the single character.
  20. Make sure the cursor is on the “=” character and press the letter “a” to enter append mode.  Type the word “yes” and press the Escape key to exit append mode.  There should now be a line “ONBOOT=yes”.
  21. Exit “vi” and save the changes: “:wq”
  22. Check both files have retained the changes: “more ifcfg-eth0” and “more ifcfg-eth1”
  23. Reboot the server: “reboot”
  24. Once the server has rebooted and you have logged in as root again, check that the static IP addresses are present on eth0 and eth1: “ifconfig -a”
  25. Ping the gateway IP address to verify connectivity, disable each vNIC to isolate the traffic.  After the test is finished, re-enable both vNIC interfaces.

RHEL_6.3_Config_5RHEL_6.3_Config_6 RHEL_6.3_Config_7 RHEL_6.3_Config_8 RHEL_6.3_Config_9 RHEL_6.3_Config_10 RHEL_6.3_Config_11 RHEL_6.3_Config_12 RHEL_6.3_Config_13 RHEL_6.3_Config_14 RHEL_6.3_Config_15 RHEL_6.3_Config_16 RHEL_6.3_Config_17 RHEL_6.3_Config_18 RHEL_6.3_Config_19 RHEL_6.3_Config_20 RHEL_6.3_Config_21

Installing the libXdmcp RPM

  1. Use FTP or WinSCP to copy the “libXdmcp-1.1.1-4-.fc19.x86_64.rpm” file to the “install_files” directory.
  2. Install the RPM: “rpm -i libXdmcp-1.1.1-4-.fc19.x86_64.rpm”
  3. Clean up the installation file: “rm libXdmcp-1.1.1-4-.fc19.x86_64.rpm”


Creating the SSL Certificates

  1. Use “keytool” to create the “http” (will be bound to eth0) certificate: “keytool -keystore /install_files/certificates.ks -storetype JCEKS -storepass 123456 -validity 9999 -genkey -keyalg RSA -alias http”
  2. Answer the prompted questions: First and Last Name (FQDN), Org Unit, Org Name, City, State, Country and Password (123456).
  3. Use “keytool” to create the “consoleproxy” (will be bound to eth1) certificate: “keytool -keystore /install_files/certificates.ks -storetype JCEKS -storepass 123456 -validity 9999 -genkey -keyalg RSA -alias consoleproxy”
  4. Answer the prompted questions: First and Last Name (FQDN), Org Unit, Org Name, City, State, Country and Password (123456).

RHEL_6.3_Config_23 RHEL_6.3_Config_24

You are now ready to begin with the vCD Application install in Part 5.

Other Resources

Published by


Chief Enterprise Architect and Strategist, 4xVCDX#133, NPX#8, DECM-EA.