Installation of Virtual Machine
Installation of Virtual Machine
Task1
Procedure of Installation of VMware:
Steps:
Step1:
Open website of VMware as link is given:http://www.vmware.com/ and click on products.
Step2:
After that, click the download button.
Step3:
Then go to downloads.
Step4:
When downloading is completed, then run the exe file.
Step5:
Start clicking on next button.
Step6:
After that, click the install button.
Step7:
Now we need to restart out computer so I restarted my laptop.
Step8:
Then continue the use of "VMware workstation player 17 for non-commercial use".
Step9:
After that, VMware is installed on PC.
step1:
First of all, I have opened VMware Workstation 17 player.
Step2:
After that I have created new virtual machine. Then, I selected the radio button of "I will install the operating
system later". then select next button.
Step3:
Now I have selected radio button " Linux" as a guest operation system. Then select next.
Step4:
Now I have write the name of Virtual machine name and selected its path.
Step5:
Then I have selected the specify disk capacity(25) and select "split virtual disk into multiple files". Select next
button.
Step6:
Then I have Clicked "Continue Hardware".
Step7:
Then I have selected the iso file.
Step8:
After that, we I clicked close button.
Step9:
Then we clicked finish button.
Step10:
After that, I played virtual machine.
Step11:
After that, loading is started.
Step12:
Loading is continued.
Step13:
After that, I have selected radio button "Normal installation" and "Download update while installing
Ubuntu".
Step14:
After that, I have selected installing type " Erase disk and install Ubuntu".
Step15:
Then I have selected my location.
Step16:
After that calculation of files for skipping copies is started.
Step17:
Then copying of files is started.
Step18:
At last, I have installed Ubuntu.
Task2
g++ Installation on Ubuntu:
Steps:
Steps:
Step1:
when g++ is not installed on ubuntu, then I have used a command due to which some basic essentials are
installed.
Step2:
After using "sudo apt install build essential" command, g++ is not installed yet. Then I have used another
command that is used for getting updates.
Step4:
Now I am executing my c++ file for confirming that g++ is installed. The Factorial.cpp file is given below.
Now, I have shown you that factorial.cpp is converted to factorial_OS file and I run it and find factorial of 12.