IT-Services::WSL Windows - Subsystem for Linux
Step 1: Installation of WSL
- Ask for installation via support@mi.fu-berlin.de with your computer name and reason and scenario for usage
- If OK, you will get a new entry in Software Center for self-service-installation
- Open Software Center and search "Linux"
- Before running the installer save all your unsaved data and close all applications ( automatic reboot!)
- Click on "Windows Subsystem for Linux" and "Install"
- Wait for installation and reboot to finish
- After installation wait 5-10 minutes before step 2
Step 2: Installation of a Linux distribution
- Open Windows Powershell or command prompt from the startmenu
- Type
wsl --list --online
to get the available distributions
- Install the chosen distribution (we recommend Debian) by running the command
wsl --install --distribution >distribution name<
- e.g.
wsl --install --distribution Debian
- You will be asked to create a default user at the end of installation. Please choose a complex password!
- You can find the distribution in windows startmenu
Step 3: automate update
Create a Windows Basic Task for update
More Details on how to create a scheduled task:
https://www.windowscentral.com/how-create-automated-task-using-task-scheduler-windows-10
Step 4: Configuration
- Install needed applications:
Step 5: Use
Terminal
- start
- type or select Debian # or other installed Linux
for GUI applications
- one application
- full desktop
Viele hardwarenahe Programme im WSL laufen nicht. Z.b. Chrome startet nicht und Firefox mit Youtube-Inhalten stürzt sehr häufig ab.
Import/Export (Backup)
- Export distribution:
wsl --export >distribution name< >filename.tar<
- Import distribution:
wsl --import >distribution name< >installation path< >tar-file path<