VirtualBox detailed installation Tutorial (text) _virtualbox

Source: Internet
Author: User
Tags virtualbox download

1.Sun xVM VirtualBox Introduction

VirtualBox Official website: http://www.virtualbox.org

Download the latest version of Virtualbox:http://www.virtualbox.org/wiki/downloads

VirtualBox is a small, open source, high-performance cross-platform virtual machine software produced by Sun. I think a lot of friends will ask, VirtualBox compared to the old VMware, Microsoft VIRTUALPC performance?

The following is the comparison of the virtual machines, we can refer to: http://en.wikipedia.org/wiki/Comparison_of_virtual_machines

VirtualBox can run on Windows xp/vista, Linux, Mac OS X, Os/2warp, Solaris systems, support installation of DOS, Windows (3.x, NT 4.0, 2000, XP, Server2003, Vista, Server2008, Debian, SUSE, OpenSUSE, Ubuntu, Fedora, CentOS, RedHat, Gentoo, Mandriva, FreeBSD, OpenBSD, NetWare, Solaris and other series of client operating systems.

VirtualBox Features:

64-bit guests (on the bit hosts only)

Remote Desktop Protocol (RDP) control OFVM

ISCSI Support

NCQ support for SATA raw disks andpartitions

USB support, with remote devices over RDP

Snapshots

Seamless mode

Clipboard

Shared folders

Special drivers and utilities to facilitateswitching between systems

Command Line Interaction (in addition to Thegui)

Public APIs (Java, Python, SOAP, XPCOM) tocontrol VM configuration and execution [10]

Remote display (useful for headless hostmachines)

Nested Paging for Amd-v

VMware Virtual Machine Disk Format (VMDK) support-allows VirtualBox to use a disk image created

Microsoft VHD Support

Installation of 2.VirtualBox

Installation is very simple, basically all the way to enter on it.

Enable VirtualBox USB and network support

Basic settings for 3.VirtualBox

3.1 Language Settings

VirtualBox built-in English, Simplified Chinese (translation is really not flattering), traditional Chinese, Japanese, Korean and other languages, open VirtualBox main interface, select File--preferences (or press ctrl+g), choose your favorite language.

3.2 Virtual hard disk storage directory settings

Management--Global settings--general

3.3 Automatic Updates

Management--Global Settings--update, you can set VirtualBox Automatic Updates.

3.4 Hotkey Settings

When Auto Capturekeyboard is selected, all keyboard input is automatically captured and sent to the virtual computer when the Virtual Computer window is in state.

The following is an example of the VirtualBox 1.6.4 version to create the first virtual machine. Although the later version of the update has a slight change in the interface, but the basic is not big.

Set the virtual system's memory

Set up a virtual hard disk

Create a new virtual hard disk and go to the new Virtual Hard Drive wizard

Select virtual hard disk type


Set the name, location, and size of the virtual hard disk

When you are done, click Next to continue.

When confirmed, click "Finish"

Now you should see a virtual machine with the name XP01 and in the shutdown state.

The following is the installation of our first operating system and related settings.

Basic settings for virtual machines

Don't rush to press "Start", before installing system, make some basic setup to the virtual machine first. Select "Virtual Machine" and click "Settings"

General Options-Basic:

General Options-Advanced:

Hard Drive options

Optical drive Options

Click on the icon to enter the virtual Interface manager. Inside the virtual Interface Manager, you can create, register, delete, and release virtual disks, virtual discs, and virtual floppy disks.

Network options

VirtualBox the virtual machine can be set up to 4 network cards, network card models are:

1 AMD pcnet PCI II;

2 AMD pcnet FAST III (the default);

3) Intel pro/1000 MT Desktop;

4) Intel pro/1000 T Server.

VirtualBox the default choice of the network card model is pcnet FASTIII, because it is the best compatibility, most of the operating system has its driver support. Note, however, that Windows Vista has removed the AMD pcnet NIC driver, so if your virtual machine runs Vista, choose Intel pro/1000 instead of AMD PCnet (however, there are AMD in Guestaddtions PCnet network card driver).

The VirtualBox network connection method divides into four kinds:

1) not attached.

2) network address translation (NAT)

3) Host Interface Networking

4) Internal Networking

If you don't know what they mean, just set the following figure to NAT mode.

USB devices

This option allows your virtual machine to use the host's USB device, such as a removable hard disk attached to the host to be recognized by the virtual machine. Very good function.

Check "Enable USB controller", "USB 2.0 Controller". Selection of filters, click on the first icon, which is to match all USB devices.

Then, the master opportunity prompts to find VirtualBox USB new hardware, the direct next step can automatically follow the good driver.

As for the other options, let's not say, we set up the virtual machine CD-ROM, set the virtual machine boot sequence, the following start to install our first virtual system.

Start the virtual machine and start installing your virtual system.

If you go into the virtual Windows system, you find that the mouse is not coming out? Just click on the right Ctrl button.

Take a look at the top menu first.

The "seamless mode" and "No automatic capture of mouse" in the control menu are grayed out and cannot be used. Besides, what does host+f mean?

Host is your management--Global settings--the key set in the input (the default right ctrl), so host+f represents the combination of "rightcontrol+f".

Above is the "Device" menu, which can be assigned to the virtual machine CD-ROM, loading ISO, allocating USB devices.

Here is a very, very important step: please click on the "Install enhancements" below.

If your system is not turned off automatically, there should be one of these programs running automatically.

If the above screen does not appear, then you can go to my Computer--vboxadditions CD-ROM drive, manually run inside the VBOXGuestAdditions.exe, after installation, restart the virtual machine.

VirtualBox enhancements include:

1. Seamless mode (seamless windows)

2. Better display effect (better resolution, stretch the Virtual machine window when the screen automatically adapts)

3. Virtual machine share folder with host, allocate data space (shared folders)

4. Virtual machine and Host time synchronization (Times synchronization)

5. Shared clipboard (Sharedclipboard, easy to copy information from the virtual machine to the host)

6. Mouse integration, automatic mouse capture (Mouse pointerintegration, no longer need to press the right ctrl)

Assigning a USB device to a virtual machine

Device-allocates a USB device, and then VirtualBox lists the USB devices on the current host.

In this example, you can see that there are three, respectively, USB storage devices (120G mobile hard disk), Usbcombo optical drive, USB optical mouse, select the first. After that, virtual Windows prompts for new hardware and automatically installs the drive, and then comes to my computer to see if the mobile drive is already on the virtual machine.

Shared folders

Device-allocates a space, which maps the host's folders to virtual machines for easy data sharing.

How do I map it?

In a virtual Windows system, run input: net use X:\vboxsvrsharename (note, x: is the disk you want to map, \VBOXSVR is fixed, and sharename is the share name you set), You can also enter directly into the runtime:

Shutdown of Virtual machine

Linux is mainly VirtualBox and guestadditions installation

Linux version of the VirtualBox download: http://www.virtualbox.org/wiki/Linux_Downloads. Please download the corresponding version.

RedHat, Rhel:rpm-i VH *.rpm

Ubuntu installation: sudo dpkg-i *.deb

If the virtual Linux system, then how to install Guestadditions?

Select the install enhancements in the Linux system, and then automatically shut down the guestadditions ISO file, like the window below to open and copy the Vboxlinuxadditions.run file (possibly located in/media/vboxadditions_ Version), and then executes. (Take CentOS for example)

You can do the installation.

# bash Vboxlinuxadditions.run

Verifying Archive Integrity ... All good.

Uncompressing VirtualBox 1.6.4 guestadditions for Linux

VirtualBox 1.6.4 Guest Additions Installation

Building the VirtualBox Guest Additionskernel module ...

Building the shared folder support Kernelmodule ...

Installing the VirtualBox guestadditions ...

Successfully installed the VirtualBox guestadditions.

You are must restart your guest system in Orderto complete the installation.

The virtual machine needs to be restarted after installation.

The system of a Linux or solaris/opensolaris virtual machine must have x.org Server1.3 or above to have a seamless pattern seamless mode effect.

Folder share: # mount-t vboxsf [-o OPTIONS] sharename mountpoint

For example: #mount-T vboxsf Download/mnt/box, provided that the mount point must exist

Display and resolution of virtual Linux system

After installing the enhancements, you can simply modify the xorg.conf file, modes set the resolution you need

Section "screen"
    Identifier "Screen0"
    Device  "Videocard0"
    Monitor  "Monitor0"
    Defaultdepth
    subsection "Display"
        Viewport  0 0
        Depth Modes "
        2048x800" " 1024x640 "800x600" "640x480"
    endsubsection
endsection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.