最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【记录】VMWare Workstation 8中创建一个Ubuntu的虚拟机

VMWare crifan 3701浏览 0评论

【背景】

折腾:

【记录】VMWare Workstation 8安装Ubuntu

期间,去在VMWare Workstation 8下,创建一个Ubuntu的虚拟机。

【折腾过程】

1.Create a New Virtual Machine:

create a new virtual machine within vmware 8

2.选择自定义(高级),以便自己后期配置各种选项:

choose custom advanced to create ubuntu

3.选择默认的是Workstation 8.0:

workstation 8.0 esx 5.0 fusion 4.0 64GB 8 cpu 10 net 2 TB

4.此处,是选择从之前已下载的Ubuntu的iso文件安装。

所以去选择对应的ubuntu的iso:

installer disc image iso browse

选择对应的iso:

choose the ubuntu 13.04 iso

另外,刚刚去点击那个关于Easy Install的说明:

Providing Easy Install Information

看到解释说是,对于已经检测出来的linux(或windows),则可以直接简单安装:

直接输入最基本的信息,比如用户名和密码等,就可以安装了。

 

5.输入基本的信息:

input user name and password for easy install

 

6.设置对应的虚拟机的名字和对应的存放位置:

ubuntu13.04_x86

D:\tmp\tmp_dev_root\vmware\vm\ubuntu13.04_x86

virtual machine name and location

 

7.由于当前的CPU是:i5-2400,好像是4核,所以,此处CPU设置为2:

number of processors choose 2

 

8.pc的内存是8G。

此处内存默认是1024MB,此处分给2048MB给Ubuntu:

give 2048MB for ubuntu vm

 

9.网络选择默认的NAT:

network use default nat

 

10.IDE用ATAPI,SCSI用推荐的LSI Logic

ide use ATAPI SCSI use LSI logic

11.此处由于没有虚拟磁盘,所以要新建一个:

create a new vitual disk for ubuntu

 

12.磁盘类型选SCSI:

disk type use scsi

13.为了性能考虑:

当前pc空闲100多G,所以空间很富裕->给了很大的空间:30GB

当前选择直接分配空间;

直接存储为单个文件。

disk 30GB and allocate now and single file

14.设置vmdk存放的位置:

ubuntu13.04_x86.vmdk

choose vmdk location

15.配置完成,但是需要去配置一下硬件:

ready to install ubuntu vm but need customize hardware

14.去除软盘:

floppy remove it

15.开启3D图像加速:

display enable 3D graphics

16.CPU设置如下:

use automatic mode also choose intel vt-x ept or amd-vrvi

其中是:

记得当前pc,好像是支持intel的VT-x/EPT的,所以才选择上述的选项的。

 

其中,关于参数的解释,找到的解释是:

Table 40. Processor Settings

Setting

Description

Number of processors and Number of cores per processor

Select the number of processors and the number of cores per processor. Workstation supports up to eight-way virtual Symmetric Multiprocessing (SMP) for guest operating systems running on multiprocessor host machines. You can assign processors and cores per processor to a virtual machine on any host machine that has at least two logical processors.

Preferred mode

Select the preferred execution mode for the virtualization engine. You usually do not need to change virtualization engine settings.

Automatic

Workstation chooses the execution mode based on the guest operating system and the host CPU.

Binary translation

Workstation uses a mix of directly executing guest code and binary translation to run the guest operating system. Guest memory mapping is performed by using shadow page tables.

Intel VT-x or AMD-V

Workstation uses hardware extensions to run and isolate guest code. Guest memory mapping is performed by using shadow page tables.

Intel VT-x/EPT or AMD-V/RVI

Workstation uses hardware extensions to run and isolate guest code. Guest memory mapping is performed by using hardware paging.

Note

You cannot configure this setting for a shared or remote virtual machine.

Disable acceleration for binary translation

In rare instances, you might find that Workstation appears to freeze when you install or run software inside a virtual machine. This problem typically occurs early in the execution of the program. In many cases, you can prevent the problem by temporarily disabling acceleration in the virtual machine. After the program passes the point at which the problems occur, deselect this setting.

Virtualize Intel VT-x/EPT or AMD-V/RVI

Workstation forces the virtual machine execution mode to VT-x/EPT or AMD-RVI. Physical Address Extension (PAE) mode must be enabled to use virtualized AMD-V/RVI.

If the execution mode is not supported by the host system, virtualized VT-x/EPT or AMD/RVI is not available. If you migrate the virtual machine to another VMware product, virtualized VT-x/EPT or AMD-V/RVI might not be available.

Note

You cannot configure this setting for a shared or remote virtual machine.

 

17.然后完成设置:

real done for config

18.之后就是去创建磁盘了:

is creating disk

其中,正在创建虚拟磁盘过程中,可以看到对应的vmdk文件(是0KB的):

can see the ubuntu vmdk file

【总结】

如此,实际上创建和配置Ubuntu虚拟机的过程,就已经完成了。


接下来,就是去启动虚拟机去安装Ubuntu了:

【记录】VMWare Workstation 8中安装刚创建和配置好的Ubuntu 13.04虚拟机

转载请注明:在路上 » 【记录】VMWare Workstation 8中创建一个Ubuntu的虚拟机

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
82 queries in 0.159 seconds, using 22.40MB memory