Download as pdf or txt
Download as pdf or txt
You are on page 1of 21

DEPARTMENT OF

COMPUTER SCIENCE & ENGINEERING

Experiment1.1
Student Name: Baddam Deepthi priya UID:21BCS10172
Branch: BE-CSE Section/Group: 21BCS-CC-628-A
Date of Performance:20-01-2024 Semester: 6th
Subject Name: CC&DS Lab Subject Code: 21CSP-378

1. Aim:
Install VirtualBox or VMware Workstation on a windows 7 or 8 Operating System and set up
various flavors of Linux or Windows as virtual machines.
2. Objective:
To Install VirtualBox or VMware Workstation on a windows and set up various flavors of
Linux or Windows as virtual machines.

3. Steps to Install:

Step 1: Download the virtual box

Step 2: once the virtual box is download now install it


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Step 3: once the virtual box is install click on new


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Step 4: Setup all the things with requirements


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Step 5: here is the final screen


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Learning Outcome:
⮚ Learn how to install VirtualBox
⮚ Understand the concept of Virtualization
⮚ Understand how to create Virtual Machines
⮚ Learned to manage and allocate the system resources like RAM, CPU and Disk Space for
Virtual Machines.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment - 1.2
Student Name:Baddam Deepthi priya UID:21BCS10172
Branch:BE-CSE Section/Group:628-A
Date of Performance:20/01/24 Semester:6th
Subject:CC&DS Lab Subject code:21CSP-378
1. Aim:
To install a C compiler within the virtual machine established using VirtualBox
and run basic programs.
2. Objective: Install a C compiler in OS of virtual machine of Host system and
then run a basic c program.

3. Steps to Install:
Step 1: Set Up a Virtual Machine:
• Download and install VirtualBox on your host machine.
• Create a new virtual machine within VirtualBox.
• Install an operating system on the virtual machine (e.g., Ubuntu, Fedora,
etc.). You can download the ISO image of the OS from their official
websites. For this experiment I installed linux lite.

Step 2: Start the Virtual Machine:


• Start the virtual machine and log in to the operating system.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Step 3: Update the Package Manager:


• Open a terminal on your virtual machine.
• Run the following commands to update the package manager:
sudo apt # For Debian/Ubuntu-based
update systems

Step 4: Install the C Compiler (GCC):

• Run the following command to install the GCC compiler:


sudo apt install build- # For Debian/Ubuntu-based This will
essential systems install the
necessary
tools and libraries for compiling C programs.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
Step 5: Write and Compile a Basic C Program:
• Use a text editor to write a simple C program (e.g., use nano, vim, or gedit).
• Save the program with a .c extension, for example, file.c.
• Write a basic printf program:

Step 6: Open a terminal and navigate to the directory where you saved your C
program.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

• Compile the program using the following command: gcc file.c -o file
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Step 7 : Run the compiled program:


DEPARTMENT OF

COMPUTER SCIENCE & ENGINEERING

Learning Outcome:
 Understand how to create Virtual Machines with OS.
 Learned how to use linux terminal.
 Learned how to install various resources in linux.
 Wrote a basic C program on text editor and compiled it on gcc using linux
terminal.
 Executed a basic C program.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment - 1.3
Student Name:Baddam Deepthi priya UID:21BCS10172
Branch:BE-CSE Section/Group:628-A
Date of Performance:25/01/24 Semester:6th
Subject:CC&DS Lab Subject code:21CSP-378
1. Aim: : Installation of Cloud Sim tool and IDE

2. Objective: Install eclipse, cloud sim 3.0.3 ,common math 3.6.1,extract the
cloud sim in the eclipse IDE.

3. Steps to Install:
Step 1: First step is Download eclipse,cloud sim 3.0.3 and common math3.6.1
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
Step 2: extract the files which we have downloaded i.e eclipse, cloud sim 3.0.3, and
common math3. 6.1

Step 3:next go to eclipse and install eclipse java IDE, After the installation , go to file
and new and select java Project
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Step 4: Now a detailed new project window will open, here you will provide the
project name and the path of the CloudSim project source code, which will be done
as follows:

• Project Name: Priya


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Which we have downloaded the three applications of common math and cloud sim we
have to extract those files and select the file in java new project and disable the default
location in the new project next brose the browse the files which we have downloaded
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Finally the new project which we have extracted in the eclipse are successfully
completed.

Learning outcomes:

1. In this experiment we learnt about the istallations of the eclipse

2. And also how to down load cloud sim and common math

3. How to extract the cloudsim and common math in the eclipse IDE
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment- 1.4

Student Name: Baddam Deepthi priya UID: 21BCS10172


Branch: CSE Section/Group: 21BCS CC 628 -A
Semester: 6th Date of Performance: 19/02/24
Subject Name: Cloud Computing & Distributed Systems Subject Code: 21CSP-378

1. Aim : Use of GAE launcher to launch the web applications.

2. Objective : To use GAE launcher and run apps using google cloud console.

3. Software Used : Google Cloud Platform , Google App Engine , GitHub.

4. Theory : Google App Engine is a cloud computing platform as a service for developing and
hosting web applications in Google-managed data centers. Applications are run across multiple
servers. App Engine offers automatic scaling for web applications—as the number of requests
increases for an application, App Engine automatically allocates more resources for the web
application to handle the additional demand.

5. Steps/Procedure :

1. Open the Google App Engine from Google Cloud Platform Website.
2. Now click on the Console option.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

3. Click on the Active Cloud Shell to Open the terminal.

4. Now go to GitHub and create a new github repository, In the GitHub repository create or upload
the code files of your Application.

5. Now Click on Code and Copy the HTTPS repository URL. (https://github.com/LakshaySindhu/
gae-launcher.git)
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

5. Now move back to Console on google cloud platform and type command in the terminal :
git clone https://github.com/LakshaySindhu/gae-launcher.git.

6. Now type “ls” in the terminal to list all the files and folder and type cd “gas-launcher” to change
your directory.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

7. Now type following commands to run your application :


ls
g++ -o gae-launcher.out gae-launcher.cpp
./gae-launcher.out

Result : The Resultant file runs successfully on the terminal of google app engine.

Learning Outcomes:

1. Learnt about google cloud platform.


2. Learnt about google app engine and gae launcher.
3. Learnt how to host web applications on Google App Engine.
4. Learnt about GitHub and git commands.
5. Learnt how to run application using console of google cloud.

You might also like