Chapter 3. Installing the Software

In this chapter, you install and configure Oracle VDI, install Oracle VM VirtualBox (VirtualBox), and then test the installation.

Installing Oracle VDI

Log in as root on the host. Change working directory to the directory containing the Oracle VDI software archive. Unzip the Oracle VDI software archive and install the software with the vda‑install command, as follows:

At the end of the installation, you are prompted to configure Oracle VDI. Press the Return key to start the configuration. A list of configuration types is displayed.

1 New Oracle VDI Center
2 Join Oracle VDI Center
                
Select (1/2):

Type 1 (for a new Oracle VDI Center) and press the Return key. A list of configuration settings is displayed.

Review the settings for a new Oracle VDI Center:
   Name: VDI Center
   Administrator Password: ********
   DNS name of this host: vdi.example.com
   Maximum number of sessions on this host: 100
   User ID range start: 150000
   Database: Embedded Oracle VDI

Do you want to create the Oracle VDI Center now? Enter 'c' to customize the settings. ([y]/c):

Generally, it is fine to accept the default settings. The main thing to check is that the DNS name shown is a fully-qualified DNS name. To accept the defaults and create the Oracle VDI Center, press the Return key. Otherwise type c and press the Return key to change the configuration settings. After a few minutes, the installation is complete.

Installing VirtualBox

Next, you need to install VirtualBox. Everything you need is contained in the extracted Oracle VDI software archive.

Unzip the VirtualBox software archive, change working directory to the extracted directory, and install the software with the vb‑install script, as follows:

# unzip vbox_<version>.zip
# cd vbox_<version>
# ./vb-install

VirtualBox consists of two components, a Base Pack and an Extension Pack. The VirtualBox software archive contains only the Extension Pack. However, the vb‑install script downloads the VirtualBox Base Pack, and then installs both the Base Pack and the Extension Pack. If the Base Pack download fails, you must manually download it from http://download.virtualbox.org/virtualbox. Make sure you download the release that is bundled and supported with the release of Oracle VDI. Copy the Base Pack to the same folder as the vb‑install script, and then run the script again.

The vb‑install script prompts you for a user name, a password, and a port number to use for SSL connections. The defaults are to use the root user and port 443. It is best to use root as the user. If another process is using port 443, the vb‑install script suggests another available port. If you plan to install Oracle Secure Global Desktop software on this host as well, choose a different port. After a few minutes, the installation is complete.

Logging in to the Oracle VDI Web Administration Tool

Next, log in to the Oracle VDI web administration tool, Oracle VDI Manager. Using a browser, go to https://<host-name>:1801. The browser displays a security warning and prompts you to accept the security certificate. Accept the security certificate. A login page is displayed, as shown in Figure 3.1.

Figure 3.1. Oracle VDI Manager Login Page

The image shows the login page for Oracle VDI Manager.

Log in with the user name root and root's password. You are logged in to Oracle VDI Manager and the Users page is displayed, as shown in Figure 3.2.

Figure 3.2. Users Page

The image shows Oracle VDI Manager after you have logged in and shows the "No Company" message.

A "No Company" message is displayed because you have not yet configured a user directory. Chapter 4, Connecting the User Directory shows you how to do this.