UserManual-VirtualBox.pdf
(
3779 KB
)
Pobierz
Sun VirtualBox User Manual
Sun VirtualBox
R
User Manual
Version 3.1.6
c
2004-2010 Sun Microsystems, Inc.
http://www.virtualbox.org
Contents
1 First steps
10
1.1 Why is virtualization useful?
. . . . . . . . . . . . . . . . . . . . . . . . 11
1.2 Some terminology
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.3 Features overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.4 Supported host operating systems
. . . . . . . . . . . . . . . . . . . . . 15
1.5 Installing and starting VirtualBox
. . . . . . . . . . . . . . . . . . . . . . 16
1.6 Creating your first virtual machine
. . . . . . . . . . . . . . . . . . . . . 18
1.7 Running your virtual machine
. . . . . . . . . . . . . . . . . . . . . . . . 22
1.7.1 Keyboard and mouse support in virtual machines
. . . . . . . . . 22
1.7.2 Changing removable media
. . . . . . . . . . . . . . . . . . . . . 24
1.7.3 Saving the state of the machine
. . . . . . . . . . . . . . . . . . 25
1.8 Snapshots
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
1.9 Virtual machine configuration
. . . . . . . . . . . . . . . . . . . . . . . . 28
1.10 Deleting virtual machines
. . . . . . . . . . . . . . . . . . . . . . . . . . 30
1.11 Importing and exporting virtual machines
. . . . . . . . . . . . . . . . . 30
1.12 Alternative front-ends
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2 Installation details
33
2.1 Installing on Windows hosts
. . . . . . . . . . . . . . . . . . . . . . . . . 33
2.1.1 Prerequisites
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.1.2 Performing the installation
. . . . . . . . . . . . . . . . . . . . . 33
2.1.3 Uninstallation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.1.4 Unattended installation
. . . . . . . . . . . . . . . . . . . . . . . 34
2.2 Installing on Mac OS X hosts
. . . . . . . . . . . . . . . . . . . . . . . . 34
2.2.1 Performing the installation
. . . . . . . . . . . . . . . . . . . . . 34
2.2.2 Uninstallation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.2.3 Unattended installation
. . . . . . . . . . . . . . . . . . . . . . . 35
2.3 Installing on Linux hosts
. . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.3.1 Prerequisites
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.3.2 The VirtualBox kernel module
. . . . . . . . . . . . . . . . . . . 35
2.3.3 USB and advanced networking support
. . . . . . . . . . . . . . 37
2.3.4 Performing the installation
. . . . . . . . . . . . . . . . . . . . . 37
2.3.5 Starting VirtualBox on Linux
. . . . . . . . . . . . . . . . . . . . 42
2.4 Installing on Solaris hosts
. . . . . . . . . . . . . . . . . . . . . . . . . . 42
2.4.1 Performing the installation
. . . . . . . . . . . . . . . . . . . . . 42
2.4.2 Starting VirtualBox on Solaris
. . . . . . . . . . . . . . . . . . . 43
2.4.3 Uninstallation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
2
Contents
2.4.4 Unattended installation
. . . . . . . . . . . . . . . . . . . . . . . 43
2.4.5 Configuring a zone for running VirtualBox
. . . . . . . . . . . . 44
3 Configuring virtual machines
45
3.1 Supported guest operating systems
. . . . . . . . . . . . . . . . . . . . . 45
3.2 64-bit guests
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.3 General settings
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.3.1 “Basic” tab
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.3.2 “Advanced” tab
. . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.3.3 “Description” tab
. . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.4 System settings
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.4.1 “Motherboard” tab
. . . . . . . . . . . . . . . . . . . . . . . . . 48
3.4.2 “Processor” tab
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.4.3 “Acceleration” tab: hardware vs. software virtualization
. . . . . 50
3.5 Display settings
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
3.6 Storage settings
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
3.7 Audio settings
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.8 Network settings
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.9 Serial ports
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
3.10 USB support
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3.10.1 USB settings
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3.10.2 Implementation notes for Windows and Linux hosts
. . . . . . . 59
3.11 Shared folders
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
3.12 Alternative firmware (EFI)
. . . . . . . . . . . . . . . . . . . . . . . . . 59
4 Guest Additions
61
4.1 Introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
4.2 Versions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
4.3 Windows Guest Additions
. . . . . . . . . . . . . . . . . . . . . . . . . . 63
4.3.1 Installing the Windows Guest Additions
. . . . . . . . . . . . . . 63
4.3.2 Updating the Windows Guest Additions
. . . . . . . . . . . . . . 64
4.3.3 Unattended Installation
. . . . . . . . . . . . . . . . . . . . . . . 65
4.3.4 Manual file extraction
. . . . . . . . . . . . . . . . . . . . . . . . 65
4.3.5 Windows Vista networking
. . . . . . . . . . . . . . . . . . . . . 65
4.4 Linux Guest Additions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
4.4.1 Installing the Linux Guest Additions
. . . . . . . . . . . . . . . . 66
4.4.2 Video acceleration and high resolution graphics modes
. . . . . 68
4.4.3 Updating the Linux Guest Additions
. . . . . . . . . . . . . . . . 68
4.5 Solaris Guest Additions
. . . . . . . . . . . . . . . . . . . . . . . . . . . 68
4.5.1 Installing the Solaris Guest Additions
. . . . . . . . . . . . . . . 69
4.5.2 Uninstalling the Solaris Guest Additions
. . . . . . . . . . . . . . 69
4.5.3 Updating the Solaris Guest Additions
. . . . . . . . . . . . . . . 69
4.6 OS/2 Guest Additions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
4.7 Folder sharing
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
4.8 Seamless windows
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
3
Contents
4.9 Hardware 3D acceleration (OpenGL and Direct3D 8/9)
. . . . . . . . . 73
4.10 Hardware 2D video acceleration for Windows guests
. . . . . . . . . . . 74
4.11 Guest properties
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
5 Virtual storage
78
5.1 Hard disk controllers: IDE, SATA (AHCI), SCSI
. . . . . . . . . . . . . . 78
5.2 Disk image files (VDI, VMDK, VHD, HDD)
. . . . . . . . . . . . . . . . . 81
5.3 The Virtual Media Manager
. . . . . . . . . . . . . . . . . . . . . . . . . 82
5.4 Special image write modes
. . . . . . . . . . . . . . . . . . . . . . . . . 83
5.5 Differencing images
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
5.6 Cloning disk images
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
5.7 CD/DVD drive operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . 88
5.8 Writing CDs and DVDs using the host drive
. . . . . . . . . . . . . . . . 89
5.9 iSCSI servers
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
5.9.1 Access iSCSI targets via Internal Networking
. . . . . . . . . . . 90
6 Virtual networking
91
6.1 Virtual networking hardware
. . . . . . . . . . . . . . . . . . . . . . . . 91
6.2 Introduction to networking modes
. . . . . . . . . . . . . . . . . . . . . 92
6.3 Network Address Translation (NAT)
. . . . . . . . . . . . . . . . . . . . 93
6.3.1 Configuring port forwarding with NAT
. . . . . . . . . . . . . . . 94
6.3.2 PXE booting with NAT
. . . . . . . . . . . . . . . . . . . . . . . . 95
6.3.3 NAT limitations
. . . . . . . . . . . . . . . . . . . . . . . . . . . 95
6.4 Bridged networking
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
6.5 Internal networking
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
6.6 Host-only networking
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
7 Remote virtual machines
100
7.1 Remote display (VRDP support)
. . . . . . . . . . . . . . . . . . . . . . 100
7.1.1 Common third-party RDP viewers
. . . . . . . . . . . . . . . . . 100
7.1.2 VBoxHeadless, the VRDP-only server
. . . . . . . . . . . . . . . . 101
7.1.3 Step by step: creating a virtual machine on a headless server
. . 102
7.1.4 Remote USB
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
7.1.5 RDP authentication
. . . . . . . . . . . . . . . . . . . . . . . . . 104
7.1.6 RDP encryption
. . . . . . . . . . . . . . . . . . . . . . . . . . . 105
7.1.7 VRDP multiple connections
. . . . . . . . . . . . . . . . . . . . . 106
7.2 Teleporting
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
8 VBoxManage
108
8.1 Introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
8.2 Commands overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
8.3 VBoxManage list
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
8.4 VBoxManage showvminfo
. . . . . . . . . . . . . . . . . . . . . . . . . . 115
8.5 VBoxManage registervm / unregistervm
. . . . . . . . . . . . . . . . . . 117
8.6 VBoxManage createvm
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
4
Contents
8.7 VBoxManage modifyvm
. . . . . . . . . . . . . . . . . . . . . . . . . . . 118
8.7.1 General settings
. . . . . . . . . . . . . . . . . . . . . . . . . . . 118
8.7.2 Networking settings
. . . . . . . . . . . . . . . . . . . . . . . . . 120
8.7.3 Serial port, audio, clipboard, VRDP and USB settings
. . . . . . 121
8.7.4 Remote machine settings
. . . . . . . . . . . . . . . . . . . . . . 122
8.7.5 Teleporting settings
. . . . . . . . . . . . . . . . . . . . . . . . . 122
8.8 VBoxManage import
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
8.9 VBoxManage export
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
8.10 VBoxManage startvm
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
8.11 VBoxManage controlvm
. . . . . . . . . . . . . . . . . . . . . . . . . . . 125
8.12 VBoxManage discardstate
. . . . . . . . . . . . . . . . . . . . . . . . . . 127
8.13 VBoxManage snapshot
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
8.14 VBoxManage openmedium / closemedium
. . . . . . . . . . . . . . . . . 128
8.15 VBoxManage storagectl / storageattach
. . . . . . . . . . . . . . . . . . 128
8.15.1 VBoxManage storagectl
. . . . . . . . . . . . . . . . . . . . . . . 128
8.15.2 VBoxManage storageattach
. . . . . . . . . . . . . . . . . . . . . 129
8.16 VBoxManage showhdinfo
. . . . . . . . . . . . . . . . . . . . . . . . . . 130
8.17 VBoxManage createhd
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
8.18 VBoxManage modifyhd
. . . . . . . . . . . . . . . . . . . . . . . . . . . 131
8.19 VBoxManage clonehd
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
8.20 VBoxManage convertfromraw
. . . . . . . . . . . . . . . . . . . . . . . . 132
8.21 VBoxManage addiscsidisk
. . . . . . . . . . . . . . . . . . . . . . . . . . 133
8.22 VBoxManage getextradata/setextradata
. . . . . . . . . . . . . . . . . . 134
8.23 VBoxManage setproperty
. . . . . . . . . . . . . . . . . . . . . . . . . . 134
8.24 VBoxManage usbfilter add/modify/remove
. . . . . . . . . . . . . . . . 135
8.25 VBoxManage sharedfolder add/remove
. . . . . . . . . . . . . . . . . . 136
8.26 VBoxManage metrics
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
8.27 VBoxManage guestproperty
. . . . . . . . . . . . . . . . . . . . . . . . . 137
8.28 VBoxManage dhcpserver
. . . . . . . . . . . . . . . . . . . . . . . . . . . 138
9 Advanced topics
140
9.1 VirtualBox configuration data
. . . . . . . . . . . . . . . . . . . . . . . . 140
9.2 VBoxSDL, the simplified VM displayer
. . . . . . . . . . . . . . . . . . . 142
9.2.1 Introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
9.2.2 Secure labeling with VBoxSDL
. . . . . . . . . . . . . . . . . . . 143
9.2.3 Releasing modifiers with VBoxSDL on Linux
. . . . . . . . . . . 144
9.3 Advanced configuration for Windows guests
. . . . . . . . . . . . . . . . 144
9.3.1 Automated Windows guest logons
. . . . . . . . . . . . . . . . . 144
9.3.2 Automated Windows system preparation
. . . . . . . . . . . . . 145
9.4 Advanced display configuration
. . . . . . . . . . . . . . . . . . . . . . . 147
9.4.1 Custom VESA resolutions
. . . . . . . . . . . . . . . . . . . . . . 147
9.4.2 Multiple monitors for the guest
. . . . . . . . . . . . . . . . . . . 147
9.4.3 Configuring the maximum resolution of guests when using the
graphical frontend
. . . . . . . . . . . . . . . . . . . . . . . . . . 148
9.4.4 Custom external VRDP authentication
. . . . . . . . . . . . . . . 149
5
Plik z chomika:
almagra
Inne pliki z tego folderu:
UserManual-VirtualBox.pdf
(3779 KB)
VirtualBox-3.1.6-59338-Win.exe
(72546 KB)
Inne foldery tego chomika:
ABBYY FineReader Professional Edition v9.0.0.662.zip
Acronis_Disk_Director_Suite_10.0.2239
Adobe Acrobat 9 Pro Extended [PL.ENG]
Advanced PDF Password Recovery Professional v4.0
APPLE.MAC.OSX.LEOPARD.V10.5.ISO-OSX
Zgłoś jeśli
naruszono regulamin