mirror of
https://github.com/PurpleComputing/InstallWindowsOnHetzner.git
synced 2026-02-03 05:03:23 +00:00
38
README.md
38
README.md
@@ -1,7 +1,7 @@
|
||||
# InstallWindowsOnHetzner
|
||||
How to install Windows server edition on a hetzner dedicated server
|
||||
How to install Windows server edition on a Hetzner dedicated server
|
||||
|
||||
Hetzner has multiple ways of installing windows server editions on dedicated nodes, I'll try to cover some because neither hetzner nor anyone made any sensible fucking posting about this and its tiresome.
|
||||
Hetzner has multiple ways of installing windows server editions on dedicated nodes, I'll try to cover some because neither Hetzner nor anyone made any sensible fucking posting about this and its tiresome.
|
||||
|
||||
|
||||
List of methods
|
||||
@@ -21,37 +21,38 @@ Some stuff you need to know before you proceed because I wont re-re explain thes
|
||||
|
||||
Here goes
|
||||
|
||||
Method 1
|
||||
## Method 1
|
||||
Installing Windows server image on hetzner using Rescue system and KVM
|
||||
|
||||
- Go to [this site](https://robot.your-server.de/server)
|
||||
- Click server and from the list of servers if you have, click on your server
|
||||
- Click *rescue* and you will see this
|
||||
|
||||

|
||||
|
||||
- or this
|
||||

|
||||
- From here click *activate rescue system*
|
||||
- Now the page will give you ssh logins to rescue system, copy these somewhere safe we will need them later
|
||||
- Now go to *reset* section which is just to the left of *rescue* tab
|
||||
|
||||

|
||||
|
||||
- for dedicated<br>
|
||||

|
||||
- Click *order an automatic hardware reset* - and then click send, this is like hard rebooting your server
|
||||
- Now, when the server reboots it will reboot once into the rescue system mode
|
||||
|
||||
How will you know its up?
|
||||
### How will you know its up?
|
||||
We need to ssh into the server and you will know if its up cause ssh will respond, install putty and connect to the IP of the server with port 22 and the logins that we saved earlier.
|
||||
|
||||
Beep boop, you are in on ssh in rescue system.
|
||||
|
||||
Let's get to real work from this point
|
||||
### Let's get to real work from this point
|
||||
- Download and extract the portable qemu-kvm. /tmp folder is enough for this portable qemu-kvm. Just run this<br>
|
||||
`wget -qO- /tmp https://github.com/AnimeKaizoku/InstallWindowsOnHetzner/raw/main/vkvm.tar.gz | tar xvz -C /tmp`
|
||||
|
||||
- If you dedicated server has a hard drive that is more than 2TB then you need to use the UEFI version too, run this one only if you have a drive that is bigger than 2tb in size (if you have multiple drives of 2tb you can ignore this step)<br>
|
||||
`wget -qO- /tmp https://github.com/AnimeKaizoku/InstallWindowsOnHetzner/raw/main/uefi.tar.gz | tar -xvz -C /tmp`
|
||||
|
||||
- Okay, we are setup on our emulator, lets download a windows ISO and what better place than hetzner itself?
|
||||
### Okay, we are setup on our emulator, lets download a windows ISO and what better place than Hetzner itself?
|
||||
|
||||
Hetzner has 2 types of mirrors - Internal and external, the internal one is accessible without login from *inside the hetzner network* and external one is public.
|
||||
We will use the external one to see the path of the image we want and use the internal url (they both have same structure)
|
||||
|
||||
@@ -64,7 +65,9 @@ To save you the time I have the external url's here
|
||||
|
||||
[Win Server STD CORE 2016 64Bit](http://download.hetzner.com/bootimages/windows/SW_DVD9_Win_Server_STD_CORE_2016_64Bit_English_-4_DC_STD_MLF_X21-70526.ISO)<br>
|
||||
[Win Server STD CORE 2019 64Bit](http://download.hetzner.com/bootimages/windows/SW_DVD9_Win_Server_STD_CORE_2019_1809.11_64Bit_English_DC_STD_MLF_X22-51041.ISO)<br>
|
||||
[Win Server STD CORE 2022 64Bit](http://download.hetzner.com/bootimages/windows/SW_DVD9_Win_Server_STD_CORE_2022__64Bit_English_DC_STD_MLF_X22-74290.ISO)<br>
|
||||
[Win Server STD CORE 2022 64Bit](http://download.hetzner.com/bootimages/windows/SW_DVD9_Win_Server_STD_CORE_2022_2108.15_64Bit_English_DC_STD_MLF_X23-31801.ISO)<br>
|
||||
|
||||
#### If link is incorrect, go to https://download.hetzner.com/bootimages/windows/ and find correct name of .ISO file
|
||||
|
||||
There are 3 images, I recommend server 2019 at this point of time - 2022 is too experimental.
|
||||
|
||||
@@ -78,24 +81,25 @@ Now that's the URL that our server can access anytime without any logins needed.
|
||||
Now close your eyes and run these commands in serial order<br>
|
||||
```
|
||||
cd /tmp
|
||||
wget http://mirror.hetzner.de/bootimages/windows/SW_DVD9_Win_Server_STD_CORE_2022__64Bit_English_DC_STD_MLF_X22-74290.ISO
|
||||
wget http://mirror.hetzner.de/bootimages/windows/SW_DVD9_Win_Server_STD_CORE_2022_2108.15_64Bit_English_DC_STD_MLF_X23-31801.ISO
|
||||
cd /
|
||||
```
|
||||
|
||||
|
||||
- Now we run the qemu kun by running this command (Do not hit enter until you read the VNC section first you sick fucks)
|
||||
### Now we run the qemu kun by running this command
|
||||
**Do not hit enter until you read the VNC section first you sick fucks**
|
||||
|
||||
For servers with no 2TB+ HDD
|
||||
```
|
||||
/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -cdrom /tmp/SW_DVD9_Win_Server_STD_CORE_2022__64Bit_English_DC_STD_MLF_X22-74290.ISO -hda /dev/sda -boot once=d -vnc :1
|
||||
/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -cdrom /tmp/SW_DVD9_Win_Server_STD_CORE_2022_2108.15_64Bit_English_DC_STD_MLF_X23-31801.ISO -hda /dev/sda -boot once=d -vnc :1
|
||||
```
|
||||
|
||||
For servers with a 2TB+ HDD and UEFI
|
||||
```
|
||||
/tmp/qemu-system-x86_64 -bios /tmp/uefi.bin -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -cdrom /tmp/SW_DVD9_Win_Server_STD_CORE_2022__64Bit_English_DC_STD_MLF_X22-74290.ISO -hda /dev/sda -boot once=d -vnc :1
|
||||
/tmp/qemu-system-x86_64 -bios /tmp/uefi.bin -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -cdrom /tmp/SW_DVD9_Win_Server_STD_CORE_2022_2108.15_64Bit_English_DC_STD_MLF_X23-31801.ISO -hda /dev/sda -boot once=d -vnc :1
|
||||
```
|
||||
|
||||
This is the VNC section
|
||||
## This is the VNC section
|
||||
Once that is ready and before you hit enter on that ssh command lets open VNC viewer on your computer so we can connect to this RDP session that we just made
|
||||
Put the IP of the server in the connection field like this
|
||||
yourIP:1
|
||||
@@ -116,4 +120,4 @@ Go to my computer properties once your server is up > advanced system settings >
|
||||

|
||||
|
||||
Save, then click reboot and then try to connect.
|
||||
Done
|
||||
Done, **you are splendid**
|
||||
|
||||
Reference in New Issue
Block a user