Ubuntu 简明教程

Ubuntu - Virtual Machines

Ubuntu 也可以作为虚拟机安装。以下是一些支持虚拟机的软件——

Ubuntu can also be installed as virtual machines. Some of the software which support virtual machines are −

  1. Microsoft Hyper-V

  2. VMWare Workstation

  3. Oracle VirtualBox

我们使用 Oracle VirtualBox 来创建我们的 Ubuntu 虚拟机。Oracle VirtualBox 是 Oracle 的免费工具。以下是设置虚拟机所需步骤。

Let’s use Oracle VirtualBox to create our Ubuntu virtual machine. Oracle VirtualBox is a free tool from Oracle. Following are the steps to have the virtual machine in place.

Step 1 − 从 oracle 网站下载 Oracle VirtualBox − https://www.virtualbox.org/

Step 1 − Download Oracle VirtualBox from the oracle site − https://www.virtualbox.org/

download oracle virtualbox

Step 2 − 转到下载部分并下载 Windows 版本。

Step 2 − Go to the downloads section and download the Windows version.

download windows version

Step 3 − 下载完成后,安装 VirtualBox。启动安装程序。单击以下屏幕上的“运行”按钮。

Step 3 − Once download is complete, install VirtualBox. Launch the installer. Click the Run button on the following screen.

install virtualbox

Step 4 − 在后续屏幕中单击“下一步”按钮。

Step 4 − Click the Next button on the subsequent screen.

click next button

Step 5 − 选择合适的文件夹位置,然后单击“下一步”按钮。

Step 5 − Choose the appropriate folder location and click the Next button.

choose appropriate folder

Step 6 − 在后续屏幕上单击“下一步”。

Step 6 − Click Next on the subsequent screen.

click next

Step 7 - 在下一个屏幕中,单击“是”按钮以便继续进行安装。

Step 7 − Click the ‘Yes’ button on the next screen to proceed ahead with the installation.

proceed with installation

Step 8 - 在下一个屏幕中,单击“安装”。

Step 8 − Click Install on the next screen.

click install

Step 9 - 在安装完成后,启动 Oracle VirtualBox。在启动屏幕中,单击“新建”菜单选项。

Step 9 − After the installation is complete, launch Oracle VirtualBox. On the Launch screen, click the ‘New’ menu option.

launch oracle virtualbox

Step 10 - 为虚拟机提供一个名称,将类型指定为 Ubuntu,然后单击“下一步”按钮。

Step 10 − Give a name for the virtual machine and give the type as Ubuntu and then click the Next button.

virtual machine

Step 11 - 在下一个屏幕中,保留推荐的 RAM 原样,然后单击“下一步”按钮。

Step 11 − In the next screen, keep the recommended RAM as it is and click the Next button.

keep recommended ram

Step 12 - 接受虚拟硬盘的默认设置,然后单击“创建”按钮。

Step 12 − Accept the default setting for the virtual hard disk and click the Create button.

accept default setting

Step 13 - 接受硬盘类型,然后单击“下一步”按钮。

Step 13 − Accept the hard disk type and click the Next button.

accept hard disk

Step 14 - 接受物理硬盘空间分配的默认类型,然后单击“下一步”按钮。

Step 14 − Accept the default type of physical hard disk allocation and click the Next button.

hard disk allocation

Step 15 - 接受默认文件位置,然后单击“创建”按钮。

Step 15 − Accept the default file location and click the Create button.

default file location

Step 16 - 如今,虚拟机已经创建好,单击“设置”菜单选项。

Step 16 − Now that the Virtual Machine has been created, click the Settings Menu option.

click setting menu

Step 17 - 转到“存储”选项,单击“空磁盘”图标并浏览查找 Ubuntu iso 镜像。然后,单击“确定”按钮。

Step 17 − Go to the Storage option, click the Empty disk icon and browse for the Ubuntu iso image. Then click the OK button.

storage option

最后,单击“启动”按钮。系统将提示安装 Ubuntu。按照“安装”章节中的步骤进行操作,将会创建一个托管 Ubuntu 的虚拟机。

Finally click the Start button. The system prompts to install Ubuntu. Follow the steps in the Installation chapter and we will have a Virtual Machine hosting Ubuntu.

click start button