VMWARE howtos

Jump to: navigation, search

Susemini.png 本文处于需要修订的文章的状态,欢迎您积极参与翻译与修订。 翻译人员:ioriqqe,修订人员:无。

<< SUSE_Studio

Dister doc.png

Virtual machines in the VMware format are similar to disk images, but with special information which specifies memory and hard drive sizes.

VMware格式的虚拟机很类似于记录了内存和硬盘大小等特殊信息的磁盘镜像。

To use these images, simply open the file in VMware, VMware player, or VirtualBox.

你可以简单地打开VMware文件、VMware player或VirtualBox来使用这些镜像。

This set of howtos are specific to vmware machines. They are focused on changing some stuff after the image is build but usually after booting for the first time.

下面是针对vmare虚拟机的配置。主要集中在镜像创建后在第一次运行之前修改一些配置。

如何创建预分配磁盘使其有更好的性能(How to make Preallocated disks for better performance )

You can convert a growable virtual disk (which is what SUSE Studio creates) to a preallocated disk with 'vmware-vdiskmanager'. It is bundled with the standard VMWare installation. Preallocated disks offer better I/O performance over growable ones at expense of disk space.

你可以把一个不断增长的虚拟磁盘(由SUSE工作室创建)变成一个有 vmware-vdiskmanager的预分配磁盘。它被绑定在VMware的标准安装文件中。预分配磁盘在磁盘使用率方面比自增长磁盘有着更好的I/O性能。

The following command converts the growable "sourceDisk.vmdk" to a preallocated "destinationDisk.vmdk":

使用下面的命令你可以把一个自增长磁盘sourceDisk.vmdk变为一个预分配磁盘destinationDisk.vmdk:

 vmware-vdiskmanager -r sourceDisk.vmdk -t 2 destinationDisk.vmdk

在vmware上如何改变硬件(How to change hardware on vmware)

All hardware in vmware is defined into the .vmx file. This is a text file you can edit with any text editor. Be careful when editing this file. Also, edit this file before any boot, as on the first boot the hardware detection will happen and it would be too late to make permanent changes.

vmware在.vmx文件中定义所有硬件。这是一个文本文件,你可以通过任何文本编辑器编辑它。编辑它的时候得小心。同时,你只能在第一次启动之前编辑这个文件,因为在第一次启动的时候会进行硬件检测而那时去永久地改变它就太晚了。

如何修改vmware磁盘配置(How to change configurations on vmware disc)

Use vmware-tools. In short, use the vmware-mount tool utility. This way you can mount the disc and change configurations before you boot.

利用vmware工具。总之,利用vmware-mount工具就可以了。通过这种方式你可以在启动之前挂載磁盘并修改磁盘配置。

如何添加一个新的以太网(How to add a new ethernet)

See how to change hardware on vmware 参考在vmware上如何改变硬件。