Unfortunately, the installation of wsl on Windows Server 2019 systems is somewhat more complicated than is the case with newer Windows versions. The Ridom WSL image cannot be used, so another WSL distribution must be modified.
Manual Installation of WSL on Windows Server 2019
For Windows Server 2019 the automatic installation of WSL that is implemented in SeqSphere cannot be used.
However, WSL can be installed manually using the following these steps:
Important: When WSL starts up and the new Linux username is defined, be sure to enter "ridom" as username.
- Step 2: In the newly started Linux, download the Ridom Ubuntu distribution archive file by typing
cd ~
wget https://www.ridom.de/download/wsl/ridom_ubuntu.tgz
- Step 3: Extract the miniconda tools of this archive file by entering the command:
cd /
tar -xvzf /home/ridom/ridom_ubuntu.tgz ./home/ridom
- This will extract the miniconda tools to the user-directory in WSL. The extraction may take some time.
- Step 4: Exit wsl by typing
exit
. Restart the SeqSphere client and run Help | Run System Test for testing the installation.
- Step 4: If the Test Testing Windows Subsytem for Linux (WSL) fails please download the file File:Set WSL Command.xml. This file changes the way SeqSphere starts WSL. Use File > Open File(s) in the SeqSphere client to open this file. Then restart the SeqSphere client and start the System Test again.
Updating WSL on Windows Server 2019
To udpdate the WSL Linux distribution used by SeqSphere in Windows Server 2019 use the following steps:
- Step 1: Start Linux in a Windows command line window by entering
wsl
.
- Step 3: Remove all existing files by entering
yes | rm -r ~/*
- Step 4: Download the updated Ridom Ubuntu distribution archive file by typing
cd ~
wget https://www.ridom.de/download/wsl/ridom_ubuntu.tgz
- Step 5: Extract the miniconda tools of this archive file by entering the command:
cd /
tar -xvzf /home/ridom/ridom_ubuntu.tgz ./home/ridom
- This will again extract the miniconda tools to the user-directory in WSL. The extraction may take some time.