|
|
|
# Installing Tools for the Pre-office Office
|
|
|
|
|
|
|
|
This guide will help you install tools for Pre-office Office module.
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
1. Laptop
|
|
|
|
2. Good Internet connection.
|
|
|
|
3. Atleast 60 mins of free time.
|
|
|
|
|
|
|
|
|
|
|
|
## Step 1 : Check the version of Windows
|
|
|
|
|
|
|
|
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.
|
|
|
|
![1_YyuULsN5nx7JZi7xw36K1Q](/uploads/c2f20a461122eac47f7cbdaf48c6f632/1_YyuULsN5nx7JZi7xw36K1Q.png)
|
|
|
|
|
|
|
|
|
|
|
|
If your System Details are
|
|
|
|
1. Windows 10 version 1903 or higher, if Windows 10 version 1903 then with Build 18362 or higher.
|
|
|
|
2. Windows 10 System type: 64-bit.
|
|
|
|
|
|
|
|
If your **System meets all the above requirements**, then follow the guide below.
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>Click to see your steps!</summary>
|
|
|
|
|
|
|
|
## Installing WSL 2
|
|
|
|
|
|
|
|
1. Press `Windows key` and Search for Powershell.
|
|
|
|
![powershell](upload/3.png)
|
|
|
|
|
|
|
|
2. Click on "Run 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
|
|
|
|
Enable-WindowsOptionalFeature -Online -FeatureName $("VirtualMachinePlatform","Microsoft-Windows-Subsystem-Linux")
|
|
|
|
```
|
|
|
|
This command will ask you to restart your computer. Press `y` and restart your computer.
|
|
|
|
![enable-vm-wsl](upload/6.png)
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
- Press `Windows key` and Search for Powershell.
|
|
|
|
![powershell](upload/3.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
|
|
|
|
wsl --set-default-version 2
|
|
|
|
```
|
|
|
|
6. Check if WSL is successfully installed by running command, in powershell
|
|
|
|
|
|
|
|
```powershell
|
|
|
|
wsl -l
|
|
|
|
```
|
|
|
|
|
|
|
|
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".
|
|
|
|
|
|
|
|
2. Install Docker by double clicking on the `Docker Desktop Installer` file.
|
|
|
|
|
|
|
|
3. Installer will start installing the docker.
|
|
|
|
![installing-docker](upload/12.png)
|
|
|
|
|
|
|
|
4. After the install completes, Click on close and Log out.
|
|
|
|
![installing-docker](upload/13.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
|
|
|
|
|
|
|
|
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.
|
|
|
|
![remote-develop](upload/5.png)
|
|
|
|
|
|
|
|
5. Install the Remote Development plugin.
|
|
|
|
6. Once Installed you can exit the Vscode.
|
|
|
|
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
If your **System does not meet the above requirements**, then follow the guide below.
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>Click to see your steps!</summary>
|
|
|
|
|
|
|
|
## Installing Virtualbox
|
|
|
|
|
|
|
|
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.
|
|
|
|
![vb](upload/Selection_0246.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.
|
|
|
|
|
|
|
|
![vm](upload/Selection_0246.png)
|
|
|
|
|
|
|
|
4. Select the `UbuntuVM.ova` in the File option. Click on Next.
|
|
|
|
|
|
|
|
![vm2](upload/Selection_0261.png)
|
|
|
|
|
|
|
|
5. Click on Import to install Ubuntu 16.04 VM.
|
|
|
|
|
|
|
|
![vm3](upload/Selection_0271.png)
|
|
|
|
|
|
|
|
6. Installing will take some time.
|
|
|
|
|
|
|
|
![vm4](upload/Selection_0281.png)
|
|
|
|
|
|
|
|
7. After the installtion is done you will see "Test Ubuntu" listed in your Virtualbox
|
|
|
|
|
|
|
|
![vm5](upload/Selection_0291.png)
|
|
|
|
|
|
|
|
8. Click on Start to Start the Ubuntu VM.
|
|
|
|
|
|
|
|
9. Login with password `test`.
|
|
|
|
|
|
|
|
![vm6](upload/Selection_031.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.
|
|
|
|
![remote-develop](upload/5.png)
|
|
|
|
|
|
|
|
1. Install the Remote Development plug-in.
|
|
|
|
1. Once Installed you can exit the Vscode.
|
|
|
|
|
|
|
|
</details> |
|
|
|
\ No newline at end of file |