because the production environment needs a WIN2003 server, to create a virtual machine way to achieve! Environment:debian 7.0 (wheezy) xen 4.1 1, installation xen-linux-system # apt-get install xen-linux-system Install by default libxen-4.1 libxenstore3.0 xen-hypervisor-4.1-amd64 xen-linux-system-3.2.0-4-amd64 xen-linux-system-amd64 xen-system-amd64 xen-tools XEN-UTILS-4.1   XEN-UTILS-COMMON   XENSTORE-UTILS2, changing the startup item # ls -ll /etc/grub.d can view all the current kernel files #vi /boot/grub/grub.cfg --------The file is the startup file, You can set the order, look carefully! set default= "2" default to Xen kernel boot 3, change Xen profile # cd /etc/xen # cp xend-config.sxp xend (Vif-script vif-bridge)-config.sxp.bak # vi xend-config.sxp (xend-http-server Yes) (xend-port 8000) (network-script ' Network-bridge antispoof=yes ') (Vif-script vif-bridge) (vnc-listen ' 0.0.0.0 ') # /etc/ init.d/xen restart restarting Xen Services 4, creating bridge devices #apt-get install bridge-utils #vi /etc/network/interfaces auto xenbr0 iface xenbr0 inet static address 192.168.1.79 netmask 255.255.252.0 gateway 192.168.1.1 bridge_ports eth0 5, installation virt-manager # apt-get Install virt-manager 6, restart the machine, then default into the Xen kernel #reboot 7, view the bridge device, See if Xen starts # ifconfig xenbr0 Link encap:Ethernet HWaddr c8:1f:66:c1:02:5c inet addr:192.168.1.79 Bcast:192.168.3.255 mask:255.255.252.0 inet6 addr: fe80 ::ca1f:66ff:fec1:25c/64 scope:link up broadcast running multicast mtu:1500 metric:1 rx packets:1970279 errors:0 dropped:2946 overruns:0 frame:0 TX packets:825922 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1566797448 (1.4 gib) TX bytes:264689003 (252.4 MIB) # xm list Name ID Mem vcpus state time (s) domain-0 0 15073 8 r----- 26533.3 everything is OK, next install guest virtual machine 8, VNC connect to server (To use Virt-manager must connect to VNC, need to use desktop environment) ## #关于vnc的配置此处不再详述 9, use virt-manager to install virtual machines and windows2003 systems upload windows2003 image to Linux server first # rz start creating virtual machines # Virt-manager
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4D/C9/wKiom1RZwhWBasT7AADewP0u5Rs259.jpg "title=" Qq20141105142159.png "alt=" Wkiom1rzwhwbast7aadewp0u5rs259.jpg "/>
This article is from the "Westerly Lean Pig" blog, please be sure to keep this source http://jungege.blog.51cto.com/4102814/1572117
Debian system installs Xen and creates win2003 virtual machines