openvz7 windows系统安装
kevin.Zhu 发布于:2018-11-6 16:13 分类:Linux系统运维 有 23 人浏览,获得评论 0 条
https://www.tomvanbrienen.nl/how-to-create-windows-server-2016-2019-vms-openvz-7
How to create Windows Server 2016 & 2019 VM’s – OpenVZ 7
In this post I will explain how to create Windows Server 2019 & Windows Server 2016 VM’s using OpenVZ 7 (based on KVM).
Create a new VM with Windows Server 2016 or 2019 (use win-2016 as distribution for 2019).
prlctl create SRV-WIN2019 --distribution win-2016 --vmtype vm
Download and add your Windows ISO:
prlctl set SRV-WIN2019 --device-add cdrom --image /root/downloads/server2019.iso
Enable VNC for remote access:
prlctl set SRV-WIN2019 --vnc-mode manual --vnc-port 5905 --vnc-passwd YourPassword
Optional, set a static MAC-address:
prlctl set SRV-WIN2019 --device-set net0 --mac 00:11:22:33:44:55
Enter your Private or Public IP Address + CIDR, Gateway and Nameserver:
prlctl set SRV-WIN2019 --device-set net0 --ipadd X.X.X.X/24 --gw X.X.X.X \
--nameserver 8.8.8.8
Set CPU Cores:
prlctl set SRV-WIN2019 --cpus 2
Set RAM/Memory size (in GB):
prlctl set SRV-WIN2019 --memsize 4G
Set Disk size (in GB):
prlctl set SRV-WIN2019 --diskspace 80G
Set I/O Limit in MB/s (Disk):
prlctl set SRV-WIN2019 --iolimit 50
Start your VM:
prlctl start SRV-WIN2019
Connect to your OVZ 7 Host IP + VNC Port 5905 with VNC Viewer and follow the Windows installation instructions.
Let’s install OVZ Guest Tools on Windows Server 2016 or 2019:
prlctl installtools SRV-WIN2019
Congrats! The installation has been completed!
Supported VM Operating Systems:
The following values are allowed:
win-2008 win-2012 win-2016 ubuntu
fedora-core debian centos centos7
vzlinux vzlinux7 cloudlinux cloudlinux7
opensuse
Experimental support:
win-2000 win-xp win-2003 win-vista
win-7 win-8 win-8.1 win-10
win rhel rhel7 suse
sles11 sles12 psbm redhat
mandriva xandros mageia mint
linux-2.4 linux-2.6 linux freebsd
chrome msdos netware solaris
This entry was posted in OpenVZ and tagged openvz, Server 2016, Server 2019, Windows on April 8, 2018.