Windows Server 2019

From EVEmu Wiki
Revision as of 21:56, 7 April 2021 by VDex (talk | contribs) (Created page with "=== Basic Information === Compiling and Running a Docker Image on Windows Server 2019, while having advantages for Multi-CPU Systems, requires a few extra steps. As Server 20...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basic Information

Compiling and Running a Docker Image on Windows Server 2019, while having advantages for Multi-CPU Systems, requires a few extra steps. As Server 2019 is not equipped with WSL2 (Windows Subsystem for Linux, Version 2), there are a few extra steps.

Prerequisites

First of all, install Docker for Desktop ([1]) and Git (Git). Now open up Powershell as administrator and enable WSL by entering

  • Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

It will prompt you to reboot. After a reboot we just need to reconfigure git to read the line feeds from the shell scripts correctly. To change this, enter

  • git config --global core.autocrlf input

into a Powershell with elevated privileges. Right click your docker notification icon and hit „Switch to Linux Containers“. This will take a few minutes.

Starting the Server

Continue in Powershell, make sure you’re in the correct folder where you want to deploy EVEMU in, and enter

Depending on your internet connection, this might take a bit. Once its done, enter the Cloned Folder with

  • cd evemu_Crucible

Now you’re almost done! One last step to get it up and running is to follow up in Powershell with

  • docker-compose -p evemu up --build -d

Wait until its done and your Docker Desktop Window should have both the Database and the Server running. Enjoy playing.