Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

Oracle Communications

Network Applications
Environment
Lab Preparation Guide

Edition 2.0
September 2016
Copyright 2016, Oracle and/or its affiliates. All rights reserved.

Disclaimer

This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and
print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way.
Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display,
perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization
of Oracle.

The information contained in this document is subject to change without notice. This document is not warranted to be error-free.

Restricted Rights Notice

If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United
States Government, the following notice is applicable:

U.S. GOVERNMENT RIGHTS


The U.S. Governments rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted
by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract.

Trademark Notice

Oracle and Java are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their
respective owners.
Table of Contents

Importing and Configuring the Virtual Machine ............................................................................................1-1


Part 1: Overview.............................................................................................................................................1-3
Preparation 1-1: Downloading and Installing Oracle VM VirtualBox...............................................................1-5
Preparation 1-2: Downloading the Virtual Machine ........................................................................................1-6
Preparation 1-3: Importing the Virtual Machine ..............................................................................................1-7
Preparation 1-4: Configuring the Virtual Machine...........................................................................................1-8
Importing and Configuring
the Virtual Machine
Chapter 1

Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Importing and Configuring the Virtual Machine


Chapter 1 - Page 1
Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Importing and Configuring the Virtual Machine


Chapter 1 - Page 2
Part 1: Overview
Overview
Most Oracle courses assume that you have a pre-built environment available, with a number of
tools already installed. But in some cases this course will be taught in custom environments and
then all the basic setup needs to be done by the student.
Using the instructions below, you will download and import a base system that can be used in
many Oracle courses.
A virtual machine is really a file, or a set of files, which contains everything necessary to
simulate a full computer system. A packed up virtual machine can sometimes be called virtual
appliance or virtual image.
The file you will download is an exported virtual machine, packed up according to the Open
Virtualization Format.

Pre-requisites

Using Different Operating Systems on Your Host Machine


The instructions assume that you are using a 64-bit Windows system. But since Oracle VM
VirtualBox can be used on several platforms, it is also possible to use OS X, Linux or Solaris.
The instructions should be similar.
But no matter which platform you are using on your host machine, you need to have
administration privileges for that machine.

Hardware Requirements
To successfully use the virtual machine that you are about to download and use, you should
have a computer that fulfill the following hardware requirements:
CPU: At least a dual core CPU, running at a minimum speed of 2 GHz.
RAM: At least 8 GB.
Hard Drive: At least 20 GB free space.

Virtualization Support
Your machine also needs to support virtualization. Make sure your machine has:
A 64-bit CPU which supports virtualization (VT-x or AMD-v).
Virtualization support enabled in the BIOS.
No other software using the virtualization features at the same time as you run the
virtual machine. For example another virtualization software.
The VT-x/AMD-v feature enabled in the VirtualBox settings for the virtual machine.
Even though most laptops today have the capabilities to run a 64-bit operating system, many
people are still running a 32-bit operating system on their machines.
The virtual machine you are about to download and use is running a 64-bit version of Oracle
Enterprise Linux. It may be possible to run this on a 32-bit operating system if the requirements
above are fulfilled.

Determining the CPU Type


If your operating system is a 64-bit system, you are fine.

Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Importing and Configuring the Virtual Machine


Chapter 1 - Page 3
But if your operating system is a 32-bit system, you need to figure out if you have a 64-bit CPU.
If you, for example, are running a 32-bit, Windows 7, operating system:
Open the Control Panel and select System and Security and then System.
Look for the information about the processor.
In my case it says: Intel Core2 Duo CPU T9600 @ 2.80GHz.
Use this information and search on the internet. In my case I searched for:
Intel Core2 Duo T9600 2.80 GHz Instruction Set
which helped me find the following page at Intel, that verified that I have a 64-bit CPU:
http://ark.intel.com/products/35563/Intel-Core2-Duo-Processor-T9600-6M-Cache-2_80-
GHz-1066-MHz-FSB

Enabling Virtualization Support in Your BIOS


To effectively use your hardware in a virtual machine, you need to enable the virtualization
technology features in the BIOS of your machine. This is done differently for different hardware,
so you have to find out how to do this on your own. You will probably find this information on the
internet by searching for Enable Virtualization Technology in BIOS plus the name of your
laptop, for example Dell Latitude or Lenovo Thinkpad.

Folder structure
Even though you dont have to organize your files and folders, it will be easier to maintain your
virtual machines and the supporting files if you create a good structure.

Suggested folder structure


Unless you already have a structure for your VMs, create the folder structure described in the
image below. You should do this on a drive with at least 20 GB free disk space.

Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Importing and Configuring the Virtual Machine


Chapter 1 - Page 4
Preparation 1-1: Downloading and Installing Oracle VM VirtualBox
Overview
In this practice you will download and install VirtualBox.

Tasks

Downloading VirtualBox
Since websites are often changed, the instructions below might differ slightly from the way the
site looks at the moment. But the process should be very similar.
1. Open a browser and go to www.virtualbox.org.
The Oracle VM VirtualBox web site appears.
2. Click Downloads.
The Oracle VM VirtualBox Downloads web page appears.
3. Click the download link for VirtualBox for Windows hosts and save the file to your hard
drive. At the time of writing, the current release of VirtualBox is 5.1.4.
4. Browse down in the same page and click the download link for Oracle VM VirtualBox
Extension Pack and save the file to your hard drive.

Installing and Starting VirtualBox


5. Execute the installation binary for Oracle VM VirtualBox and follow the instructions for
doing a typical installation.
6. Execute the installation binary for Oracle VM VirtualBox Extension Pack and follow the
instructions for doing a typical installation.
7. Start VirtualBox from the Windows Start menu.

Summary
You now have an installation of VirtualBox and are ready to start creating Virtual Machines,
running any desktop operating system.

Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Importing and Configuring the Virtual Machine


Chapter 1 - Page 5
Preparation 1-2: Downloading the Virtual Machine
Overview
In this practice you will download the virtual machine and, if necessary, assemble the pieces.
In the overview for this document there is a suggested file structure. The following instructions
assume that you will download the VM files to the folder Images.

Tasks

Downloading the Virtual Machine


The virtual machine is available as two separate types of downloads. Either you download the
file in one big piece, or in several smaller pieces.
1. Start a browser and go to:
http://www.oracle.com/us/industries/communications/resources/netapps-vm.html
2. Download the big file, NetApps_VM.ova, or the pieces, NetApps_VM.ova.001,
NetApps_VM.ova.002, and so on. Save the file or files in the Images directory.

Assembling the Files


If you choose to download the smaller pieces you will need to assemble them into one big
piece. There are two scripts available for doing this. One of the scripts is for Windows and the
other is for Linux, Mac OS and Solaris.
3. Download the script for your platform and save it in the same folder as the virtual machine
pieces.
4. Remove the .txt extension of the script. This has been added to make sure the download is
allowed.
5. Open a command window or terminal window and change directory to the folder where you
saved the files.
6. Execute the script.
The result should be that you get a big file, called NetApps_VM.ova.
7. You my now remove the pieces, NetApps_VM.ova.001, NetApps_VM.ova.002, and so on.

Summary
You have now downloaded the virtual machine and, if necessary, assembled the pieces.

Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Importing and Configuring the Virtual Machine


Chapter 1 - Page 6
Preparation 1-3: Importing the Virtual Machine
Overview
In this practice you will import the virtual machine into VirtualBox.

Tasks

Importing the Virtual Machine


1. Start VirtualBox
The Oracle VM VirtualBox Manager appears.
2. From the File menu, select Import Appliance.
The Appliance to import screen appears.
3. Click the folder icon.
The Please choose a virtual appliance file to import dialog appears.
4. Select the NetApps_VM.ova file and click Open.
The Appliance to import screen appears again.
5. Click Next.
The Appliance settings screen appears.
6. Click Import.
The Software License Agreement dialog appears.
7. Read the terms and conditions of the software license. If you accept, click Agree.
The Importing Appliance information box appears and after a couple of minutes the import
is ready and the virtual machine appears in the VirtualBox Manager.

Summary
You have now imported the virtual machine into VirtualBox.

Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Importing and Configuring the Virtual Machine


Chapter 1 - Page 7
Preparation 1-4: Configuring the Virtual Machine
Overview
In this practice you will do detailed configuration of your virtual machine.

Tasks

Consolidating You VM Files


When importing a VM, the files are placed at the default location for VMs. To make it easier for
you to maintain the files, do backups, etc; you should move the files to a place that you choose.
In the overview for this document there is a suggested file structure. The following instructions
assume that you will move the VM files to the folder NetApps_VM.
1. Start VirtualBox
The Oracle VM VirtualBox Manager appears.
2. Right-click the NetApps_VM and select Show in Explorer.
A file explorer window appears.
3. Do not close the file explorer window.
4. In the VirtualBox Manager, right-click the NetApps_VM and select Remove.
The VirtualBox Question dialog appears.
5. Click Remove only.
The VM is removed.
6. From the File menu, select Exit.
7. In the file explorer window, select all the files, right-click one of the files and select Cut.
8. In the file explorer window, browse to the NetApps _VM folder.
9. Right-click in the file space for the folder and select Paste.
The files should now appear in the NetApps_VM folder.
10. Double-click the NetApps_VM.vbox file.
The VirtualBox Manager appears and the NetApps_VM is in the list of VMs again.

Configuring Your VM
In the overview for this document there is a suggested file structure. The following instructions
assume that you will share files with the VM in the folder Shared.
11. In the VirtualBox Manager, right-click the NetApps_VM and select Settings.
The Settings screen appears with the General panel selected.
12. In the General panel, select the Advanced tab.
13. For Shared Clipboard, select Bidirectional.
14. In the left-hand list of settings, select System.
The System panel appears with the Motherboard tab selected.
15. Set the Base Memory to 4096, but make sure that the slider is in the green area.
Click the Processor tab.
16. Set the Processor(s) to 2, but make sure that the slider is in the green area.
17. In the left-hand list of settings, select Shared Folders.
The Shared Folders panel appears.
18. Click the folder icon with a plus sign.
Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Importing and Configuring the Virtual Machine


Chapter 1 - Page 8
19. In the Folder path field, select Other.
The Browse For Folder dialog appears.
20. Select the Shared folder and click OK.
21. In the Folder name field, enter shared and click OK.
22. Click OK.

Starting the VM
23. Right-click the NetApps_VM and select Start.
The VM starts.
24. Click inside the window.
The VirtualBox - Information dialog appears.
25. Click Capture.
26. When the login screen appears, click on each of the messages at the top of the screen,
read the information, choose if you want to see the message again and click the blue X at
the top right.
27. Click oracle.
The Capture dialog appears.
28. Read the information, chose if you want to see the message again, and click Capture.
The Password field appears.
29. In the Password field, enter PwdOra123 and click Log In.
The desktop appears.

Fixing the APIC Problem


If you are running a 32-bit Windows system on a 64-bit CPU, you might run into a problem
inside the virtual machine concerning the APIC drivers. This will require a couple of restarts to
fix.
30. Check the top tool bar. If you see an icon that looks like an orange warning light, click this
icon. If you do not see this icon you can skip the rest of this section of instructions.
The Automatic Bug Reporting Tool appears.
31. If the reported error is in the kernel and the problem seem to concern APIC, click Delete.
The error report disappears.
32. From the Report menu, select Quit.
The Automatic Bug Reporting Tool disappears.
33. From the System menu, select Shut Down and then click Shut Down.
The VirtualBox Manager appears.
34. Right-click the NetApps_VM and select Settings.
The Settings screen appears with the General panel selected.
35. In the left-hand list of settings, select System.
The System panel appears with the Motherboard tab selected.
36. Deselect Enable I/O APIC and click OK.
37. Start the NetApps_VM and log in as oracle.
38. Open the Automatic Bug Reporting Tool again and remove the report concerning APIC.
39. Shut down the VM.
40. Open the Settings for the VM and enable I/O APIC again.
Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Importing and Configuring the Virtual Machine


Chapter 1 - Page 9
41. Start the VM again and log in as oracle.
The error should now be gone.

Installing VirtualBox Guest Additions


The VirtualBox Guest Additions will make the virtual machine window behave more like a
normal windows program. For example, you will be able to maximize the virtual machine
window and use the mouse to switch to other running windows programs.
42. From the Devices menu, select Insert Guest Additions CD image.
The image is mounted and a dialog appears.
43. Click Run.
The Authentication Required dialog appears.
44. In the Password field, enter PwdOra123 and click Authenticate.
A terminal window appears and the guest additions are built.
45. Press Return.

Rebooting the Virtual Machine


46. In the top right-hand corner, click the menu arrow and then click the power off icon.
The Power Off dialog appears.
47. Click Restart.
The system restarts.
48. Log in as oracle.
Notice that you can now resize the VM window and seamlessly switch between the VM
desktop and the host system.

Cleaning Up
49. Right-click the DVD icon on the desktop and select Eject.
The DVD icon disappears.
50. In the top right-hand corner, click the menu arrow and then click the power off icon.
The Power Off dialog appears.
51. Click Power Off.
The system shuts down.

Summary
You have now

Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Importing and Configuring the Virtual Machine


Chapter 1 - Page 10

You might also like