by HYC
Directory
1. Download the win8_64-bit ISO file
2. Download VNC for the corresponding computer
3. Download Xshell software
4. After the connection is successful, install the package under Xshell
5. Download FileZilla client Software
6. Driver download
7. Installation and fabrication of the image
8. Remote Installation system with VNC
9. Make some settings after installation
9.1 Setting the MTU
9.2 Shutting down the firewall
9.3 Turn on anyone remote access
9.4 Changing the computer's sleep time
1. Download the win8_64-bit ISO file
ed2k://|file|cn_windows_8_1_pro_vl_x64_dvd_2971907.iso|4032598016|1fda520b3e8880e2fb00b20439e0826e|/
Note:
The operating system's ISO file URL: http://www.itellyou.cn/
2. Download VNC for the corresponding computer
http://www.tightvnc.com/download.php
3. Download Xshell software
Http://www.xiazaiba.com/html/6972.html
Connect to the server with XSHELL5 software 192.168.29.94
4. After the connection is successful, install the package under Xshell
Install the package and update the system:
$ sudo apt-get update
$ sudo apt-get install qemu-system-x86
$ sudo apt-get install QEMU-KVM
$ sudo apt-get install Virt-manager
$ sudo apt-get install Libvirt-bin libvirt-doc
To create an img file:
$ qemu-img create-f qcow2 windows-8-desktop-amd64-20g.img 20G
5. Download FileZilla client Software
: https://filezilla-project.org/
Open the FileZilla clientr software and upload the Cn_windows_8_1_pro_vl_x64_dvd_2971907.iso to the server 192.168.29.94.
6. Driver download
Under Xshell, the Virtio-win.iso driver downloads:
$ wget Https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.118-1/virtio-win.iso
Note:
If you want to make an image of an XP system, you need to download the driver: virtio-win-1.1.16.vfd.
Link to:http://pan.baidu.com/s/1miMukHi
7. Installation and fabrication of the image
Execute command:
$ sudo kvm-m 2048-drive file=cn_windows_8_1_pro_vl_x64_dvd_2971907.iso,index=1,media=cdrom-drive file= Windows-8-desktop-amd64-20g.img,if=virtio-drive file=virtio-win.iso,index=3,media=cdrom-net nic,model=virtio-net User-nographic-vnc:9-usbdevice Tablet
Note:
(1) If an error occurs:Could not initialize SDL (No available video device)-Exiting
Then install:
Apt-get Install Xorg-dev
(2) If you are making a win7 image, the Win7 instance needs to create a snapshot after OpenStack is first created. This snapshot is then initiated, otherwise the Win7 instance may have been stuck in the boot interface at startup.
(3) If you are making an image of an XP system, the command is:
Kvm-m 2048-cdrom zh-hans_windows_xp_professional_with_service_pack_3_x86_cd_x14-80404.iso-drive File=seed_ WINDOWS-XP-DESKTOP-X86-10G.QCOW2,IF=VIRTIO,BOOT=ON-FDA virtio-win-1.1.16.vfd -boot d-net user-nographic- Vnc:9-usbdevice Tablet
8. Remote Installation system with VNC
The port is set to 5909.
Exit Full screen: ctrl+alt+shift+f
Click "Connect".
Select "I accept the License terms" and click Next.
Click "Customize".
Click "Load Driver".
Click "Browse".
Click "CD drive (F:) virtio-win-0.1.1".
Select "VioStor", "w8.1", "AMD64". Then click "OK".
Click "Next" and wait a few seconds after loading.
Click "Load Driver" again, click "Browse", click "CD drive (F:) virtio-win-0.1.1", click "w8.1", click "NETKVM", click "AMD64"
Click "OK".
Click "New".
Click "Apply".
Click "OK".
Click "Format".
Click "OK".
Click "Next" to install the system.
Wait about half an hour, auto power on, set the name of the computer (USER-PC), username (user), password (1).
9. After installation, make some settings 9.1 set the MTU
Open Control Panel, network and Internet, network and Sharing Center.
Click on "Ethernet".
Click on "Properties".
Click "Configure", "Advanced", "Initmtusize", the MTU value is 1200.
9.2 Shutting down the firewall
Open Control Panel, network and Internet, network and Sharing Center.
Click "Windows Firewall".
Click "Turn Windows Firewall on or off".
Select "Turn off Windows Firewall (not recommended)" and click "OK".
9.3 Turn on anyone remote access
Open the folder.
Right click on "This Computer" and click "Properties".
Click "Remote Settings".
Select Allow remote connections to this computer, tap apply, and then tap OK. The setup is complete.
9.4 Changing the computer's sleep time
Open PC settings, tap computers and devices, and then tap power and sleep. Sleep is set to never.
After the setup is complete, shut down the computer.
Click "OK" to close.
OpenStack Image making notes--take windows8.1-amd64 as an example