|
# 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.
|
|
|
|
![Screenshot_2020-11-07_at_10.50.49_PM](uploads/7088156e80d277263ebb8cd9f28e6883/Screenshot_2020-11-07_at_10.50.49_PM.png)
|
|
|
|
|
|
* From the Windows GUI, go to Settings, System, About.
|
|
|
|
* You should see your System Details in the Window. ![Screenshot_2020-11-07_at_10.50.49_PM](https://gitlab.iotiot.in/newbies/coding-workspace/wikis/uploads/7088156e80d277263ebb8cd9f28e6883/Screenshot_2020-11-07_at_10.50.49_PM.png)
|
|
|
|
|
|
|
|
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.
|
|
![Screenshot_2020-11-07_at_10.51.21_PM](uploads/ea57bdd4eef4ed9ef634f1f4fce01730/Screenshot_2020-11-07_at_10.51.21_PM.png)
|
|
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.
|
|
![Screenshot_2020-11-07_at_10.52.14_PM](uploads/5ce8ac779eade2400573a51f538b2d87/Screenshot_2020-11-07_at_10.52.14_PM.png)
|
|
* 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.
|
|
|
|
![Screenshot_2020-11-07_at_10.52.39_PM](uploads/3654e3150cb3d5643955f27387bbc5de/Screenshot_2020-11-07_at_10.52.39_PM.png)
|
|
|
|
|
|
|
|
- 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.
|
|
|
|
![Screenshot_2020-11-07_at_10.53.03_PM](uploads/8a7bb5ebd336d24397ca5f091a59ce4b/Screenshot_2020-11-07_at_10.53.03_PM.png)
|
|
|
|
|
|
|
|
4. After the install completes, Click on close and Log out.
|
|
|
|
![Screenshot_2020-11-07_at_10.53.26_PM](uploads/ca6ec219e753c6a16eb6112854ab2fb7/Screenshot_2020-11-07_at_10.53.26_PM.png)
|
|
|
|
|
|
|
|
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.
|
|
|
|
![remote-develop](upload/5.png)
|
|
|
|
|
|
|
|
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.
|
|
|
|
![Screenshot_2020-11-07_at_10.54.04_PM](uploads/6190088b42691afc81b254de395304bc/Screenshot_2020-11-07_at_10.54.04_PM.png)
|
|
|
|
|
|
|
|
## 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.
|
|
|
|
|
|
|
|
![Screenshot_2020-11-07_at_10.54.25_PM](uploads/edcdc05de95890b2c3d5c0701587a705/Screenshot_2020-11-07_at_10.54.25_PM.png)
|
|
|
|
|
|
|
|
4. Select the `UbuntuVM.ova` in the File option. Click on Next.
|
|
|
|
|
|
|
|
![Screenshot_2020-11-07_at_10.54.50_PM](uploads/1d7d4bdb423d9b31c1f29c3ecfa900ab/Screenshot_2020-11-07_at_10.54.50_PM.png)
|
|
|
|
|
|
|
|
5. Click on Import to install Ubuntu 16.04 VM.
|
|
|
|
|
|
|
|
![Screenshot_2020-11-07_at_10.55.09_PM](uploads/87e9a2cd054eafb2cd8b4881e504ee7a/Screenshot_2020-11-07_at_10.55.09_PM.png)
|
|
|
|
|
|
|
|
6. Installing will take some time.
|
|
|
|
|
|
|
|
![Screenshot_2020-11-07_at_10.55.33_PM](uploads/a471863c0f5ab76813a6ffd601fad91f/Screenshot_2020-11-07_at_10.55.33_PM.png)
|
|
|
|
|
|
|
|
7. After the installtion is done you will see "Test Ubuntu" listed in your Virtualbox
|
|
|
|
|
|
|
|
![Screenshot_2020-11-07_at_10.55.54_PM](uploads/ac1ff54cbcc82e858ae8ad47a01c1f67/Screenshot_2020-11-07_at_10.55.54_PM.png)
|
|
|
|
|
|
|
|
8. Click on Start to Start the Ubuntu VM.
|
|
|
|
|
|
|
|
9. Login with password `test`.
|
|
|
|
|
|
|
|
![Screenshot_2020-11-07_at_10.56.30_PM](uploads/6d4502f927a1bcef4971ba877af36f3f/Screenshot_2020-11-07_at_10.56.30_PM.png)
|
|
|
|
|
|
|
|
## 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.
|
|
|
|
![Screenshot_2020-11-07_at_10.56.50_PM](uploads/a8d9c608ccab1ce256b8c7cccdf042a7/Screenshot_2020-11-07_at_10.56.50_PM.png)
|
|
|
|
|
|
|
|
1. Install the Remote Development plug-in.
|
|
|
|
1. Once Installed you can exit the Vscode.
|
|
|
|
|
|
</details> |
|
</details> |