Tuesday, September 14, 2010

Using VMware, vowed to computer "cloned a technique"


On what basis the virtual machine software, the temptation to you?

鈽?want to try Linux, do not re-partition, as installed software, like Office for Windows in the early adopters of you directly.
鈽?can repeatedly practice Fdisk, PQmagic other dangerous software to use without fear of destruction of the actual computer system.
鈽?a computer into a three, four, run multiple operating systems is no longer a fantasy, to delete a folder as long as the operating system to complete uninstall.
鈽?formation of virtual local area network, network management easy to learn, to conduct a variety of network test, no need to buy switches, routers, and cable and other network equipment.

1. What is a virtual machine?

The so-called virtual machine (the virtual machine), is actually an application, broadly speaking Word, WPS also be regarded as a virtual machine, but they can only do it word-processing machines. Today we will introduce the narrow VMware virtual machine software, in fact only an application, its special feature is that virtual machines created by it and the real computer is almost exactly the same, not only has its own virtual CPU, memory, hard drive , drive, and even their own BIOS. In the virtual machine, you can install Windows, Linux and other real operating system, and a variety of applications.

2. The election which virtual machine software?

The popular virtual machine software with VMware and Virtual PC, they can be out in the virtual Windows system on multiple computers, used to install Linux, OS / 2, FreeBSD and other operating systems. Microsoft acquired Connectix in February 2003 soon after the release of Microsoft Virtual PC 2004. But due to various considerations, the new release of Virtual PC 2004 is no longer clear support for Linux, FreeBSD, NetWare, Solaris and other operating systems, retaining only the OS / 2, if a virtual Linux computer, only their own manual settings. In contrast, VMware, whether in support of multiple operating systems, or in the execution efficiency, significantly higher than Virtual PC 2004 for a raise, and this is one of the reasons this select it.

Computer and a change of two, learning to use Linux no longer have to worry about

VMware 4.5 with Workstation, GSX server and other versions, including Windows version of Workstation the most widely used, this paper is that it as the basis for a variety of combat exercises.

Example 1: In the existing Windows, then install a Linux

In this case, we will in the actual Windows XP (the host computer) and then out of a virtual computer (virtual machine) and install the Linux system in the above so that you can safely carry out a variety of Linux operating practice without fear host due to improper system collapsed. And you can judge the whole, a computer will become three, four, and then the rest of the system were installed.

Old bird to Return Weapon

What kind of configuration of the computer for the establishment of a virtual machine?

When the hardware configuration fail, the virtual machine is running too slow, can not even run, VMware's configuration requirements are as follows.
CPU: minimum frequency 266MB, recommended P3 1GHz or above;
Memory: minimum 128MB, recommended 512MB;
Hard Disk: minimum free space 600MB, recommended free space 5GB;
Operating system: Windows NT kernel operating system must be recommended Windows 2000 SP2 or later.

The first step: start VMware, in its main interface, "Home" tab click "New Virtual Machine" button to open the New wizard (because the difference in English and Chinese characters, Chinese Version here show incomplete text, see Figure 1).



Step Two: Click the "Next" button to enter the virtual machine configuration interface, there are two options: One is "typical" way, it uses under the automatic adjustment of the virtual machine configuration; second is "Custom" mode, it allows users to set their own main parameters of the virtual machine. Way than the typical custom is simple, but the lack of flexibility. Convenience, here we choose the typical way.

Step Three: Click the "Next" button to enter the virtual machine operating system select screen, you can see Windows, Linux, Novell and many different systems, here we select "Linux". Linux is divided into multiple versions, I do have a Red Hat Linux 8.0, naturally want to select "Red Hat Linux" entry of the.

Step Four: Click "Next" in the next interface, for the new virtual machine a name (in this case "Red Hat Linux"), and "positioning" stored in the selected virtual machine position (see Figure 2).



Old bird to Return Weapon

Each virtual machine will have a number of special file formats, so it is best for each virtual machine to create a separate folder, such as Linux to put "Linux" folder, Windows 98 will put "Win98" folder This easy to backup and restore virtual machines later.

Step Five: Click "Next", type in the web interface there are four options: "Use bridged networking", "use Network Address Translation (NAT)", "only using the host network," "do not use the network connection. " After the network connection can be modified at any time, so here can first arbitrarily choose one.

Step Six: Click the "Next", then will ask the user to set the size of hard drives, software, the default size is 4GB, available hard disk space can increase or decrease the actual situation. Finally click "Finish" button to return to the main interface, VMware, will see the main interface, one more "Red Hat Linux" tab, which displays the new virtual machine that sets the various configuration (see Figure 3).



Step Seven: The following is the virtual machine to install on Linux operating system, as it work like a real computer. Before installing, first click the virtual machine's CD-ROM set. In the interface shown in Figure 3, double-click the "equipment" under the "CD-ROM" entry, open the configuration window (see Figure 4).



This example uses the Linux installation CD, so click on the "Use physical drive" entry, and in the drop-down list, select the correct drive letter (in this case the drive letter for the "J"); if downloaded from the Internet ISO installation image file, then click the "Use ISO image" item, and through the "Browse" button to select download files from the installation image. Is set up, click "OK" button.

Step eight: The Red Hat Linux installation CD into your optical drive (if selected "Use ISO image" means you do not need this step), click on the main interface "command" in "Start this virtual machine", or click Tools bar green triangle button, which opens like a real computer, like the power switch to start the virtual machine. Note: If the physical memory pressure, it will pop up a prompt box that prompts a virtual opportunity to take up a lot of memory, click "OK" button. If you check the "no show" items, the next time this tip will no longer appear.

After the black window, be sure to use the mouse click in the middle to switch to the virtual machine. VMware simulation is Phoenix's BIOS, continuously press the F2 key until you reach the BIOS settings screen, press the left and right arrow keys to select the "BOOT" menu item, then up and down arrow keys to select "CD-ROM Drive" entry, then press "+ "was transferred to the top level of its key, so that priority can be set to start the drive. Press F10 key and press Enter to save the BIOS settings and exit the virtual machine to start the Linux installation program to install the. Click on the toolbar penultimate button allows the virtual machine full screen, it will look more cool.

Linux installation and use is a big topic of the limited space, not presented here. But be sure the virtual machine is actually just a few more specific documents, all of which operate only a few files to change the data, will not affect the existing operating system, so you can rest assured that for Linux to practice.

Old bird to Return Weapon

Switch to the virtual machine, it will shield the host computer (in this case is Windows XP) all the mouse or keyboard operation, including Alt + Tab key combination to switch operation. But you can press Ctrl + Alt key combination back to XP, the virtual machine in full screen mode, they can use this combination to go back to XP.
Virtual machine restart, shutdown, etc. for both the virtual host computer, but the virtual machine operating system installed is genuine. Therefore, the installed operating system, virtual machine, as first through "Start" menu off, and finally click the box on the toolbar button (the first icon from left) turn off the virtual machine's power. Can not force shut down the virtual machine power supply, or when the next time you start the virtual machine will be the same as the real test of computer disks.

Just Do It

NTFS partition upload Windows 98

NTFS file system is not only more efficient than FAT32 is high and security is greatly enhanced, such that it can set the folder access password. But NTFS hard disk is not installed Windows 98, if some software must be running under 98, you may wish to draw the above method to create a Windows 98 virtual machine.

鈽?virtual machine floppy drive can also be used, use it to start the Windows 98 installation program, use the same methods and drive, can be found in this case, the seventh step. If there is no boot floppy, use vFloppy the BOOTDISK.img image file instead. Note: If the default is not to create a virtual machine floppy drive entry, please refer to below "Add a second hard disk" method to add.

鈽?beginning to be a way to start the installation floppy disk priority program, and in the process of installing Windows 98 will restart the system, then in accordance with the F2 key to enter the BIOS to manually set the hard disk boot priority (refer to the case of the eighth step in the method ), can only go on a normal installation.

Example 2: Virtual hardware upgrade free

In real life, whether to expand or upgrade memory, hard drive, spend money, and in the virtual machine, you can always modify the virtual machine's hardware configuration, upgrade it for free.

Click the appropriate tab virtual machine, in which the click on the "Edit virtual machine settings", or click menu "Virtual 鈫?Settings", can open the configuration window, shown in Figure 5.



1. Increase or decrease the memory

Equipment list on the left select the "memory" key, then drag the right side, "This virtual machine's memory size" under the slider, you can set the virtual machine memory size used (see Figure 5). Note that the virtual machine memory settings too large beyond the actual physical memory, virtual machines will not run, then a small memory can be properly adjusted and then try.

2. Add a second hard drive

Click the "Add" button, increase the Hardware Wizard, click "Next" after the type of hardware interface options, select the "hard", then click "Next" button, you are prompted to set the hard disk format, size, location of hard disk file and other information, you can add a second hard disk for the virtual machine.

Old bird to Return Weapon

For the virtual machine's hard disk defragging

Real need for regular defragging the hard disk, the virtual machine's hard drive is this: select "hard", and in the right side click on "Disk Defragmenter" button, the software will very quickly order the virtual machine hard disk fragments.


3. Unplug the network card

In the device list select the "NIC" item, click on "delete" button to remove the virtual machine on the network card.

4. To understand a virtual machine flash drive

Select the "USB controller", and in the right side select the "new USB device when access to automatically connect to the virtual machine", after the host computer's USB interface into flash after-hours, the host computer and virtual machine on will automatically load the driver, identified flash drive.

Example 3: Virtual machine has Internet access

Since virtual machines can communicate with the host computer, so too will the real computer like the same LAN, sharing the host computer's Internet connection. Here, with the host computer to a virtual dial-up Internet access ADSL, dial-up connection to share the method with an example.

Step one: Click the menu VMware "virtual 鈫?Settings", then click on LAN NIC and set its properties, can "bridge", "NAT", "host only" in either one, but be sure to remember the selected projects.

Step two: the host computer's IP address as the network connection automatically.
The third step: the host computer, "Network and Dial-up Connections" window, right-click the ADSL virtual dial-up connection, select "Properties" command in the "Sharing" tab within the select "Enable Internet Connection Sharing for this connection", and then virtual machine network card work select a network connection (see Figure 6), the specific correspondence as follows:



Bridge - local connection

NAT-VMware Network Adapter VMnet8
Only host-VMware Network Adapter Vmnet1

Step four: the host computer to enable the network connection, the corresponding IP address of the network connection is automatically set to 192.168.0.1. Therefore, the need to set the virtual machine IP address for the 192.168.0.X (X ranges from 2 to 254), also make DNS server addresses, default gateway are set to 192.168.0.1. In this way, the Internet host computers, the virtual machine also can be shared by the host computer online.

Old bird to Return Weapon

How to remove an existing virtual machine?

In the "common" in the right-click the corresponding item, and select "Remove from the commonly used", then click the appropriate tab on the right side, right-click and select "Close" button. At this point can be the appropriate folder under the virtual machine files are deleted, but if you do not delete these files, then the next can also "File 鈫?Open Virtual Machine" command to retrieve it.

VMware Application Made Easy

1. Enhance the multimedia capabilities of the virtual machine

Installed in the virtual machine Windows, by default, only 16 colors, but also sound, with a computer far from real life. To improve the effectiveness of multimedia virtual machine, VMware for everyone to prepare a set of software tools known as the VMware tools. Its main functions are as follows:

(1) analog video card, so the virtual machine to support 32-bit display and high resolution.

(2) the host computer and enable time synchronization between the virtual machine.

(3) does not install VMware tools, the need to use the keyboard keys Ctrl + Alt to release the virtual machine bound mouse. The installation of VMware tools, the mouse can be in a virtual machine, move freely between the host, switch.

(4) allows the host and client or between virtual machines from one to another directly between virtual machines to copy and paste operations.

Start the virtual machine on Windows, click menu "Virtual 鈫?Install Virtual Machine Tools", will drive in the virtual machine to load the appropriate version of VMware tools, and then automate the installation process, we have to do is a few clicks OK button only.

2. Interception boot screen

Can be crawling in the VMware boot screen, BIOS interface, the operating system interface and other special interface to install, click the menu "File 鈫?capture screen image" command, will be able to run virtual machine images are preserved.

3. Recognize the virtual hard disk SCSI interface

If the virtual machine's hard drive is a SCSI interface, the simulation of hard disk (which is the default virtual machine), when you install Windows 2000 will prompt can not find hard drive solution is to add a virtual floppy drive home from the VMware Download VMware-back BusLogic-SCSIDriver-1.2.0.0.flp file, and then start the Windows 2000 Setup time, press the F6 key to load from the floppy drive, will be able to install Windows 2000 on a virtual SCSI hard drives.

4. Test dangerous software

The so-called dangerous software are those who have not been rigorously tested, may have hurt the software system to produce unknown. In the virtual machine to install a system is also very time-consuming, so the dangers in testing before the software can back up what the virtual machine files to quickly restore the virtual machine.

(1) backup the virtual machine

On the host computer, the VMware virtual machine is just a few files only. VMware to create virtual machines in the process, one step is to ask you to save the file where the virtual machine, when we installed the operating system for the virtual machine and set, you can be in this folder so all files a backup, when the virtual machine when problems arise, as long as the backup files to be overwritten with what, on what issues are resolved.

(2) virtual machine is also a key recovery

VMware also offers a Restore feature, any time you can click on the toolbar's "Snapshot" button to save the current system state, a problem once the virtual machine, you can click on the "Restore" button, the system back to the problem as before.

5. Review under the old DOS game

Some players may often nostalgic recalling of the DOS game 486 times, but now find a computer to install the DOS system is not easy things. By VMware to create a DOS virtual machine, select the operating system for virtual machine, first choose "other" and then selected from the following drop-down list of "DOS"; but the DOS boot disk into the floppy drive (can also use the DOS boot image files), start the system can be installed DOS. The use of virtual machine floppy drive and optical drive is similar to here is not presented.

6. Virtual machine host to share a folder?

Step one: Click the menu VMware "virtual 鈫?Settings" in the configuration window's "Options" tab and click on the "shared folder" in right click on the "Add" button to add to the shared folder.

Step two: a virtual Windows XP, for example, start the virtual machine, right-click "My Computer" select "Map Network Drive" command, click the "Browse" button, the "entire network" under the select "VMware Shared Folders" under the the appropriate directory, you can put in a virtual machine shared folder mapped to drive.

A good partner-VMware DiskMount VMware

Generally established for the VMware virtual machine hard disk, can only start after the adoption of VMware virtual machine, view the contents of this inconvenience for the user management. To solve this problem, VMware has introduced a tool called VMware DiskMount (Download: http://vmware-svca.www.conxion.com/software/VMware-mount-3.1.0-9089.exe), it VMware virtual machine allows users to create virtual disks directly attached to the Windows host system's file system, do not start the VMware to view its contents.

Each is mounted virtual disk has a separate letter, we can read and write local physical disks as the same, arbitrary read and write virtual disk, as if it really is a partition on the Windows host. By VMware DiskMount tools virtual disk and easily transfer files between the host system.

VMware DiskMount is a command line tool, the command format is as follows:

VMware-mount [options] [drive letter:] [\ pathtovirtual disk]

Parameter definition

/ V: N mapping virtual disk in the first n partitions (volumes), n default equal to 1.
/ P display the virtual disk partitions (volumes).
/ D deletion mapping.
/ F force delete the mapping.
/ N does not open a snapshot and virtual disk in use.
/ Y regardless of whether a snapshot of all open with.
/? Show VMware-mount tool of use of information.

Example 1: to C: VMWw2k.vmdk H mapping system tray:

VMware-mount h: C: VMWw2k.vmdk

Example 2: the virtual disk C: VMWw2k.vmdk 2 in the district map for the system H-disk:

VMware-mount / v: 2 h: C: VMWw2k.vmdk

Example 3: to lift the mapping of virtual disks:

VMware-mount h: / d or VMware-mount h: / f force delete the mapping.







相关链接:



blackberry video format



Archos Youtube



Quicktime swf



Free Mov To Wmv Converter



No comments:

Post a Comment