This post is reprinted from: http://www.huihoo.com/vm/vmware.html
The benefits of using the virtual machine ================
1. If you want to install multiple operating systems on a computer, there are two ways: one is to install multiple hard drives, and each hard disk is installed. This method is more expensive. The second is to load multiple operating systems on a hard disk. This method is not safe enough, because the hard disk MBR is a must-have of the operating system, and it is not good for several operating systems. Use virtual machine software to save money and safe, very convenient for friends who want to learn Linux and UNIX.
2. The virtual machine can run several operating systems simultaneously on a machine, which is a must-have tool for SOHO development. With a virtual machine, only one computer is needed at home, or only one notebook is taken at the business trip, you can debug the program of C / S, B / S.
3. Use the virtual machine to perform software testing.
Hardware requirements using virtual machine ====================
After all, the virtual machine is concentrated on one computer, so it is relatively high for hardware, mainly CPU, hard disk, and memory. Most of the current computer CPU is PIII, the hard disk is a few
ten
G
Such a configuration has been fully satisfied. The key is memory. The demand of memory is equal to the sum of multiple operating system requirements. The current memory is already very cheap, nor is it a problem.
The virtual machine running environment =================
VMware can run on Windows and Linux operating systems.
Virtaul PC can run on Windows (Win98 or more) and Macos.
The operating system running the virtual machine software is called Host OS and the operating system running in the virtual machine is called guest OS.
VMware's experience =================
1. Supported guest OS: VMware supports the following Guest OS: MS-DOS, WIN3.1, WIN9X / ME, WINNT, WIN2000, WINXP, WIN.NET, Linux, FreeBSD, NetWare6, Solaris x86. Not supported guest OS: BEOS, IBM OS / 2 and OS / 2 WARP, Minix, QNX, Sco Unix, Unixware.
2, VMware Simulated hardware VMware simulated hardware includes: motherboard, memory, hard disk (IDE, and SCSI), DVD / CD-ROM, floppy drive, network card, sound card, serial port, parallel port and USB port. VMware did not simulate a graphics card. VMware provides a package called VMware-Tools for each Guest OS to enhance the display and mouse features of Guest OS.
3. The hardware simulated by VMware is a fixed model, and is independent of the actual hardware of the Host OS. For example, in a machine installed Linux with VMware, you can run the entire Linux Copy to other VMware's machines without having to install it.
4, VMware can use the ISO file as an CD. For example, the Linux ISO file downloaded from the Internet does not need to be installed.
5, VMware provides three options for the Guest OS: (1) Any operation made in the Persistent Guest OS operation instantly stores (2) Undoable Guest OS Shutdown, ask if the operation store (3) NonPersistend Any operation made in Guest OS is equal after ShutDown. If you want to perform a software test or test, this is a very useful feature, you can play, you can play the Guest OS unlimited times. 6, VMware's two network settings: (1) Bridged mode in this way, Guest OS's IP can be set to a separate machine with Host OS, Guest OS is equivalent to a separate machine in the network, within the network Other machines can access guest OS, Guest OS can also access other machines in the network, of course, bidirectional access to Host OS is not a problem. (2) NAT mode can also achieve two-way access to the Host OS and Guest OS. However, other machines in the network cannot access guest OS, and guest OS can access other machines within the network with the NAT protocol with the Host OS. NAT mode IP address configuration method: Guest OS first uses DHCP to automatically obtain IP addresses, the VMware Services in Host OS will assign an IP for Guest OS, and then use fixed IPs every time you start, you can use it directly in Guest OS. This IP is fixed.
In general, Bridged methods are most convenient to use. But if the Host OS is Win2000 and the network cable is not plugged, the network is likely to be unavailable (most of which use the machine of the PCI network card), which can only use the NAT mode.
7. VMware uses the Host OS file to simulate the hard disk of the Guest OS. A Guest OS hard drive corresponds to a file in one or more host OS. If you write to Guest OS
100M
File, the virtual hard disk file in Host OS is increased
100M
. Remove this in Guest OS
100M
File, the virtual hard disk file in Host OS will not decrease. This part of this part of this space can continue to be utilized next time. The Shrink feature is also available in VMware-Tools, which can release unused spaces and reduce the capacity of the virtual hard disk file in the Host OS. ??? In order to reduce the waste of hard disk space, avoid using Shrink, better practices, is to hang another hard drive in Guest OS, such as installation files, you can use this hard disk after running Reissue formatting.
8. VMware-Tools VMware-Tools Enhances the display and mouse features of Guest OS. VMware-Tools comes with the VMware. When installing Guest OS, there is a sentence in VMware's status bar that prompts VMware-Tools without installing, the mouse click this sentence to install VMware-Tools. You can also install: Settings -> VMware Tools Install
If guest os is Windows, VMware-Tools will be automatically installed. If it is Linux, after installation, the VMware-Tools installation file will be in the Mount to the CD-ROM drive (is virtual way, this time is no disc), enter the optical drive Mount Point , Set the file Copy to be installed.
For some guest OS, such as Solaris X86, NetBSD 1.x, OpenBSD 2.x, and Caldera OpenLinux 1.3, VMware does not provide VMware-Tools. 9, in the VMware, do not install the graphic mode, use text mode installation. When you install the XServer, select the default configuration. If you install an error, you don't have to pay. After installation, don't set X, first install VMware-Tools, start X.
10. If you don't use the sound card, don't join the sound card in VMware, the sound card has a little impact on performance. 11. If you do not usually use a CD-ROM drive, you can cancel the CONNECT AT POWER ON option of the CD-ROM drive. When you need it, the optical drive can be "hot plug" at any time.
The main difference between VMware and Virtual PC ============================
??? Virtual PC is a virtual machine software similar to VMware. The main difference between the two is as follows:
1, VMware does not simulate the graphics card, to use VMware-Tools to use high-resolution and true color, otherwise only VGA can be used. Virtual PC simulates a relatively universal graphics card: S3 TRIO 32/64 (
4M
). From this point, the Virtual PC is common than VMware, but the display performance is not as good as VMware.
2. Because the Virtual PC simulates the graphics card, it is very versatile. The Connectix.com website claims that the current version of Virtual PC 5 supports all X86-based operating systems.
3, Virtual PC's network sharing is different from VMware. VMware is a network sharing through analog NIC, while the Virtual PC is shared by binding the Virtual PC Emulated Switch service on an existing NIC. For operating systems such as Win2000 / XP, if the network cable is not inserted or no NIC, you have to install Microsoft's LoopBack Soft Network Card to achieve network sharing. In the Global Setting of the Virtual PC, when there is a network card and insert the network cable, set the Virtual Switch into a reality network card; when there is no network card or network cable, set the Virtual Switch into the MS Loopback soft network card, you can implement network sharing. ??? MS loopback software network card installation method, use Win2000 as an example: ??? Control panel -> Add / Remove Hardware -> Add / Exclude Device Fault -> Add New Device -> No, from List Select -> NIC - > Manufacturer Microsoft -> Microsoft Loopback Adapter.