[2021] How to Install Windows Server 2019 on a VPS by Contabo – Tutorial
DigitalOcean : https://m.do.co/c/ccc7059969b9 (for free $100 in credit over 60 days)
Contabo : https://contabo.com/en/
In this video I am going to demonstrate step by step how we can build our own virtual machine running Microsoft server 2019, from the original Microsoft ISOs. We are not going to use any compressed server image that is pre-built and given to us, in case it contains either a virus or mining software.
We are then going to deploy it on Contabo, on their smallest VPS, which still comes with 4 CPU Cores, 8 GB OF RAM, AND 200 GB of SSD, all for less than 10 dollars a month.
We could however easily deploy our built server 2019 image on another VPS provider, like digital ocean, linode, or vulture VPS, to name just a few, but for this video we are going to stick with Contabo as their VPSs have the most resources for the least amount of money.
Although the Microsoft ISO we will be getting is for windows server 2019, it could just as easily be for another version of windows server, windows 10, or even a version of Linux, and the process we will be following today , would basically be the same.
COMMANDS IN THIS VIDEO
———————-
apt-get update && apt-get upgrade
apt-get install xfce4 firefox xrdp gzip
apt-get install qemu qemu-utils qemu-system-x86-xen -y
echo xfce4-session [GREATER THAN SIGN]~/.xsession
qemu-img create -f raw harddisk.raw 20G
qemu-system-x86_64 -m 3000M -cpu host -enable-kvm -boot order=d -drive file=/root/Downloads/[FILNAME OF SERVER 2019].iso,media=cdrom -drive file=harddisk.raw,format=raw,if=virtio -drive file=/root/Downloads/[FILENAME OF VIRTIO DRIVERS].iso,media=cdrom
NOTE : cntl+alt+end sends ctl+alt+delete thru RDP
dd if=harddisk.raw status=progress | gzip –fast | dd of=[NAME OF COMPRESSED FILE YOU WANT].gz
ls -l
rm harddisk.raw
reboot
————————————————————————————–
sudo su
lsblk
ssh root@[IP ADDRESS OR YOUR PREPARATION-VM] dd if=[NAME OF COMPRESSED FILE YOU CREATED].gz | gunzip | dd of=/dev/[USUALLY SDA OR VDA IDENTIFIED USING OUTPUT FROM LSBLK] status=progress
windows server