LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » HyperVM Community Support » Windows under Xen » Installing windows OS(For those who successfully installed windows vps please give your input)
Installing windows OS [message #99398] Fri, 13 July 2012 10:39 Go to next message
Rioter  Singapore
Messages: 25
Registered: April 2012
Member

This tutorial helpful?[ 0 votes ]
1.Yes 0 / 0%
2.NO!! 0 / 0%

Hi all,

Before you all start to install windows, please ensure your dedicated server has VT enabled.
For those who do not know how to check: http://www.cyberciti.biz/faq/linux-xen-vmware-kvm-intel-vt-a md-v-support/

If your dedi supported, process to following instructions.
This is what i do for my windows vps.

#service libvirtd restart
#chkconfig libvirtd on
#wget http://packages.sw.be/ntfsprogs/ntfsprogs-1.13.1-1.el5.rf.x8 6_64.rpm
#rpm -ivh ntfsprogs*
#reboot

after reboot

follow this instructions:
http://wiki.lxcenter.org/HyperVM-Windows

after that

open your windows config: windows-eg.vm.cfg
modify the content, eg my windows config:

____________________________________________________________ ___
import os, re
arch = os.uname()[4]
if re.search('64', arch):
arch_libdir = 'lib64'
else:
arch_libdir = 'lib'
name = 'windowxp.vm'
kernel = '/usr/lib/xen/boot/hvmloader'
builder='hvm'
boot='d'
memory = 2048
vif = [ 'type=ioemu, vifname=vifwind11, mac=aa:00:f5:35:28:01, bridge=virbr0 ' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
vnc=1
sdl=0
vcpus = 4
vnclisten='0.0.0.0'
vncpasswd='windowxp'
disk = [ 'file:/home/wincd.img,hdc:cdrom,r', 'phy:/dev/vg/windowxp_rootimg,ioemu:hda,w']
acpi=1
vncunused=0
vncdisplay=3
usbdevice='tablet'
on_reboot = 'restart'
on_crash = 'restart'
____________________________________________________________ ___

the important part is bridge=virbr0, this is your windows network.
usbdevice='tablet' will make vnc mouse follow your own mouse.
chattr +i your windows config, e.g:

#chattr +i /home/xen/windowxp.vm/windowxp.vm.cfg

this will stop hypervm from modifying your config file.
Finally Reboot

#reboot

after all that you should be able to access VNC.

Other info:

[root@meme ~]# yum list installed | grep libvirt
libvirt.x86_64 0.8.2-25.el5 installed
libvirt-python.x86_64 0.8.2-25.el5 installed
[root@meme ~]# yum list installed | grep xen
kernel-xen.x86_64 2.6.18-308.4.1.el5 installed
kernel-xen.x86_64 2.6.18-308.8.1.el5 installed
xen.x86_64 3.0.3-135.el5_8.2 installed
xen-libs.x86_64 3.0.3-135.el5_8.2 installed
[root@meme ~]# yum list installed | grep vnc
gtk-vnc.x86_64 0.3.8-3.el5 installed
gtk-vnc-python.x86_64 0.3.8-3.el5 installed

when use have access VNC and install windows.
open cmd and enter:
#ipconfig /all
you will see your ip for example: 192.168.122.67, this is libvirtd private network. to use your own public ip, you have to use iptables NAT 1:1.

Hope this helps. Good Luck installing Very Happy


Regards,

Rioter

[Updated on: Fri, 13 July 2012 10:41]

Report message to a moderator

Re: Installing windows OS [message #99400 is a reply to message #99398] Fri, 13 July 2012 10:54 Go to previous messageGo to next message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
Thanks. I'll review it later and vote Smile

https://www.mercuryvps.com
HyperVM Xen VPS hosting
Re: Installing windows OS [message #99720 is a reply to message #99400] Tue, 24 July 2012 08:02 Go to previous message
Rioter  Singapore
Messages: 25
Registered: April 2012
Member
so anyone have tested this?

Regards,

Rioter
Previous Topic:cannot start VNC client
Next Topic:install windows 2003 x64 on xen
Goto Forum:
  


Current Time: Wed May 22 16:01:53 EDT 2013

Total time taken to generate the page: 0.01087 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software