diff --git a/docs/ecolyo/application/deploy.md b/docs/ecolyo/application/deploy.md index ee0f73221de2dfb858844d0c9edd969efb24fb8e..e401871261b2ee2344ab1eba472f8a481dd9ea83 100644 --- a/docs/ecolyo/application/deploy.md +++ b/docs/ecolyo/application/deploy.md @@ -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/) diff --git a/docs/ecolyo/getting_started/setup_your_environment.md b/docs/ecolyo/getting_started/setup_your_environment.md index 4716e09f6d089a1bf5c5c17cd3ae8d8165913210..7f056ebb5bde9665be7fdc65d700653515fcdf83 100644 --- a/docs/ecolyo/getting_started/setup_your_environment.md +++ b/docs/ecolyo/getting_started/setup_your_environment.md @@ -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.