[Link].
: 01 Install VirtualBox/VMware Workstation with different flavours
of Linux or windows OS on top of windows.
Date:
Aim:
Procedure:
Downloading and installing VMware
Step1: Download the latest version of VMware from Oracle VirtualBox Manager from the
official Oracle VirtualBox for windows or Linux.
Step2: Install Oracle VirtualBox
Step3: Accept the terms and conditions of the license agreement and then click Next.
Step4: Edit default settings that can improve your user experience and then click Next.
Step5: Create shortcuts for Oracle VirtualBox Manager 7.2.6 in desktop or start menu or both
if needed and click Next.
Step6: Now you are finally ready to install the Oracle VirtualBox Manager and click
Install.
Step7: Now the Oracle VirtualBox Setup is complete if you have click Finish.
Downloading Ubuntu
Step8: Now we have to download OS to run above host OS. Here we are downloading
Ubuntufromtheofficialsite.Ubuntu20.04LTSis downloaded
Step9: Open the Oracle VirtualBox Manager and create a new virtual machine by click on the
NEW.
Step10: Now to install guest OS on VMware give a VM name and then check Installer ISO
image file and browse the path where the Ubuntu is downloaded and then Click Next.
Step11: Fix the hardware size that you want to run for the ubuntu software and then click onto
next.
Step12: Create a virtual hard disk and fix the size for the virtual hard disk.
Step13: Start the Ubuntu in the Oracle Virtual Machine.
Step14: Thus, which start the running of the ubuntu software on the Oracle Virtual Machine.
Step15: Installing Ubuntu on VMware
Step16: Login in by entering the username and password that you have registered.
Step17: Thus, we have installed Oracle Virtual Machine with different flavours of Linux on
top of windows.
Result:
[Link].: 02 Install a C compiler in the virtual machine
Date: and execute a simple program
Aim:
Procedure:
Step1: Create a NEW Virtual Machine and name it as Sparky Linux. Then give the folder where the
software is setup is stored.
Step2: Give the memory of the Sparky Linux that you want to run in the Virtual Machine.
Step3: Give the file location and the size of the file to create in the Virtual Machine.
Step4: Choose the Sparky Linux US English and wait for the Sparky Linux to open.
Step5: Now the Sparky Linux is ready.
Step 6: Open the terminal and create a new c file.c.
Step 7: Create a simple c program for simple arithmetic operation.
Step 8: Run and compile the program with the commands (cc file.c and ./[Link])
Step 9: Thus, the working of the simple c program is executed in the Oracle Virtual Machine.
Result:
EX. No.: 03
Installation of a Google App Engine
Date:
Aim:
Procedure:
Step 1: Login to Google Cloud Platform.
Step 2: Create a New project and give a name for the project.
Step 3: After Creating the new project open the terminal and run the command for cloning
the sample git-repo “git clone [Link]
samples”
Step 4: Change the directory to run the Hello world program “cd python-docs-
samples/appengine/standard_python3/hello_world” and then run “pip install flask”
Step 5: Now install the flask using this command “python [Link]”
Step 6: Thus, the output is viewed in the new window.
Result:
EX. No.: 04
Date: Use GAE launcher to launch the Web Application
Aim:
Procedure:
Step 1: Open Cloud SDK terminal then initializes configuration and sign in using command.
>gcloud init
Step 2: Create a new project, by giving the choice as 3. Enter the name of the project(the
project must have a unique name and should have only lowercase letters) eg:
newproject261000
Step 3: Set your project using command:
>gcloud config set project [projectname]
Step 4: Install app-engine-python using command:
>gcloud components install app-engine-python
Another cmd will pop up to install the package and give the y command to make the
installation successful.
Step 5: Make a new directory and open it using command:
>mkdir my-flask-app && cd my-flask-app
Step 6: Create a new python file using the command:
>notepad [Link](will open notepad)
Step 7: Create a .yaml file to define which language to use:
>notepad [Link]
Step 8: Create a [Link] file to install the packages:
>notepad [Link]
Step 9: Create a virtual environment and activate it. Then install flask module using following commands:
1. >python -m venv venv
2. >venv\Scripts\activate
3. >pip install -r [Link]
4.
Step 10: Run the python file:
>python [Link]
Result: