Skip to content
Snippets Groups Projects
Commit 85cb1256 authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

Update WSL section + add link to easycozy

parent ebd2c830
No related branches found
No related tags found
No related merge requests found
......@@ -87,3 +87,5 @@ In order to update your app, you can execute the script depending on the branch
```
Now you can access your updated version of Ecolyo with the following URl, enjoy : `ecolyo.instance-name.cozy.self-data.alpha.grandlyon.com`
For more informations you can check for [Easy Cozy scripts](../../../easycozy/scripts/)
......@@ -102,6 +102,34 @@ dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux
This command will install WSL on your computer. After this, you'll need to **reboot**.
### Upgrade to WSL 2
If you're on WSL 1 and want to upgrade to WSL 2, here is the process :
Open an elevated powershell and paste the following command :
```
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
```
Then, enable the Virtual Machine Platform optional feature.
```
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
```
Now restart your computer to apply these features. Once it's done, open an elevated powershell again and set the default wsl version to 2
```
wsl --set-default-version 2
```
You might see this message after running the command above:
> :bulb: WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel.
If you do, please follow the link [https://aka.ms/wsl2kernel](https://aka.ms/wsl2kernel) and install the MSI from that page on Microsoft's documentation to install a Linux kernel on your machine for WSL 2 to use. Once you have the kernel installed, please run the wsl --set-default-version 2 command again and it should complete successfully without showing the message.
### Install your Linux distribution
After reboot, open the microsoft store and install the distribution of your choice (for example : Ubuntu 20.04 LTS). Once it's done, open it and after a few minutes you'll be prompted for the creation of a user account.
......@@ -171,31 +199,3 @@ source ~/.bashrc
```
Now you should be at least in version ^1.22 and ready to go on.
### Upgrade to WSL 2
If you're on WSL 1 and want to upgrade to WSL 2, here is the process :
Open an elevated powershell and paste the following command :
```
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
```
Then, enable the Virtual Machine Platform optional feature.
```
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
```
Now restart your computer to apply these features. Once it's done, open an elevated powershell again and set the default wsl version to 2
```
wsl --set-default-version 2
```
You might see this message after running the command above:
> :bulb: WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel.
If you do, please follow the link [https://aka.ms/wsl2kernel](https://aka.ms/wsl2kernel) and install the MSI from that page on Microsoft's documentation to install a Linux kernel on your machine for WSL 2 to use. Once you have the kernel installed, please run the wsl --set-default-version 2 command again and it should complete successfully without showing the message.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment