0% found this document useful (0 votes)
46 views50 pages

Nafisa Farooqui CC Manual

The document appears to be a report submitted by Nafisa Farooqui, student of MCA at SNDT Women's University in Mumbai, for her Cloud Computing Lab course. The report describes the steps taken to complete 4 practical assignments - installing Google App Engine and creating web applications using it, launching the web applications using the App Engine launcher, setting up Hadoop in pseudo-distributed and fully distributed modes, and installing Oracle VirtualBox and setting up different Linux and Windows operating systems as virtual machines. Screenshots are provided as evidence of completing the steps for each practical.

Uploaded by

mansimali73
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views50 pages

Nafisa Farooqui CC Manual

The document appears to be a report submitted by Nafisa Farooqui, student of MCA at SNDT Women's University in Mumbai, for her Cloud Computing Lab course. The report describes the steps taken to complete 4 practical assignments - installing Google App Engine and creating web applications using it, launching the web applications using the App Engine launcher, setting up Hadoop in pseudo-distributed and fully distributed modes, and installing Oracle VirtualBox and setting up different Linux and Windows operating systems as virtual machines. Screenshots are provided as evidence of completing the steps for each practical.

Uploaded by

mansimali73
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 50

M.C.A NAFISA FAROOQUI Roll No.

13

S.N.D.T WOMEN’S UNIVERSITY


JUHU MUMBAI -490004

P.G DEPARTMENT OF COMPUTER SCIENCE (MCA)

SUBJECT: 3203 –CLOUD COMPUTING LAB

SUBMITTED BY: NAFISA FAROOQUI

ROLL NO. – MC2213

SUBMITTED TO: - Ms. REEBA KHAN MA’AM

CLASS: SYMCA – SEM 3

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

PRACTICAL NO.01

AIM : INSTALL GOOGLE APP ENGINE .CREATE HELLO WORLD APP AND OTHER WEB
APPLICATIONS USING PYTHON AND JAVA

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13
PRACTICAL NO.02

AIM : USE GOOGLE APP ENGINE LAUNCHER TO LAUNCH THE WEB APPLICATIONS

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13
PRACTICAL NO.03
AIM: Perform setting up and install HADOOP in its two operating modes, Pseudo-
distributed and fully distributed.
Hadoop
The Apache Hadoop software library is a framework that allows for the distributed processingof large data
sets across clusters of computers using simple programming models. It is designedto scale up from single
servers to thousands of machines, each offering local computation andstorage. Rather than rely on hardware
to deliver high-availability, the library itself is designedto detect and handle failures at the application layer,
so delivering a highly-available service on top of a cluster of computers, each of which may be prone to
failures.

Setting up HADOOP
Prerequisite
1. Java
2. SSH
Before any other steps, we need to set the java environment variable, this can be done in windows from the
system variables window or on linux by adding the following to the variablesfile:
export JAVA_HOME=/usr/java/latest

Download and extract the HADOOP binaries.

1 wget http://apache.claz.org/hadoop/common/hadoop-3.1.2/
2 hadoop-3.1.2.tar.gz
3 tar xzf hadoop-3.1.2.tar.gz
4 hadoop-3.1.2/* to hadoop/

Pseudo-distributed mode
1. Add the following variables to the system variable file

1 export HADOOP_HOME=/usr/local/hadoop
2 export HADOOP_MAPRED_HOME=$HADOOP_HOME
3 export HADOOP_COMMON_HOME=$HADOOP_HOME
4
5 export HADOOP_HDFS_HOME=$HADOOP_HOME
6 export YARN_HOME=$HADOOP_HOME
7 export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOM
E/lib/native
8 export PATH=$PATH:$HADOOP_HOME/sbin:$HADOOP_HOME/bi
n
9 export HADOOP_INSTALL=$HADOOP_HOME
2. Configure HADOOP files
a. Change to the Hadoop directory/etc/Hadoop
b. Add the following to the hadoop-env.sh file
export JAVA_HOME=/usr/local/jdk1.7.0_71

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

c. Edit the following config files


core-site.xml

hdfs-site.xml

yarn-site.xml

mapred-site.xml

a. Verifying the installation

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Formatting the namenodes

Verifying the HDFS File system

Starting YARN

Accessing the HADOOP bowser and verifying everything.

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Fully distributed mode


1 Configure system and create host files on each node
a. For each node, edit eh /etc/hosts/ file and add the IP addresses of the servers.
2 Distribute the authentication key-pairs to the users
a. Login to the node-master and generate ssh-keys
b. Copy the keys tot the other nodes.
3 Download and extract the HADOOP binaries
4 Set the environment variables (same as pseudo-distributed)
5 Edit the core-site.xml file to set NameNode location

<?xml version="1.0" encoding="UTF-8"?>

<configuration>
<property>
<name>fs.default.name</name>

6 Set the HDFS Paths in hdfs-site.xml

1 <configuration>
2 <property>
3 <name>dfs.namenode.name.dir</name>
4 <value>/home/hadoop/data/nameNode</value>
5 </property>
6
7 <property>
8 <name>dfs.datanode.data.dir</name>
9 <value>/home/hadoop/data/dataNode</value>
10 </property>
11
12 <property>
13 <name>dfs.replication</name>
14 <value>1</value>
15 </property>
16 </configuration>

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

7 Set the Job scheduler (same as pseudo-distributed)


8 Configure YARN in yarn-site.xml

1 <configuration>
2 <property>
3 <name>yarn.acl.enable</name>
4 <value>0</value>
5 </property>
6
7 <property>
8 <name>yarn.resourcemanager.hostname</name>
9 <value>node-master</value>
10 </property>
11
12 <property>
13 <name>yarn.nodemanager.aux-services</name>
14 <value>mapreduce_shuffle</value>
15 </property>
16 </configuration>

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13
PRACTICAL NO.04

AIM : INSTALL VIRTUALBOX OR VMWARE WORKSTATION WITH DIFFERENT FLAVORS OF


LINUX OR WINDOWS OPERATING SYSTEM ON TOP OF WINDOWS

STEPWISE SCREENSHOT :

STEP 1: INSTALL ORACLE VM VIRTUALBOX

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

STEP 2: DOWNLOAD UBUNTU ISO FILE

STEP 3: ADD NEW VIRTUAL MACHINE

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

STEP 4: INSTALL UBUNTU IN VIRTUAL MACHINE

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13
PRACTICAL NO.05

AIM : INSTALL A C COMPILER IN THE VIRTUAL MACHINE CREATED USING VIRTUAL BOX

STEPWISE SCREENSHOT :

STEP 1: Upgrade the apt list

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

STEP 2: Install GCC AND G++ in the Terminal

STEP 4: Verify the version of GCC AND G++

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

STEP 5: CREATE A .C FILE USING TOUCH COMMAND AND RUN THE CODE

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

STEP 6: CREATE .CPP FILE AND RUN THE OUTPUT

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13
PRACTICAL NO.06

AIM : FIND THE PROCEDURE TO TRANSFER THE FILES FROM ONE VIRTUAL MACHINE TO
ANOTHER VIRTUAL MACHINE

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

SIMILARLY CREATE VM2

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical


M.C.A NAFISA FAROOQUI Roll No. 13

Cloud Computing Semester III Practical

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy