|
|
|
# Installing tools for Windows
|
|
|
|
|
|
|
|
This guide will help you install these tools for windows
|
|
|
|
1. WSL 2
|
|
|
|
2. VScode
|
|
|
|
3. Docker
|
|
|
|
|
|
|
|
These tools will help you do practical for the respective module.
|
|
|
|
|
|
|
|
## Enable WSL feature in Windows
|
|
|
|
|
|
|
|
**Requirements**:
|
|
|
|
1. Windows 10 version 1903 or higher, if Windows 10 version 1903 then with Build 18362 or higher.
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
1. Press `Windows key` and Search for Powershell.
|
|
|
|

|
|
|
|
2. Click on "Run Powershell as Administrator". A blue terminal window will open up.
|
|
|
|
3. Enable WSL with powershell, by running command
|
|
|
|
```powershell
|
|
|
|
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
|
|
|
|
```
|
|
|
|
4. Enable Virtual machine settings for WSL
|
|
|
|
```powershell
|
|
|
|
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
|
|
|
|
```
|
|
|
|

|
|
|
|
5. Update to WSL version 2.
|
|
|
|
- Download the WSL kernel update - https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
|
|
|
|
- Install the update, by double clicking the `wsl_update_x64.msi` file.
|
|
|
|
- Set default as WSL 2, by running the command in powershell.
|
|
|
|
```powershell
|
|
|
|
wsl --set-default-version 2
|
|
|
|
```
|
|
|
|
6. After this you can exit the powershell terminal window.
|
|
|
|
|
|
|
|
## Install Ubuntu 16.04 on WSL
|
|
|
|
1. Open the link in browser - https://www.microsoft.com/store/apps/9pjn388hp8c9
|
|
|
|
2. Click on Get Ubuntu 16.04.
|
|
|
|

|
|
|
|
3. Once the download is done then click on Launch.
|
|
|
|
4. This will open up a black terminal, the terminal will ask you for your username and password.
|
|
|
|
5. Enter your username and desired password.
|
|
|
|
6. And at the end the terminal will display your username in geeen.
|
|
|
|

|
|
|
|
7. Type `exit` on the terminal to close the terminal.
|
|
|
|
|
|
|
|
## Installing Vscode
|
|
|
|
1. Download VScode from link - https://code.visualstudio.com/download
|
|
|
|
2. Install VScode by double clicking on the `VSCodeUserSetup-x64-1.50.1` file.
|
|
|
|
3. Open VScode.
|
|
|
|
4. Select Extensions and Search for Remote Development.
|
|
|
|

|
|
|
|
|
|
|
|
## Installing Docker
|
|
|
|
1. Download Docker for Desktop, by visiting the link - https://hub.docker.com/editions/community/docker-ce-desktop-windows/ and clicking "Get Docker".
|
|
|
|
2. Install Docker by double clicking on the `Docker Desktop Installer` file.
|
|
|
|
3. Installer will start installing the docker.
|
|
|
|

|
|
|
|
4. After the install completes, Click on close and Log out.
|
|
|
|

|
|
|
|
5. This will log you out of your Windows and you will have to login again.
|
|
|
|
6. That is it done you have successfully installed Docker. |