如何使用VirtualBox,创建虚拟机和来宾?

In previous posts we have done installation of the VirtualBox into Windows and Linux Operating systems. In this post we will look how to create Virtual machine or guest in a VirtualBox. For more information about installation look links below.

在以前的文章中,我们已经将VirtualBox安装到Windows和Linux操作系统中。 在本文中,我们将研究如何在VirtualBox中创建虚拟机或来宾。 有关安装的更多信息,请参见下面的链接。

视窗: (Windows:)

How To Install Virtualbox Into Windows?

如何将Virtualbox安装到Windows?

Linux: (Linux:)

Virtualization With Virtualbox and Installing Virtualbox

使用Virtualbox虚拟化并安装Virtualbox

创建新的VM(虚拟机) (Create New VM (Virtual Machine))

We can create new virtual machine just clicking New button like below. This will open a dialog box which will create new vm with all resources.

我们可以单击下面的“ New按钮来创建新的虚拟机。 这将打开一个对话框,该对话框将使用所有资源创建新的虚拟机。

New Vm
New Vm
新Vm

设置名称,操作系统和版本 (Set Name , Operating System and Version)

The first step  is setting name, operating system and version of the VM. Name will be used by us to remember the VM and so we should set a memorable name for us. In this case we set MyVm .

第一步是设置名称,操作系统和虚拟机版本。 名称将被我们用来记住虚拟机,因此我们应该为我们设置一个令人难忘的名称。 在这种情况下,我们设置MyVm

Type is the operating system family like Windows, Linux … The following operating systems are supported currently by VirtualBox

类型是操作系统家族,例如Windows,Linux…VirtualBox当前支持以下操作系统

  • Microsoft Windows

    微软Windows
  • Linux

    Linux
  • Solaris

    的Solaris
  • BSD

    BSD
  • IBM OS/2

    IBM OS / 2
  • Mac OSX

    Mac OSX
  • Other

    其他

The Version box used to set specific version of the operating system like Windows Server 2012 R2, Windows 10 etc. If we will install non listed version we should select the option starts with Other in the version box.

“版本”框用于设置特定的操作系统版本,例如Windows Server 2012 R2,Windows 10等。如果要安装未列出的版本,则应在“版本”框中选择以“ Other开头的选项。

Set Name , Operating System and Version
Set Name , Operating System and Version
设置名称,操作系统和版本

设置内存或RAM(Set Memory or RAM)

We will set RAM size of them VM. Setting the size can be done in two ways. First we can use bar to set ram size. Second we can use text box . The ram size is given as MB value. In this situation we will use default value which is 1024 MB or 1GB

我们将设置它们VM的RAM大小。 可以通过两种方式设置大小。 首先,我们可以使用bar来设置夯的大小。 第二,我们可以使用文本框。 内存大小以MB值给出。 在这种情况下,我们将使用默认值1024 MB1GB

Set Memory or RAM
Set Memory or RAM
设置内存或RAM

设置硬盘 (Set Hard Disk)

Next is step is settings hard disk. We have three options. All hard disks are virtual hard disks and stored as single file in host operating system.

下一步是设置硬盘。 我们有三个选择。 所有硬盘均为虚拟硬盘,并作为单个文件存储在主机操作系统中。

  1. Do not add hard disk and use as disk-less system

    不要添加硬盘并用作无盘系统
  2. Create a virtual hard disk

    创建一个虚拟硬盘
  3. Use existing virtual hard disk

    使用现有的虚拟硬盘
LEARN MORE  How To Install VirtualBox Extension Pack For Windows, Linux, Ubuntu, MacOS?
了解更多信息如何为Windows,Linux,Ubuntu,MacOS安装VirtualBox Extension Pack?
Set Hard Disk
Set Hard Disk
设置硬盘

We will use second options where we will create new virtual hard disk.

我们将使用第二个选项来创建新的虚拟硬盘。

设置虚拟磁盘类型 (Set Virtual Disk Type)

In this step we will set virtual disk type. There are 3 options listed like below.

在这一步中,我们将设置虚拟磁盘类型。 共有3个选项,如下所示。

  • VDI is native VirtualBox disk type and used if we use this disk with only VirtualBox virtualization or KVM

    VDI是本机VirtualBox磁盘类型,如果我们仅将此磁盘与VirtualBox虚拟化或KVM一起使用,则使用VDI

  • VHD is old and not popular virtual disk type and can not be used.

    VHD是旧的并且不流行的虚拟磁盘类型,无法使用。

  • VMDK is VMware disk type used vy various virtualization products like ESxi, Workstation, Player etc. This is most popular disk type because of the VMware. This virtual disks can be used with VMware products too.

    VMDK是用于各种虚拟化产品(如ESxi,Workstation,Player等)的VMware磁盘类型。由于VMware,这是最流行的磁盘类型。 该虚拟磁盘也可以与VMware产品一起使用。

Set Virtual Disk Type
Set Virtual Disk Type
设置虚拟磁盘类型

设置虚拟磁盘行为(Set Virtual Disk Behavior)

This step will set whether disk size is used right now or used with new data is written. In most situations best case is default Dynamically allocated . This will prevent unneeded spaces to be used.

此步骤将设置是立即使用磁盘大小还是写入新数据。 在大多数情况下,最好的情况是默认Dynamically allocated 。 这将防止使用不必要的空间。

Set Virtual Disk Behavior
Set Virtual Disk Behavior
设置虚拟磁盘行为

设置磁盘大小(Set Disk Size)

In this step we will set the name and path of the virtual disk file. By default virtual disk file is located in the VMs directory. Default size of the virtual disk is 8 GB but it can be changed according to our needs.

在此步骤中,我们将设置虚拟磁盘文件的名称和路径。 默认情况下,虚拟磁盘文件位于VMs目录中。 虚拟磁盘的默认大小为8 GB,但可以根据我们的需要进行更改。

Set Disk Size
Set Disk Size
设置磁盘大小

完成虚拟机创建(Finish VM Creation)

After we have created disk file the VM creation process will end and we will see a screen like below.This is our newly created VM named MyVm .

创建磁盘文件后,VM创建过程将结束,并且将看到如下屏幕。这是我们新创建的名为MyVm VM。

Finish VM Creation
Finish VM Creation
完成虚拟机创建

This vm have options shown right pane. This options can be changed just clicking related hardware section. For example if we want to change Audio Device and settings we will click Audio section icon shown below.

该虚拟机的选项在右窗格中显示。 只需单击相关硬件部分即可更改此选项。 例如,如果我们要更改音频设备和设置,我们将单击下面显示的音频部分图标。

LEARN MORE  What Is ROM (Read Only Memory)?
了解更多什么是ROM(只读存储器)?
Finish VM Creation
Finish VM Creation
完成虚拟机创建

翻译自: https://www.poftut.com/how-to-use-virtualbox-creating-virtual-machines-and-guests/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值