OpenStack Create a Windows mirror
Create a Windows Mirror
Create an IMG file
Kvm-img create-f qcow2 Win7.qcow2 30G
Download Virtio Driver
wget Http://alt.fedoraproject.org/pub/alt/virtio-win/archives/virtio-win-0.1-59/virtio-win-0.1-59.iso
wget http://www.linuxwind.org/download/virtio-win-1.1.16.vfd
To start the Setup program
sudo kvm-m 1024-cdrom win7.iso-drive file=win7.qcow2,if=virtio,boot=on-fda virtio-win-1.1.16.vfd-boot d-nographic-v nc:0
Access continue installation Steps
I do it under Ubuntu, install a Vncview
Vncview localhost:5900
The port number here is based on the previous step-vnc:0 Over, if it's-vnc:1, it's 5901 ports.
Installation process Disk Selection
When you install the select disk, the display is empty, and you need to manually load the drive.
Method Load Driver-"OK-" floppy disk drive a:-"i386->win7-> continue
After the installation, don't worry, because the wood has a network card driver, use the following way
sudo kvm-m 1024-cdrom virtio-win-0.1-59.iso-drive file=win7.qcow2,if=virtio,boot=on-net nic,model=virtio-boot d-nogr Aphic-net User-usb-usbdevice tablet-vnc:0
After entering the virtual machine, update the NIC driver and then drive the search from CD-ROM
When there is a custom requirement, it can be opened again, as follows
sudo kvm-m 1024-drive file=win7.qcow2,if=virtio,boot=on-net nic,model=virtio-boot d-nographic-vnc:0
If you are using RAW format before making, like changing to QCOW2 format
Qemu-img convert-f raw-o qcow2/win7.img./win7.qcow2
Uploading Windows Mirrors
OpenStack's orders are based on the latest documents, and online blogs are inevitably outdated
Glance image-create--name= "win7"--is-public=true--container-format=ovf--disk-format=qcow2 < Win7.qcow2
Remote Desktop Connection
Open XP Remote Desktop
- Shut down the firewall first, in the Control Panel.
- To create a new user in the Control Panel, be sure to set a password.
- Computer-"Properties-" remote-"Remote Desktop-" allows users to connect remotely
- Check to see if the service is open: Remote Desktop help Session Manager and Terminal Services
Open port in OpenStack (TCP 3389)
Several other common ports
- TCP (SSH)
- ICMP-1 (ping)
- TCP 3306 (MySQL)
- TCP 3389 (Remote Desktop)
Thank you for reading, I hope to help you, thank you for your support for this site!