|
# Installing tools for Windows
|
|
# Installing tools for Windows
|
|
|
|
|
|
|
|
|
|
## Check the version of Windows
|
|
## Check the version of Windows
|
|
|
|
|
|
To Check the Windows 10 version and build Info along with its System Type,
|
|
To Check the Windows 10 version and build Info along with its System Type,
|
|
|
|
- From the Windows GUI, go to Settings, System, About.
|
|
|
|
- You should see your System Details in the Window.
|
|
|
|

|
|
|
|
|
|
* From the Windows GUI, go to Settings, System, About.
|
|
|
|
* You should see your System Details in the Window. 
|
|
|
|
|
|
|
|
If your System Details are
|
|
If your System Details are
|
|
|
|
|
|
1. Windows 10 version 1903 or higher, if Windows 10 version 1903 then with Build 18362 or higher.
|
|
1. Windows 10 version 1903 or higher, if Windows 10 version 1903 then with Build 18362 or higher.
|
|
1. Windows 10 System type: 64-bit.
|
|
2. Windows 10 System type: 64-bit.
|
|
1. Windows 10 Home or Windows 10 Pro
|
|
3. Windows 10 Home or Windows 10 Pro
|
|
|
|
|
|
### If your **System meets all the above requirements**, then follow the guide below.
|
|
### If your **System meets all the above requirements**, then follow the guide below.
|
|
|
|
|
|
<details>
|
|
<details>
|
|
<summary>Click to see your steps!</summary>
|
|
<summary> <h4> Click to see your steps! <h4> </summary>
|
|
|
|
|
|
## Installing WSL 2
|
|
## Installing WSL 2
|
|
|
|
|
|
1. Press `Windows key` and Search for Powershell.
|
|
1. Press `Windows key` and Search for Powershell.
|
|
1. Click on "Run as Administrator". A blue terminal window will open up.
|
|

|
|
1. Enable WSL with powershell, by running command in powershell
|
|
|
|
|
|
|
|
|
|
2. Click on "Run as Administrator". A blue terminal window will open up.
|
|
|
|
|
|
|
|
3. Enable WSL with powershell, by running command in powershell
|
|
```powershell
|
|
```powershell
|
|
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
|
|
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
|
|
```
|
|
```
|
|
1. Enable Virtual machine settings for WSL, by running the below command in powershell
|
|
4. Enable Virtual machine settings for WSL, by running the below command in powershell
|
|
|
|
|
|
```powershell
|
|
```powershell
|
|
Enable-WindowsOptionalFeature -Online -FeatureName $("VirtualMachinePlatform","Microsoft-Windows-Subsystem-Linux")
|
|
Enable-WindowsOptionalFeature -Online -FeatureName $("VirtualMachinePlatform","Microsoft-Windows-Subsystem-Linux")
|
|
```
|
|
```
|
|
|
|
|
|
This command will ask you to restart your computer. Press `y` and restart your computer.
|
|
This command will ask you to restart your computer. Press `y` and restart your computer.
|
|
1. 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.
|
|
5. Update to WSL version 2.
|
|
* Press `Windows key` and Search for Powershell.
|
|
- Download the WSL kernel update - https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
|
|
* Click on "Run as Administrator". A blue terminal window will open up.
|
|
- Install the update, by double clicking the `wsl_update_x64.msi` file.
|
|
* Set default as WSL 2, by running the command in powershell.
|
|
|
|
|
|
- Press `Windows key` and Search for Powershell.
|
|
|
|

|
|
|
|
|
|
|
|
- Click on "Run as Administrator". A blue terminal window will open up.
|
|
|
|
|
|
|
|
- Set default as WSL 2, by running the command in powershell.
|
|
```powershell
|
|
```powershell
|
|
wsl --set-default-version 2
|
|
wsl --set-default-version 2
|
|
```
|
|
```
|
|
1. Check if WSL is successfully installed by running command, in powershell
|
|
6. Check if WSL is successfully installed by running command, in powershell
|
|
|
|
|
|
```powershell
|
|
```powershell
|
|
wsl -l
|
|
wsl -l
|
|
```
|
|
```
|
|
1. After this you can close the powershell terminal window.
|
|
|
|
|
|
|
|
## Installing Docker
|
|
7. After this you can close the powershell terminal window.
|
|
|
|
|
|
|
|
## 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".
|
|
1. Download Docker for Desktop, by visiting the link - https://hub.docker.com/editions/community/docker-ce-desktop-windows/ and clicking "Get Docker".
|
|
1. Install Docker by double clicking on the `Docker Desktop Installer` file.
|
|
|
|
1. Installer will start installing the docker.
|
|
|
|
1. After the install completes, Click on close and Log out.
|
|
|
|
1. This will log you out of your Windows and you will have to login again.
|
|
|
|
1. Check if the Docker is installed by running **Docker Desktop** app.
|
|
|
|
1. That is it done you have successfully installed Docker.
|
|
|
|
|
|
|
|
## Installing Vscode
|
|
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. Check if the Docker is installed by running **Docker Desktop** app.
|
|
|
|
|
|
|
|
7. That is it done you have successfully installed Docker.
|
|
|
|
|
|
|
|
## Installing Vscode
|
|
1. Download VScode from link - https://code.visualstudio.com/download
|
|
1. Download VScode from link - https://code.visualstudio.com/download
|
|
1. Install VScode by double clicking on the `VSCodeUserSetup-x64-1.50.1` file.
|
|
|
|
1. Open VScode.
|
|
2. Install VScode by double clicking on the `VSCodeUserSetup-x64-1.50.1` file.
|
|
1. Select Extensions and Search for Remote Development.
|
|
|
|
1. Install the Remote Development plugin.
|
|
3. Open VScode.
|
|
1. Once Installed you can exit the Vscode.
|
|
|
|
|
|
4. Select Extensions and Search for Remote Development.
|
|
|
|

|
|
|
|
|
|
|
|
5. Install the Remote Development plugin.
|
|
|
|
6. Once Installed you can exit the Vscode.
|
|
|
|
|
|
|
|
|
|
</details>
|
|
</details>
|
|
|
|
|
|
### If your **System does not meet the above requirements**, then follow the guide below.
|
|
### If your **System does not meet the above requirements**, then follow the guide below.
|
|
|
|
|
|
<details>
|
|
<details>
|
|
<summary>Click to see your steps!</summary>
|
|
<summary> <h4> Click to see your steps! <h4> </summary>
|
|
|
|
|
|
|
|
## Installing Virtualbox on Windows 10
|
|
|
|
|
|
|
|
1. Download Virtualbox by clicking on this link - https://download.virtualbox.org/virtualbox/6.1.16/VirtualBox-6.1.16-140961-Win.exe
|
|
|
|
|
|
|
|
2. Install virtualbox by double-clicking the file `VirtualBox-6.1.16-140961-Win.exe`
|
|
|
|
|
|
|
|
3. Run the Virtualbox from your Desktop to confirm that the Virtualbox has been installed.
|
|
|
|

|
|
|
|
|
|
|
|
## Installing Ubuntu 16.04 in Virtualbox
|
|
|
|
1. Download the VMSDK file, by clicking on this link - http://148.251.91.243/downloads/UbuntuVM.ova.zip
|
|
|
|
- Note: **Download size is 4.1GB**, make sure you have high speed Internet and are able to download 4.5 GB
|
|
|
|
|
|
|
|
2. Extract `UbuntuVM.ova.zip` file, by Right-Click --> Extract. There should be a new file named `UbuntuVM.ova` with the size of 4.4 GB.
|
|
|
|
|
|
|
|
3. Open Virtualbox, Go to File --> Import Appliance.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
4. Select the `UbuntuVM.ova` in the File option. Click on Next.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
5. Click on Import to install Ubuntu 16.04 VM.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
6. Installing will take some time.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
7. After the installtion is done you will see "Test Ubuntu" listed in your Virtualbox
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
8. Click on Start to Start the Ubuntu VM.
|
|
|
|
|
|
|
|
9. Login with password `test`.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
## Installing Vscode
|
|
|
|
1. Make sure that you are inside the Ubuntu 16.04 VM.
|
|
|
|
1. Download VScode `.deb` file from link - https://code.visualstudio.com/download
|
|
|
|
|
|
|
|
1. Install VScode by double clicking on the `code_1.50.1-1602600906_amd64.deb` file.
|
|
|
|
|
|
|
|
1. Open VScode.
|
|
|
|
|
|
|
|
1. Select Extensions and Search for Remote Development.
|
|
|
|

|
|
|
|
|
|
|
|
1. Install the Remote Development plug-in.
|
|
|
|
1. Once Installed you can exit the Vscode.
|
|
|
|
|
|
</details> |
|
</details> |