Using VirtualBox ACHOTL1 Virtual Machines



Similar documents
ECT362 Installing Linux Virtual Machine in KL322

ODP REGIONAL NODE DEPLOYMENT QUICK GUIDE FOR TRAININGS

Signiant Agent installation

HP SDN VM and Ubuntu Setup

WA2192 Introduction to Big Data and NoSQL. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Quick Deployment Step-by-step instructions to deploy Oracle Big Data Lite Virtual Machine

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Guest PC. for Mac OS X. User Guide. Version 1.6. Copyright Lismore Software Systems, Ltd. All rights reserved.

Installing Proview on an Windows XP machine

VMware Horizon FLEX User Guide

UBUNTU VIRTUAL MACHINE + CAFFE MACHINE LEARNING LIBRARY SETUP TUTORIAL

Download Virtualization Software Download a Linux-based OS Creating a Virtual Machine using VirtualBox: VM name

Installing Sun's VirtualBox on Windows XP and setting up an Ubuntu VM

Personal Virtual Server (PVS) Quick Start Guide

CommandCenter Secure Gateway

VMware Horizon FLEX User Guide

Quick Start Guide for Parallels Virtuozzo

Installing Oracle 12c Enterprise on Windows 7 64-Bit

User Manual. User Manual Version

Appendix B Lab Setup Guide

Create a virtual machine at your assigned virtual server. Use the following specs

Comodo MyDLP Software Version 2.0. Installation Guide Guide Version Comodo Security Solutions 1255 Broad Street Clifton, NJ 07013

Quick Start Guide for VMware and Windows 7

QUANTIFY INSTALLATION GUIDE

Linux Development Environment Description Based on VirtualBox Structure

Getting Started with ESXi Embedded

Rally Installation Guide

Student installation of TinyOS

Local Caching Servers (LCS): User Manual

Building a Penetration Testing Virtual Computer Laboratory

SevOne NMS Download Installation and Implementation Guide

AT-UWC Wireless LAN Controller. Installation Guide. Software Version

Download and Install the Citrix Receiver for Mac/Linux

Deploying Windows Streaming Media Servers NLB Cluster and metasan

F-Secure Internet Gatekeeper Virtual Appliance

Installing and Configuring vcenter Support Assistant

Installing Novell Client Software (Windows 95/98)

1. Set Daylight Savings Time Create Migrator Account Assign Migrator Account to Administrator group... 4

Quick Start Guide. Citrix XenServer Hypervisor. Server Mode (Single-Interface Deployment) Before You Begin SUMMARY OF TASKS

Secure Browser Installation Manual

AzMERIT Secure Browser Installation Manual For Technology Coordinators

Installing and Configuring vcloud Connector

MiraCosta College now offers two ways to access your student virtual desktop.

VIRTUAL NETWORKING WITH "ORACLE VM VIRTUALBOX" FROM A "LINUX" PERSPECTIVE

Step 1 - Change VMware to use the same subnet in the labs /24

The VHD is separated into a series of WinRar files; they can be downloaded from the following page:

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

NOC PS manual. Copyright Maxnet All rights reserved. Page 1/45 NOC-PS Manuel EN version 1.3

Penetration Testing LAB Setup Guide

How to install Radiance on your computer via a virtual machine

WA2102 Web Application Programming with Java EE 6 - WebSphere RAD 8.5. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

Semantic based Web Application Firewall (SWAF - V 1.6)

In order to upload a VM you need to have a VM image in one of the following formats:

Crystal Reports Installation Guide

1. Install a Virtual Machine Download Ubuntu Ubuntu LTS Create a New Virtual Machine... 2

VMware Horizon FLEX User Guide

Instructions for Adding a MacOS 10.4.x Server to ASURITE for File Sharing. Installation Section

Field Installation Guide

WA1791 Designing and Developing Secure Web Services. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc. 1

Operating System Installation Guidelines

Parallels Desktop for Mac

Backup & Disaster Recovery Appliance User Guide

PowerPanel Business Edition Installation Guide

WINDOWS 64-BIT INSTALLATION NOTES ORACLE VIRTUALBOX Micro Planner X-Pert V3.5.1 Digital Download Edition

WhatsUp Gold v16.1 Installation and Configuration Guide

Global VPN Client Getting Started Guide

MAC OSX INSTALLATION NOTES ORACLE VIRTUALBOX Micro Planner X-Pert V3.5.1 Digital Download Edition

FTP Over SSL (FTPS) Core FTP LE. Installing Core FTP LE"

VRC 7900/8900 Avalanche Enabler User s Manual

WatchGuard Dimension v1.1 Update 1 Release Notes

Installing the VMware Horizon View Client to Access Hoag Virtual Desktops

Installing and Configuring vcloud Connector

FROM A "WINDOWS" PERSPECTIVE

13.1 Backup virtual machines running on VMware ESXi / ESX Server

1. Downloading. 2. Installation and License Acquiring. Xilinx ISE Webpack + Project Setup Instructions

Print Server Application Guide. This guide applies to the following models.

How to install/upgrade the LANDesk virtual Cloud service appliance (CSA)

CommandCenter Secure Gateway

Deployment Guide: Transparent Mode

Trial environment setup. Exchange Server Archiver - 3.0

Introduction. Installation of SE S AM E BARCODE virtual machine distribution. (Windows / Mac / Linux)

An Oracle White Paper July Oracle VM 3: Building a Demo Environment using Oracle VM VirtualBox

Changing Your Cameleon Server IP

vrealize Air Compliance OVA Installation and Deployment Guide

If you re not using Citrix XenCenter 6.0, your screens may vary. Required Virtual Interface Maps to... mgmt0. virtual network = mgmt0 wan0

USING THE DNS/DHCP ADMINISTRATIVE INTERFACE Last Updated:

Virtual machine W4M- Galaxy: Installation guide

1. Install a Virtual Machine Download Ubuntu Ubuntu LTS Create a New Virtual Machine... 2

Plexxi Control Installation Guide Release 2.1.0

Installing the Microsoft Network Driver Interface

VMware for Bosch VMS. en Software Manual

(1) Network Camera

VMware vcenter Support Assistant 5.1.1

Verax Service Desk Installation Guide for UNIX and Windows

VELOCITY. Quick Start Guide. Citrix XenServer Hypervisor. Server Mode (Single-Interface Deployment) Before You Begin SUMMARY OF TASKS

ReadyNAS Duo Setup Manual

NAS 249 Virtual Machine Configuration with VirtualBox

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

Getting Started With Parallels Desktop 8

Installation Instruction STATISTICA Enterprise Small Business

Transcription:

Using VirtualBox ACHOTL1 Virtual Machines The steps in the Apache Cassandra Hands-On Training Level One courseware book were written using VMware as the virtualization technology. Therefore, it is recommended to use VMware Player to do the hands-on exercises in the book. For people who prefer to instead use VirtualBox (e.g. people who are on a Macintosh and don't want to purchase VMware Fusion to use it past the 30-day trial), this document (which provides replacement steps for VirtualBox), along with the accompanying ACHOTL1 VirtualBox virtual machines at http://www.ruthstryker.com/books/achotl1, have been provided. VB-1

Replacement Steps If using VirtualBox instead of VMware, the following are the steps to replace in the ACHOTL1 courseware book. Replacement steps are for Unit 1 (pages 1-8 to 1-9), Unit 12 (pages 12-3 to 12-12, 12-23, 12-32 to 12-34, 12-39), Unit 14 (page 14-5), Unit 15 (pages 15-7, 15-14), Unit 16 (pages 16-3 to 16-5), Appendix C (pages C-2, C-7 to C-10), and Appendix D (pages D-2 to D-5, D-8, D-12 to D-15, D17, D19). Note: For student computer setup instructions, see Appendix C in the courseware book and the Appendix C replacement steps in this document. Unit 1: Understanding What Cassandra is For Pages 1-8 to 1-9, steps 1-4 Replace steps 1-4 with these steps: 1. In the achotl1 (apache cassandra hands-on training level one) folder on your desktop, locate and double-click the achotl1_vm1_64-bit.ova file, to import the main virtual machine for the course into VirtualBox. 2. In the Appliance settings screen, select the checkbox for Reinitialize the MAC address of all network cards: 3. Click the Import button. VB-2

4. Once the importing is done, notice that the virtual machine is now available: 5. Click the Start button, to start the virtual machine. 6. See that the login screen for the virtual machine displays: 7. For Password, enter ubuntu. 8. Notice that you are now in the course virtual machine, which uses Ubuntu as the operating system. (Ubuntu is a popular Linux distribution, common for running Cassandra.) Return to the book, page 1-9, step 4 VB-3

Unit 12: Adding Nodes to a Cluster Pages 12-3 to 12-4, steps 1-12 Replace steps 1-12 with these steps: 1. In the achotl1 folder on your desktop, double-click the achotl1_vmx_64-bit.ova file, to import the second virtual machine into VirtualBox. 2. In the Appliance settings screen, select the checkbox for Reinitialize the MAC address of all network cards: 3. Click the Import button. 4. See that the virtual machine has been imported: VB-4

5. With the new virtual machine highlighted, select Machine Clone, to create a clone of vmx, for vm2. (We later clone this virtual machine again, to create vm3 and vm4.) 6. In the New machine name screen, enter achotl1_vm2_64-bit and select the checkbox for Reinitialize the MAC address of all network cards: 7. Click the Continue button. 8. In the Clone type screen, leave Full Clone selected and click the Clone button. 9. See that the vm2 virtual machine now exists: 10. Select Start, to start achotl1_vm2_64-bit. 11. For Password, enter ubuntu. 12. See that the name of the virtual machine is achotl1_vm2_64-bit: Return to the book, page 12-4, step 12 VB-5

Page 12-5 Replace the "Working with the Course Virtual Machines" and "Defining Status IP Addresses" paragraphs with: By default, the course virtual machines created with VirtualBox use the network connectivity of the host computer (i.e. your computer) to connect externally (e.g. to www.google.com) and have a static IP address of 10.0.2.15. So that the virtual machines can communicate with each other, still have Internet access, and be used in a Cassandra cluster (each node needs to have a unique IP address to be in a Cassandra cluster), VirtualBox host-only adapters and unique static IP addresses can be assigned to the virtual machines. Pages 12-6 to 12-12, steps 1-47 Replace steps 1-47 with these steps Check that a host-only network exists in VirtualBox: 1. In the Oracle VM VirtualBox Manager window, select VirtualBox Preferences. Windows users: select File Preferences. 2. Select the Network category. 3. Select Host-only Networks. 4. See if a host-only network already exists (e.g. vboxnet0 or VirtualBox Host-Only Ethernet Adapter): VB-6

5. If a host-only network does not already exist, create one by clicking the Add host-only network (Ins) icon: 6. Double-click the name of the new (or existing) host-only network, to view the defaults for Adapter and DHCP Server. 7. Notice the 192.168.56.x IP address in the Adapter settings: 8. Notice the 192.168.56.x IP addresses in the DHCP Server settings: 9. Click the Cancel button, to close the settings window. 10. Click the OK button, to close the VirtualBox preferences window. VB-7

Specify host-only network adapters for vm1 and vm2: 11. In vm1, close Firefox, close Eclipse, exit cqlsh, flush Cassandra (bin/nodetool flush), stop Cassandra (Ctrl-C), and close all windows. 12. Select Machine ACPI Shutdown. 13. Click the Shut Down button. 14. In vm2, close all windows and select Machine ACPI Shutdown. 15. Click the Shut Down button. 16. In the Oracle VM VirtualBox Manager window, select achotl1_vm1_64-bit. 17. In the settings categories on the right, click the Network heading, to edit the network settings for the virtual machine: 18. For Adapter 1, notice that NAT is already selected: 19. Select Adapter 2. 20. Select the checkbox for Enable Network Adapter. VB-8

21. In the Attached to drop-down list, select Host-only Adapter, so the virtual machine will be able to communicate with other virtual machines on the same host: 22. See that the host-only network is listed in the Name field (e.g. vboxnet0 if your computer is a Macintosh, or VirtualBox Host-only Ethernet Adapter if you are using Windows). 23. Click the OK button. 24. Notice the two adapters listed for the virtual machine: 25. Repeat steps 16-24 for achotl1_vm2_64-bit. Specify static IP addresses for vm1 and vm2: 26. Select achotl1_vm1_64-bit and click Start, to start vm1. 27. In the upper-right corner, under the gear icon, select System Settings : 28. Click the Network icon. 29. Click the Options button. VB-9

30. Select the IPv4 Settings tab: 31. For Method, select Manual: 32. In the Addresses, section, click the Add button: 33. For Address, follow the convention of your host-only network to enter an IP address like 192.168.56.101. 34. For Netmask, use the mask listed in the settings of your host-only network, e.g. 255.255.255.0. 35. For Gateway, enter a gateway appropriate for the host-only network, e.g. 192.168.56.1. 36. For DNS servers, enter an address appropriate for the host-only network, e.g. 192.168.56.1: 37. Click the Save button. 38. If a dialog box with an error message appears, click the Continue button. VB-10

39. Notice your new settings in the Network window: Note: If the new settings are not displayed, click again on Wired, on the left. 40. Close the Network window. 41. Select Machine ACPI Shutdown, and then click the Restart button, to restart the virtual machine. 42. Once the virtual machine has restarted, open Firefox to see that you still have Internet access: 43. Repeat steps 26-42 to define a static IP address (e.g. 192.168.56.102), netmask (e.g. 255.255.255.0), gateway (e.g. 192.168.56.1), and DNS server (e.g. 192.168.56.1) for achotl1_vm2_64-bit. VB-11

44. In vm1, in a Terminal window, enter ifconfig to see the static IP address you set up: 45. In vm2, in a Terminal window, enter ifconfig to see the static IP address you set up: 46. In vm2, ping vm1: VB-12

47. Press Ctrl-C to stop pinging. 48. In vm1, ping vm2: 49. Press Ctrl-C to stop pinging. Make the hostnames unique and known: 50. In vm1, enter sudo vim /etc/hostname, to be able to edit the hostname for the virtual machine. 51. If prompted for the sudo password, enter ubuntu. 52. Notice that the hostname is vm1: 53. Press Esc and enter :q to exit. 54. In vm2, enter sudo vim /etc/hostname, to be able to edit the hostname for the virtual machine. 55. If prompted for the sudo password, enter ubuntu. 56. Press i to be able to edit the file. 57. Change the hostname to vm2: 58. Press Esc and enter :wq to save and exit. 59. In vm1, enter sudo vim /etc/hosts to access the list of hosts. 60. Press i to be able to edit the file. VB-13

61. Add the following entries to the list, substituting in your IP addresses for vm1, vm2, vm3, and vm4 (can copy from achotl1/class_files/unit12/ex02.txt, substituting in your IP addresses): 62. Press Esc and enter :wq to save and exit. 63. Close the terminal window and restart the virtual machine. 64. In vm2, enter sudo vim /etc/hosts to access the list of hosts. 65. Press i to be able to edit the file. 66. Add the following entries to the list, substituting in your IP addresses for vm1, vm2, vm3, and vm4 (can copy from achotl1/class_files/unit12/ex02.txt, substituting in your IP addresses): 67. Press Esc and enter :wq to save and exit. 68. Close the terminal window and restart the virtual machine. VB-14

69. Ping vm1 by name from vm2: 70. Ping vm2 by name from vm1: Return to the book, page 12-12, step 47 Pages 12-23, step 1 Replace step 1 with this step: 1. In a terminal window on vm1, in the directory where Cassandra is installed, run the following command, substituting in your vm1 IP address, to delete any data on vm1 that vm1 is no longer responsible for: bin/nodetool -h 192.168.56.101 cleanup VB-15

Pages 12-32 to 12-38, steps 1-65 Replace steps 1-65 with these steps: 1. In the Oracle VM VirtualBox Manager window, highlight achotl1_vmx_64-bit and select Machine Clone. 2. In the New machine name screen, enter achotl1_vm3_64-bit and select the checkbox for Reinitialize the MAC address of all network cards. 3. Click the Continue button. 4. In the Clone type screen, leave Full Clone selected and click the Clone button. 5. See that the vm3 virtual machine now exists: 6. With achotl1_vm3_64-bit selected, click the Network heading in the settings area on the right, to edit the network settings for the virtual machine. 7. For Adapter 1, notice that NAT is already selected. 8. Select Adapter 2. 9. Select the checkbox for Enable Network Adapter. 10. In the Attached to drop-down list, select Host-only Adapter: 11. See that the host-only network is listed in the Name field (e.g. vboxnet0 if your computer is a Macintosh, or VirtualBox Host-only Ethernet Adapter if you are using Windows). VB-16

12. Click the OK button. 13. Notice the two adapters listed for the virtual machine: 14. Click the Start button, to start vm3. 15. In the upper-right corner, under the gear icon, select System Settings : 16. Click the Network icon. 17. Click the Options button. 18. Select the IPv4 Settings tab: 19. For Method, select Manual: 20. In the Addresses, section, click the Add button. 21. For Address, follow the convention of your host-only network to enter an IP address like 192.168.56.103. 22. For Netmask, use the mask listed in the settings of your host-only network, e.g. 255.255.255.0. 23. For Gateway, enter a gateway appropriate for the host-only network, e.g. 192.168.56.1. 24. For DNS servers, enter an address appropriate for the host-only network, e.g. 192.168.56.1: VB-17

25. Click the Save button. 26. If a dialog box with an error message appears, click the Continue button. 27. Notice your new settings in the Network window: Note: If the new settings are not displayed, click again on Wired, on the left. 28. Close the Network window. 29. Select Machine ACPI Shutdown, and then click the Restart button, to restart the virtual machine. 30. Once the virtual machine has restarted, open Firefox to see that you still have Internet access. 31. In vm1, in a Terminal window, enter ifconfig to see the static IP address you set up: VB-18

32. In vm3, ping vm1: 33. Press Ctrl-C to stop pinging. 34. In vm1, ping vm3: 35. Press Ctrl-C to stop pinging. Make the hostname unique and known: 36. In vm3, enter sudo vim /etc/hostname, to be able to edit the hostname for the virtual machine. 37. If prompted for the sudo password, enter ubuntu. 38. Press i to be able to edit the file. 39. Change the hostname to vm3: 40. Press Esc and enter :wq to save and exit. 41. In vm3, enter sudo vim /etc/hosts to access the list of hosts. 42. Press i to be able to edit the file. VB-19

43. Add the following entries to the list, substituting in your IP addresses for vm1, vm2, vm3, and vm4 (can copy from achotl1/class_files/unit12/ex02.txt, substituting in your IP addresses): 44. Press Esc and enter :wq to save and exit. 45. Close the terminal window and restart the virtual machine. 46. Ping vm3 by name from vm2: 47. Press Ctrl-C to stop pinging. Return to the book, page 12-35, step 32 VB-20

Pages 12-39, steps 1-5 Replace steps 1-5 with these steps: 1. Clone achotl1_vmx_64-bit to create a virtual machine named achotl1_vm3_64-bit. 2. Add a Host-only Adapter to the virtual machine. 3. See the two adapters now listed for the virtual machine: 4. Start vm3. 5. Using the System Settings in the virtual machine, specify a static IP address for the virtual machine, similar to vm1 and vm2, defining an IP address like 192.168.56.103. 6. Restart the virtual machine and use ifconfig to check that vm3 has a static IP address like 192.168.56.103. Return to the book, page 12-39, step 5 VB-21

Unit 14: Repairing Nodes Page 14-5, step 1 Replace step 1 with this step: 1. In a terminal window in vm1, in the directory where Cassandra is installed, enter bin/nodetool -h 192.168.159.101 repair home_security, substituting in the IP address for your vm1, to repair the vm1 Cassandra node. Unit 15: Removing a Node Page 15-7, step 12 Replace step 12 with this step: 1. In a terminal window in vm1, in the directory where Cassandra is installed, enter bin/nodetool cleanup or bin/nodetool -h 192.168.159.101 -p 7199 cleanup to cleanup the vm1 node. Page 15-14, step 10 Replace step 10 with this step: 1. In a terminal window in vm1, in the directory where Cassandra is installed, enter bin/nodetool cleanup or bin/nodetool -h 192.168.159.101 -p 7199 cleanup to cleanup the vm1 node. VB-22

Unit 16: Redefining a Cluster for Multiple Data Centers Pages 16-3 to 16-5, steps 1-27 Replace steps 1-27 with these steps: 1. In the Oracle VM VirtualBox Manager window, highlight achotl1_vmx_64-bit and select Machine Clone. 2. In the New machine name screen, enter achotl1_vm4_64-bit and select the checkbox for Reinitialize the MAC address of all network cards. 3. Click the Continue button. 4. In the Clone type screen, leave Full Clone selected and click the Clone button. 5. See that the vm4 virtual machine now exists. 6. With achotl1_vm4_64-bit selected, click the Network heading in the settings area on the right, to edit the network settings for the virtual machine. 7. For Adapter 1, notice that NAT is already selected. 8. Select Adapter 2. 9. Select the checkbox for Enable Network Adapter. 10. In the Attached to drop-down list, select Host-only Adapter. 11. See that the host-only network is listed in the Name field (e.g. vboxnet0 if your computer is a Macintosh, or VirtualBox Host-only Ethernet Adapter if you are using Windows). 12. Click the OK button. 13. Notice the two adapters listed for the virtual machine: 14. Click the Start button, to start vm4. 15. In the upper-right corner, under the gear icon, select System Settings : 16. Click the Network icon. 17. Click the Options button. 18. Select the IPv4 Settings tab. VB-23

19. For Method, select Manual: 20. In the Addresses, section, click the Add button. 21. For Address, follow the convention of your host-only network to enter an IP address like 192.168.56.104. 22. For Netmask, use the mask listed in the settings of your host-only network, e.g. 255.255.255.0. 23. For Gateway, enter a gateway appropriate for the host-only network, e.g. 192.168.56.1. 24. For DNS servers, enter an address appropriate for the host-only network, e.g. 192.168.56.1. 25. Click the Save button. 26. If a dialog box with an error message appears, click the Continue button. 27. Notice your new settings in the Network window: Note: If the new settings are not displayed, click again on Wired, on the left. 28. Close the Network window. 29. Select Machine ACPI Shutdown, and then click the Restart button, to restart the virtual machine. Return to the book, page 16-5, step 27 VB-24

Appendix C: Setting Up the Student Computers Page C-2 Instead of VMware Player, you acquire VirtualBox, available for download from https://www.virtualbox.org/wiki/downloads. Page C-7 and Page C-8 step 3 You scroll down the web page at http://www.ruthstryker.com/books/achotl1 to see the ACHOTL1 virtual machines for VirtualBox: Pages C-9 to C-10, steps 3-14 Replace steps 3-14 with these steps: 1. Scroll down to locate the achotl1_vm1_64-bit.ova and achotl1_vmx_64-bit.ova links for the VirtualBox virtual machines: 2. Right-click the achotl1_vm1_64-bit.ova link, to select Download Linked File As... (or equivalent in your browser, such as Save Target As ). 3. In the dialog box that appears, select the desktop achotl1 folder as the save destination. VB-25

4. Click the Save button, to start downloading the file to the achotl1 folder. 5. Once the file has finished downloading, see that it is in the achotl1 folder on the desktop: 6. Repeat to also download the achotl1_vmx_64-bit.ova file to the achotl1 folder: Check that the latest version of VirtualBox is installed and set up on the student computer: 7. In the achotl1 folder, double-click the achotl1_vm1_64-bit.ova file, to check that it opens in VirtualBox. 8. In the Appliance settings screen, select the checkbox for Reinitialize the MAC address of all network cards. 9. Click the Import button. VB-26

10. Once the importing is done, notice that the virtual machine is now available: 11. Click the Start button, to start the virtual machine. 12. See that the login screen for the virtual machine displays: 13. In the upper-right corner of the virtual machine, click the power icon and then select Shut Down.: VB-27

14. In the dialog box that appears, click the Shut Down button: 15. Click the OK button, to shut down the virtual machine. 16. In the Oracle VM VirtualBox Manager window, right-click on achotl1_vm1_64- bit and select Remove. 17. Click the Delete all files button. 18. Close VirtualBox. Return to the book, page C-10, step 14 Page C-12, step 5 Replace step 5 with this step: 1. Once the file has finished downloading, see that it is in the achotl1 folder: VB-28

Page C-13, step 7 Replace step 7 with this step: 1. See that the class_files folder now exists: Page C-14, step 11 Replace step 11 with this step: 1. Check the contents of the achotl1 folder, ready for the start of class: VB-29

Appendix D: How the Course Virtual Machines Were Built Page D-2, steps 1-3 Replace steps 1-3 with these steps: 1. Acquired VirtualBox (to be able to create a virtual machine). 2. Acquired Ubuntu ISO disk image (to have an operating system for a virtual machine). 3. Created a virtual machine using VirtualBox. 4. Specified the Ubuntu ISO disk image while starting the virtual machine. Pages D-3 to D-5, steps 1-28 Replace steps 1-28 with these steps: 5. Downloaded VirtualBox from https://www.virtualbox.org/wiki/downloads. 6. Installed VirtualBox. 7. Downloaded Ubuntu ISO file (64-bit Ubuntu 12.04 LTS used) from http://www.ubuntu.com/download/desktop. Created a virtual machine in VirtualBox: 8. In VirtualBox, selected Machine New. 9. For Name, entered achotl1_vm1_64-bit_start. 10. For Type, selected Linux. 11. For Version, selected Ubuntu (64 bit). 12. Clicked the Continue button. 13. For Memory size, entered 1536 MB. 14. Clicked the Continue button. VB-30

15. For Hard drive, left Create a virtual hard drive now selected: 16. Clicked the Create button. 17. In the Hard drive file type screen, left VDI (VirtualBox Disk Image) selected and clicked the Continue button. 18. In the Storage on physical hard drive screen, left Dynamically allocated selected and clicked the Continue button. 19. In the File location and size screen, changed the size to 10.0 GB. 20. Clicked the Create button. 21. Noticed the new virtual machine: VB-31

22. Clicked on the Start button, to start the virtual machine. 23. In the dialog box, clicked the folder icon and navigated to the previously downloaded Ubuntu ISO disk image, to select it: 24. Clicked the Start button. 25. In the Welcome window, clicked the Install Ubuntu button: 26. Clicked the Continue button. VB-32

27. In the Installation type screen, left Erase disk and install Ubuntu selected. 28. Clicked the Continue button. 29. Clicked the Install Now button. 30. In the Where are you screen, left London selected and clicked the Continue button. 31. In the Keyboard layout screen, selected English (US) and clicked the Continue button. 32. In the Who are you screen, entered vm1 for Your name, Your computer's name, and Pick a username. 33. Entered ubuntu for Choose a password and Confirm your password: 34. Clicked the Continue button. 35. Waited for Ubuntu to install on the virtual machine's disk. 36. When prompted, clicked the Restart Now button: VB-33

37. In the startup window, pressed the Enter key: 38. When prompted, entered ubuntu for Password: VB-34

Set up copy and paste, drag and drop, and auto-resize for virtual machine: 39. Selected Devices Insert Guest Additions CD image. 40. Clicked the Run button. 41. When prompted for a password, entered ubuntu and clicked the Authenticate button. 42. Watched the Guest Additions module install. 43. When prompted, pressed the Return key (or the Enter key). 44. Selected Devices Shared Clipboard Bidirectional. 45. Selected Devices Drag'n'Drop Bidirectional. 46. Restarted the virtual machine, by selecting Machine ACPI Shutdown and clicking the Restart button: 47. Noticed that the virtual machine window is now auto-resized. Return to the book, page D-5, step 28 Page D-8, step 62 Replace step 62 with this step: 1. Restarted the virtual machine, by selecting Machine ACPI Shutdown and clicking the Restart button. VB-35

Page D-12, steps 116-121 Replace steps 116-121 with these steps: 1. Shut down the virtual machine by selecting Machine ACPI Shutdown, and then clicking the Shut Down button. 2. With the virtual machine selected in the Oracle VM VirtualBox Manager window, selected Machine Clone. 3. For name, entered achotl1_vm1_64-bit. 4. Clicked the Continue button. 5. In the Clone type screen, left Full clone selected and clicked the Clone button. 6. Right-clicked on achotl1_vm1_64-bit_start, to select Remove. 7. Clicked the Delete all files button. 8. With achotl1_vm1_64-bit selected, selected File Export Appliance. 9. Clicked the Continue button. 10. Clicked the Continue button again. 11. Clicked the Export button. 12. Waited for the.ova file to be generated. 13. Selected VirtualBox Quit VirtualBox. 14. Located the exported achotl1_vm1_64-bit.ova file (if on a Macintosh, in the Users/username/Documents folder by default), for distribution. Return to the book, page D-12, step 121 Page D-13, step 1 Replace step 1 with these steps: 1. Used VirtualBox to create a virtual machine that uses Ubuntu ISO disk image. VB-36

Pages D-14 to D-15, steps 1-26 Replace steps 1-26 with the following Created a virtual machine in VirtualBox, that uses the Ubuntu ISO file: 1. In VirtualBox, selected Machine New. 2. For Name, entered achotl1_vmx_64-bit_start. 3. For Type, selected Linux. 4. For Version, selected Ubuntu (64 bit). 5. Clicked the Continue button. 6. For Memory size, entered 1536 MB. 7. Clicked the Continue button. 8. For Hard drive, left Create a virtual hard drive now selected. 9. Clicked the Create button. 10. In the Hard drive file type screen, left VDI (VirtualBox Disk Image) selected and clicked the Continue button. 11. In the Storage on physical hard drive screen, left Dynamically allocated selected and clicked the Continue button. 12. In the File location and size screen, changed the size to 10.0 GB. 13. Clicked the Create button. 14. Noticed the new virtual machine: 15. Clicked on the Start button, to start the virtual machine. 16. In the dialog box, clicked the folder icon and navigated to the previously downloaded Ubuntu ISO disk image, to select it. 17. Clicked the Start button. 18. In the Welcome window, clicked the Install Ubuntu button. VB-37

19. Clicked the Continue button. 20. In the Installation type screen, left Erase disk and install Ubuntu selected. 21. Clicked the Continue button. 22. Clicked the Install Now button. 23. In the Where are you screen, left London selected and clicked the Continue button. 24. In the Keyboard layout screen, selected English (US) and clicked the Continue button. 25. In the Who are you screen, entered vmx for Your name, Your computer's name, and Pick a username. 26. Entered ubuntu for Choose a password and Confirm your password. 27. Clicked the Continue button. 28. Waited for Ubuntu to install on the virtual machine's disk. 29. When prompted, clicked the Restart Now button: 30. In the startup window, pressed the Enter key when prompted. 31. When prompted, entered ubuntu for Password. Set up copy and paste, drag and drop, and auto-resize for virtual machine: 32. Selected Devices Insert Guest Additions CD image. 33. Clicked the Run button. 34. When prompted for a password, entered ubuntu and clicked the Authenticate button. 35. Watched the Guest Additions module install. 36. When prompted, pressed the Return key (or the Enter key). 37. Selected Devices Shared Clipboard Bidirectional. 38. Selected Devices Drag'n'Drop Bidirectional. VB-38

39. Restarted the virtual machine, by selecting Machine ACPI Shutdown and clicking the Restart button. 40. Noticed that the virtual machine window is now auto-resized. 41. Logged in with the password of ubuntu. Return to the book, page D-15, step 26 Page D-17, steps 55-56 Replace steps 55-56 with this step: 1. Closed all windows, selected Machine ACPI Shutdown, and clicked the Restart button, to restart the virtual machine. Page D-19, steps 81-86 Replace steps 81-86 with these steps: 1. Closed all of the open windows in the virtual machine. 2. Shut down the virtual machine by selecting Machine ACPI Shutdown, and then clicking the Shut Down button. 3. With the virtual machine selected in the Oracle VM VirtualBox Manager window, selected Machine Clone. 4. For name, entered achotl1_vmx_64-bit. 5. Clicked the Continue button. 6. In the Clone type screen, left Full clone selected and clicked the Clone button. 7. Right-clicked on achotl1_vmx_64-bit_start, to select Remove. 8. Clicked the Delete all files button. 9. With achotl1_vmx_64-bit selected, selected File Export Appliance. 10. Clicked the Continue button. 11. Clicked the Continue button again. 12. Clicked the Export button. 13. Waited for the.ova file to be generated. VB-39

14. Selected VirtualBox Quit VirtualBox. 15. Located the exported achotl1_vmx_64-bit.ova file (if on a Macintosh, in the Users/username/Documents folder by default), for distribution. VB-40