Oracle virtual box installation instructions

Source: Internet
Author: User

 

1. Instructions on installing virtualbox1.1 vbox

Virtualbox is a virtual machine system software developed by innotek, a German software company. virtualbox not only has rich features, but also has excellent performance. It is even more open-source and has become a free software released under the GPL license. Virtualbox can be run on Linux and Windows hosts, and Windows (NT 4.0, 2000, XP, Server 2003, Vista) can be installed in it), DOS/Windows 3.x, Linux, OpenBSD, and other customer operating systems.

Since sun was initially acquired by the company and sun was acquired by Oracle, vbox is now a software of oracle.

 

1.2 vbox

Http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html

 

There is an installation file and an extension package. Install the file directly. Nothing to say.

 

Add extension:

 

 

 

 

2. Follow these steps to create a virtual machine in virtual box:

 

2.1 select the operating system type

 

2.2 select memory size

 

 

 

2.3 select the Virtual Disk Type

 

 

Describe the four types of disks:

(1) the virtual disk image (VDI) file of virtualbox is used as its own container format as the host hard disk. This is the format that will be used when a user creates a new virtual machine and a new disk.

(2) virtualbox also supports the vmdk container format of virtualbox. This format is quite popular and used with other virtualization software.

(3) Microsoft's vhd format is also fully supported by virtualbox.

(4) image files of parallels version 2nd (hard disk format) are also supported by virtualbox. virtualbox is not supported due to the lack of new formats (3 and 4) documents. However, you can use the tool Version 2 provided by parallels to convert the image file.

 

Convert is used to convert the format.

 

Command ):

Vboxmanager exists in the virtualbox installation directory.

 

Convert VDI to vmdk:

Vboxmanage.exe clonehd source. vmdktarget. VDI -- format VDI

 

Convert VDI to vhd:

Vboxmanage.exe clonehd source. vditarget. vmdk -- format vmdk

 

Vmdk to vhd, vhd:

Vboxmanage.exe clonehd source. vditarget. vhd -- format vhd

If you switch to VDI or vmdk, you can change the parameter slightly. Note that the original file will not be deleted after the command is run.

 

2.4 select virtual hard disk allocation type

 

There are two types: dynamically allocated occupies less space during use, but runs slowly. Fixed size is allocated at one time, but runs fast. Here I select fixed size.

 

 

2.5 select disk size and location

 

 

Because fixed size is specified, the disk allocation takes a long time.

 

After creation, other configuration information is displayed, which can be modified.

 

 

2.6 configure related information

Click the set button or double-click it on the system to configure some specific options.

 


Select a virtual image:

 

 

Add other NICs. Select bridge for all the connection methods here:

 

 

There are 4 Network Connection Methods in virtualbox:

Nat

Bridged Adapter

Internal

Host-onlyadapter

 

There are three types of VMware. In fact, their network connection methods are the same as those of VMware, but they only have an internal approach than VMware.

 

Compare several Connection Methods in vbox:




1. Nat

NAT: Network Address Translation, Network Address Translation

The Nat mode is the simplest way to Implement Virtual Machine Internet access. You can understand it as follows:

All the data in the guest access network is provided by the host. The guest does not actually exist in the network. The host and any machine in the network cannot view or access the guest.

Guest can access all networks that can be accessed by the host, but it is invisible to the host and other machines on the host network, and even the host cannot access guest.

 

(1) Relationship between virtual machines and hosts: Only one-way access is allowed. virtual machines can access the host through the network, and the host cannot access the virtual machine through the network.

(2) Relationship between virtual machines and other hosts in the Network: Only one-way access is allowed. virtual machines can access other hosts in the network, and other hosts cannot access virtual machines through the network.

(3) Relationship between virtual machines: they cannot access each other. They are completely independent from each other and cannot access each other through the network.

 

2. bridged adapter (Bridge Mode)

You can understand the bridge mode as follows:

It sets up a bridge through the host Nic and connects it directly to the network. Therefore, it allows virtual machines to be allocated to independent IP addresses in a network. All network functions are the same as those of real machines in the network.

In Bridge mode, you can think of a virtual machine as a real computer.

 

(1) Relationship between virtual machines and hosts: mutual access is allowed, because virtual machines have independent IP addresses in the real network segment, and the host and virtual machines are in the same network segment and can access each other through their respective IP addresses.

(2) Relationship between virtual machines and other hosts in the Network: mutual access is allowed. Likewise, because virtual machines have independent IP addresses in the real network segment, the virtual machines are in the same network segment as all other hosts on the network, each Other can access each other through their respective IP addresses.

(3) Relationship between virtual machines: mutual access is allowed for the same reason.

 

3. Internal (intranet Mode)

Intranet:

The Virtual Machine is completely disconnected from the Internet, and only the internal network mode between the virtual machine and the virtual machine is realized.

 

(1) Relationship between virtual machines and hosts: they cannot access each other, they do not belong to the same network, and they cannot access each other.

(2) Relationship between virtual machines and other hosts in the Network: mutual access is not allowed for the same reason.

(3) Relationship between virtual machines: mutual access is allowed, provided that the two virtual machines set the same network name when setting the network. In the preceding configuration chart, the name is intnet.

 

4. Host-only adapter (Host Mode)

Host mode. This is a complex mode that requires a solid basic network knowledge. It can be said that the functions implemented in the previous modes can be achieved through virtual machine and nic settings in this mode.

We can understand that guest is used to create a dedicated Nic in the host. All VMS are connected to this Nic. We can set this Nic to achieve Internet access and many other functions, such as NIC sharing and nic bridging ).

 

(1) Relationship between virtual machines and hosts: mutual access is not allowed by default. Both parties do not belong to the same IP segment. The default IP segment of the Host-only NIC is 192.168.56.x, And the subnet mask is 255.255.255.0, this CIDR block is also assigned to virtual machines. Through Nic sharing and nic bridging, virtual machines can access each other on the host.

(2) Relationship between virtual machines and network hosts: mutual access is not allowed by default. The reason is the same as above. Mutual access can be achieved through settings.

(3) Relationship between virtual machines: by default, virtual machines can access each other, both in the same network segment.

 

 

2.7 start the VM

 

The remaining operations are the same.

 

 

I installed a 64-bit RedHat 5.4

 

 

 

 

 

 

Bytes -------------------------------------------------------------------------------------------------------

Blog: http://blog.csdn.net/tianlesoftware

WEAVER: http://weibo.com/tianlesoftware

Email: dvd.dba@gmail.com

Dba1 group: 62697716 (full); dba2 group: 62697977 (full) dba3 group: 62697850 (full)

Super DBA group: 63306533 (full); dba4 group: 83829929 (full) dba5 group: 142216823 (full)

Dba6 group: 158654907 (full) dba7 group: 69087192 (full) dba8 group: 172855474

DBA super group 2: 151508914 dba9 group: 102954821 chat group: 40132017 (full)

-- Add the group to describe the relationship between Oracle tablespace and data files in the remarks section. Otherwise, the application is rejected.

Related Article

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.