OpenStack Create a Windows mirroring implementation step _openstack

Source: Internet
Author: User

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

    1. Shut down the firewall first, in the Control Panel.
    2. To create a new user in the Control Panel, be sure to set a password.
    3. Computer-"Properties-" remote-"Remote Desktop-" allows users to connect remotely
    4. 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

    1. TCP (SSH)
    2. ICMP-1 (ping)
    3. TCP 3306 (MySQL)
    4. TCP 3389 (Remote Desktop)

Thank you for reading, I hope to help you, thank you for your support for this site!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.