For example, a Windows virtual machine in a KVM environment
1. Start installing Windows 2003
(1) Upload the 2003 ISO file to the/data/iso folder
(2) Start installation
[Email protected] ~]# Virt-install--name=wintest01--ram the--vcpus=2--disk path=/data/wintest01.img,size=8--accele Rate--cdrom/data/iso/windows2003.iso--vnc--vncport=5911--vnclisten=0.0.0.0--network bridge=br0--force-- Autostart
(3) Connect via VNC, then install the process, or you can continue the installation process through the console.
Note: After the file has been copied, Windows restarts, the virtual opportunity is turned off, it needs to be started manually, and VNC is not available.
(4) Connect the top and log in to the console.
If other environments are unable to connect to the console, you can remotely install the VNC server-side tool and log in to the server via VNC, which is ultimately safe to do. There is no need for us to take two steps.
You can see that the wintest01 virtual machine is turned off and you need to start it manually.
Open the virtual machine after startup, or the installation cannot continue because the mounted ISO is not mounted and needs to be mounted manually.
(5) Manually mount the optical drive, as shown in step-by-step operation as follows.
Return to the console to continue the installation process.
2. Post-installation configuration
(1) Configure IP address
(2) Configuring Remote Desktop
This completes the installation of the Windows Server 2003 KVM Virtual machine and describes how to optimize for performance in Windows.
Note: If the VNC server is installed on the KVM virtualization platform, the oel6.3 can be installed directly through VNC.
Kvm--windows Virtual Machine Installation