想玩Linux却没有多的计算机或多的硬盘空间吗?还是怕弄坏了原有的数据?VMWare可以让你在Windows上玩Linux喔!介绍一下VMware,简单的说,他可以在你现有的操作系统上"再多安装"其它操作系统,并且任你决定这个"新"系统所使用的内存大小、硬盘容量大小,你可以像使用一台普通计算机一样对他做格式化、安装操作系统等等而不会对你的原系统产生任何影响,其实还有另一套由PC Connectix所出的 Virual PC,而VMWare目前最新版本4.x,你可以到http://www.vmware.com/vmwarestore/newstore/download_login.jsp取得试用,从这边来需要先注册,要填一堆有的没有的,后面是目前最新版的载点,未注册版提供三十天的试用期,只需在要输入序号那页按"Skip"即可,当然,有注册机可以用,但在这边我就不提供了。
安装过程就不啰说了...让我们来看看主画面
在上面的画面显示出有两个虚拟的操作系统,一个是Linux另一个是Windows ME,而菜单左下方有关机、暂停、及开机的按钮,你可以编辑每个虚拟操作系统的"硬件"设定在中间的"Edit virtual machine settings",右边的Summary则是目前的硬件状态。
增加一台计算机
在Favorites的范围内按下鼠标右键会出现一个菜单,其中有个叫做New Virtual Machine..,然后~(中间跳过..)就看到下面的画面
选择一个你想安装的系统,VMWare会依据你所选的调整系统给予的资源。
这个没什么好讲的..改名字..改放的目录....
网络组态设定,选择你要使用『Bridged』或是『NAT』简单的说,Bridged会仿真出一张实体网卡,而NAT则是会透过主机本身联机至网络,主机扮演着类似IP分享器的角色。
好了之后你就会在主画面里看到刚刚新增的计算机啰,接下来简单介绍一下设定吧。
左边是硬件类别,右边则是可调整的选项,或你可以按Add加入一个新的硬件,预设的硬盘最大为4GB,至于光驱你可以选择使用实体光驱或者是挂上ISO档,其它的就不介绍了。
连BIOS都有了!!基本上刚设定好一个组态时跟刚装好一台新计算机时是没两样的,硬盘空的未分割等...跑个安装Linux吧!在BIOS中将BOOT的顺序调整为CD-ROM最先,将安装光盘放入光驱(预设光驱使用实体光盘),然后开机。
可爱的安装画面出来了!
安装后续处理
想一下我们刚灌好一个新操作系统后要干嘛,安装驱动程序嘛!VMWare也是一样,当我们安装完后需要安装一个叫"VMWare Tools"的东西
官方对VMWare Tools的解说:
It is very important that you install VMware Tools in the guest operating system.
With the VMware Tools SVGA driver installed, Workstation supports significantly faster graphics performance.
The VMware Tools package provides support required for shared folders and for drag and drop operations.
Other tools in the package support time synchronization between host and guest, automatic grabbing and releasing of the mouse cursor, copying and pasting between guest and host, and improved mouse performance in some guest operating systems.
The installers for VMware Tools for Windows, Linux and FreeBSD guest operating systems are built into VMware Workstation as ISO image files. (An ISO image file looks like a CD-ROM to your guest operating system and even appears as a CD-ROM in Windows Explorer. You do not use an actual CD-ROM to install VMware Tools, nor do you need to download the CD-ROM image or burn a physical CD-ROM of this image file.)
VMware Tools for Windows supports Windows 95, Windows 98, Windows Me, Windows NT 4.0, Windows 2000, Windows XP and Windows Server 2003 guest operating systems.
在Windows系列中,只需在进入操作系统后选择"File-Install VMWare Tools...",然后去查看你的光驱,执行里面的安装程序即可,而Linux可以下面的方式来进行。
撷取自说明
VMware Tools for Linux Guests
Power on the virtual machine.
After the guest operating system has started, prepare your virtual machine to install VMware Tools.
Choose File > Install VMware Tools.
The remaining steps take place inside the virtual machine.
Be sure the guest operating system is running in text mode. You cannot install VMware Tools while X is running.
As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.
Note: You do not use an actual CD-ROM to install VMware Tools, nor do you need to download the CD-ROM image or burn a physical CD-ROM of this image file. The VMware Workstation software contains an ISO image that looks like a CD-ROM to your guest operating system. This image contains all the files needed to install VMware Tools in your guest operating system.
Note: Some Linux distributions use different device names or organize the
/dev directory differently. If your CD-ROM drive is not /dev/cdrom, modify the following commands to reflect the conventions used by your distribution.
mount -t iso9660 /dev/cdrom /mnt
cd /tmp
tar zxf /mnt/vmware-linux-tools.tar.gz
umount /mnt
Run the VMware Tools installer.
cd vmware-tools-distrib
./vmware-install.pl
Log out of the root account.
exit
Start X and your graphical environment.
In an X terminal, launch the VMware Tools background application.
vmware-toolbox &
Note: You may run VMware Tools as root or as a normal user. To shrink virtual disks, you must run VMware Tools as root (su -).