Setup on Windows
Running CDM-Server on Windows using WSL2
Categories:
Unsupported
At this moment, we do not support running CDM-Server on Windows. This guide is for informational purposes only.Prerequisites
- Latest Windows Version with WSL2 Support
- Recommended: Windows Server 2022
- Should Work: Windows 11 23H2+
- Access to Windows Store
- Internet Connection
Installation Steps
- Install: Ubuntu LTS on Windows Store
- Alternatively, open
Windows Store
, Search forUbuntu
(by Canonical Group Limited) and Install it
- Alternatively, open
- Open
Ubuntu
from START and follow the instructions to set up your user inside WSL Ubuntu - Install Docker Engine with Docker Compose Plugin
- (Recommended) Uninstall Old Versions
- From the official Docker website: Install Docker Engine
- This involves two steps: add canonical apt repository and then installing docker engine
- Once done, optionally type:
cd ~ && mkdir cdm && cd cdm
- Now that you have a working linux inside windows, you can follow the CDM-Server installation on linux steps: See here
- After the installation, you can find the CDM-Server in
~/cdm
directory
Troubleshooting
- I can access CDM-Server from the server computer but not from other devices
- Check your firewall settings and make sure the port is open
- The specified
CDM_HOST
should resolve to the server’s IP address
- I want to run CDM-Server as a service in Ubuntu
- You need to follow WSL2 Systemd Guide to run services in WSL2