0% found this document useful (0 votes)
29 views59 pages

CCWS Practical File - Ocr

Uploaded by

rajneshpatil0
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)
29 views59 pages

CCWS Practical File - Ocr

Uploaded by

rajneshpatil0
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/ 59

Sub:-

Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Practical
Practical No:-1
No:-1

Aim:- Define
Aim:- Define a a simple
simple Service
Service like
like Converting
Converting Rs
Rs into
into Dollar
Dollar and
and Call
Call it
it from
from different
different
platform
platform like java and
like java and .Net
.Net

Steps:-
Home Share

View Navigate Source

Services

} Web Pages Authentication


9D wer
[) index.html No Authentication
(@] nenjsp.jsp
B Source Packages An empty project template for creating ASP.NET applications.
This template does not have any content in it.
B
Þ Libraries
BB Web Service References Web Forms
A project template for creating ASP.NET Web Forms applications. ASP.NET Web Forms lets you build dynamic Add folders & core references
websites using a familiar drag-and-drop, event-driven model. A design surface and hundreds of controls and
components let you rapidly build sophisticated, powerful Ul-driven sites with data access.
MVC
[7] Web API
MVC
A project template for creating ASP.NET MVC applications. ASP.NET MVC allows youto build appl
using the Model-View-Controller architecture. ASP.NET MVC includes many features that enable
driven developmentfor creating applications that use the latest standards.
Advanced
Web API
af Networl e Dl Docker isgsrenms
support
A project templatefor creating RESTful HTTP services that can reach a broad range of clients including (Requires )
browsers and mobile devices.
Also create a project for unit tests

Single Page Application


A project template for creating rich client side JavaScript driven HTMLS applications using ASP.NET Web API.
Single Page Applications provide
a rich user experience which includes client-side interactions using HTM
CS3, and JavaScript.

Create

als!|s

Zitems | [SE]
> 12:54
AD D Type
Type her toto search
here 5 ‘ . i T2
13-02-2024

= |
File Edit Format

an = Configure your new project


Y Deskte Projects X | Files Services 9 y P J
Downl(FeWe@ _—
Bi Docun © IEEE ASP.NET
Web Application (.NET Framework) <& windows
BS Pictur ©) WEB-IN
[@) index.html Project name
{B)_newjsp.jsp .
BB Source Packages WebApplication2
PI
Þ Libraries Location
B Web Service References
DAkhimesh

Solution name @
K Configuration Files WebApplication2

[7] Place solution and project in the same directory


Navigator x

© an 4 Framework
=-{@)] hear
: = on NET Framework
4.7.2
le
=] body
@] br
@ tr

Create

30:7/14:447

2items | =
ae = 12:54
© Type here to search Oe AB te NG 1, 20 Ft

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

File Edit View Project Build Debug Test Analyze Tools Extensions Window Help pract! Signin &
© - if - BH D9- Debug » = Þ IIS Express (Google Chrome) » G, ~ 14 Live Share
convertrstD.asmx.cs pract! Solution Explorer
TIpract!

G Connected
Þ & Properties

Wl Content
Ii fonts

© Bundle.config
3) Contact.aspx
Specify Name
for Item 2 convertrstD.asmx
£5) Default.aspx
Itemname. [NIST B) favicon.ic
> © Global.
$2 packages.config
Þ FI] Site. Master
m Expl
Properties
pract1 Project Properties
ERP
E Development Server
Always Start When Debuggi False
Anonymous Authentication Enabled
Managed Pipeline Mode Integrated
Show output from: Debug SSL Enabled False
The thread @x292@ h h code @ (9x0).
The thread @x3df8 has exited with code @ (9x@).
The xited with code © (0x8). Windows Authentication Disabled
The exited with code @ (9x0). E Misc
The x: xited with code @ (@x@
The x: xited with code © (@
with code Development Server

A Add to Source Control A


12:53
eng -m > @ 4 NG 0s Fe
Edit View Project Build Debug Test Analyze Tools Extensions Wind Help Sign in &,

S-oaw 9 Debug ~ Any CPU = Þ IIS Express (Google Chrome) 12 Live Share

convertrstD.asmx.cs # X pract! vax


Bl practi +3 Caf 0 =

7) Solution 'pract!' (1 project)


4 Bl practi
Þ Connected Servic
# Properties
References

1 Content
Ii fonts
(Conform cProfile1_1)]
mponentModel
4D Bundle.config
5) Contact.aspx
vertrstD.asmx
A) Default.aspx

© Global.asax
4D packages.config
FI] Site Master
Team Explorer

100% | @®Noissues found


Output
Show output from: Debug
The thread @x2920 has ex: with code © (@x@).
The thread dF h de @ (0x0).
The thread xited with code @
thread @x 0 code @
thread x code @
thread with code @
exited with code -1 (OxfFFfffff).

A Add to Source Control = &


© Type here to search
1253
> @ 4 NG 1302004 F2

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

© 9 GWE”

EEE nese

D
Dr.Priyanka

SOAP 1.1

Oo ocalhesst-50294/Convenson
amen? WSO w) 4 c
8 t . @ swe z — Bu p oO e +

This XML file does not appear to have any style informanon as ated with it The document tree xs shown belov

Jefinit p " Fe. coo/noedl 1 /wnlne/ textrutching t p - x

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

¢ o © alt 1 Wi - 0D

© t e t » o e + x

n
Conversion
for # complete list

RsToDollar
Test

SOAP 1.1

Projects X | Ties | Services Start Page

Protects:

Creates an empty Web application 11 « starsat DE om? A elarnterd project see «


IDE generated build script to 26, un, and debug your project

text> | cancel eo

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Projects X Tiles | Servic: Start Page

© New Project
tops
1. Choose Project A Fiter

Dev tae
Creates an empty Web appheation 1) «
IDE generated bud script ts 2.62, 17

Nest

Refactor Run Debug Profile Team


Manger

Practical |Client

KY hoe <Q body Gen> Gres


Output

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Promete X Mies — | Services


5 En
La Wt
3 "7 New @ Folder

ol! ON
T een and Bas
& brane wy i
Conf. Ned Senne
et
© RESTut Web Ser es trom Eemtty Classe
ave Chess

epley re Package
ebug H Wed Service wsot
Profile Entity Clas

est aut 66 Entity Clazzes fre


© RESTIU Wat Ser

per Required Progect


Close Other -
|

Jelet Delete
are J bad pen > Had
bra Chief
inspect we Tran
even

Propeti«:

&
I

t= ' 1
F projacts Soreicos race : 4
Source *4stor } QUESCWI 4 4 2
3 b Page
2 E 7E
ted
Source Packages © tie
p itr
Configuration Fie Steps Choose Fhe Type
1. Choose
File Type

Next =

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS


t
ad '.

; I 4 i
ces nd

Choose Ike Type


1. Choose
File Type »

- a & a * :
F progacts * | Fans Services art Page

5 ace h 4 W + |

s ahd i) Ne th Service Chant


p Lbrane!
Canfigurwten Fie Steps WS and Chent Location
no se File Tyce pnofy the WSDL Hie of the Web Service
2 WSDL and Chent Location

TY
© we 18 5 sa. ,

fy a cachage (ar the chovt java a ab at


_ ER +
chang

verate ti ern

fs [

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Practical 2
te Edt View Navigate Seurc Refector Run Debug Profile Team He -
C2 ws .- i i
proces * | Fes Serecen 3) age o

Z SF
des hard =

jp ibrar

[ pa
11
oF 5
Contiguraton Fle Wy
[ 1
is

17 form

Tr I bad) > Gem > laren


nitpat
þ emer Ouput X Practical Ghent (wsmport-chent-Come'son

x 1168 acte\PrecticaliCie enerated-sourses\sax-ws

[ tical Chemt
le (dt View bs tor Run Debug Profile Team om He "

CO &
Prognens * | Fes Services Start Page
| —
5 Nee a= Jer ' 4 a+ t

2 © Web Ser rem:


Bud
x 1
ean and Budd
cet

Bu an Web Service
1 © RESTIU Webb Services from Enbty Clause
enerete Iavade

R Timer Sermon Fea


| Jev Package
eb eb Service trom WSO!
c Prot

1 ah

pe Required Projects
Close Other "
Penome
Mood

Delete
KH <Y bad, FLY TRY
Find i
Impect and Transforr a le
evionng retriever unt acta Dent (wsenport che son

Proper

r ” ects \Peacticel
Client \ bra enerated-scurces)
sax-ws

Name:- Roll
Roll No:
No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Prom ton services nt Page x sex "try (7) Convert.vp


. = 4 + 1

® _

fguranon Fe

F ie

LED
bem Alte Srut= #

Ne
Ic mf Þ

tr
[| 4: t
Output p, b

_—_ ope

Feld,

Web Service Chant Resources Col Fig Seroen Operation...

p] Convertup *
= = +
2 4

t ] t

dow ler oe Behe

ad TT ton he

2 - ar
y mpl
B Co - Aw
eR
0. ts

«a
mY

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

7 Progacts * Fes Sersicon Start Page index Por (| Coavertisp *

3 actos 1k Source tary +: URGE ¢


3 eb Page

p lb
0

in Cone
iim Conve eng L
ReToDoler = -
tovaten Fes PP

a= = a F
P

ial 4
Output
Þ aeveve Oupt ent (aspect cb

Name:-
Name:- Roll
Roll No:
Sub:- CCWS Class:-TYCS
Class:-TYCS

Output:

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Practical
Practical No:-2
No:-2

Aim:- Create
Aim:- Create a
a Simple
Simple SOAP
SOAP services.
services.

Steps:-

Window Help

ts X|Files | Services
[viebappication!
fo Web Pages © New Web Application
©) WEB-INF
[©] index.html Steps Name and Location
(3) newjsp.p
4
þ Source Packages 1. Choose Project Project ame: 2 pract2
2. Name and Location , =
h 3. Server and Settings Project Location: [D: \thimesh
Þ Libraries 4. Frameworks
B Web Service References Project Folder: |D:\chimesh\pract2
5-[© converts)
= ® convertrstd [Use Dedicated Folder for Storing Libraries
Downll #-lWz convertrstDSoap
= convertrstDSoap12 ibrar
Music ers
& Configuration Files

& Videos
Navigator x
= New V|
w® Networl

Fitters: | @ || || ©
30:7/14:447

2items |
FT = 1
Type here to search - ; AG te NG 4 oy 200

Home
Edit Format

View Navigate Source Refact 7 Window Help


DUES OT BD @-
Projects X | files | Services = |[StartPage x[[@) index.html x] fi] newisp.jsp_ x] [6] index.html x
Al source | History | 1G A Le oe lop
2p Web Pages OnewFite
(9) WEBINF
[© index.html Steps Choose file Type
BB Source Packages
Þ Lraries 1. Choose File Type Project: |@ pract2
ow
A Configuration Files
Webappicationl Q Filter:
> Web Pages Categories: File Types:
@-[D WeB-INF ip Wes | [© [Sas
[@ index.html Persistence Web Service from WSDL
newjsp.jsp Groovy © RESTful Web Services from Entity Classes
Source Packages J) Hibernate © RESTful Web Services from Patterns
Web Services © RESTful Web Services from Database
Libraries XML |G RESTful Java Client
5 Videos Web Service References GlassFish © RESTful JavaScript Client
© Cross-Origin Resource Sharing Filter
i {| convertrat* Weblogic
NESScal | navigator x
'© JAXRS 2.0 Filter
Other GB _JAXRS 2.0 Interceptor
= New Vieira ina D web Service Client
® Networl Description:
i Creates a skeleton SOAP web service. Web services are reusable software components designed = A
support network. S are
described by a specific descriptor fle (WSDL file) and accessible over SOAP protocol. The web
services created by this template are deployed within the web application or EJB module according

12:56
A @ te NG 3 op 2004

Name:-
Name:- Roll
Roll No:
Sub:-- CCWS
CCWS Class:-TYCS
Class:-TYCS

vView
i DJ
File Edit Format
© pract2 - NetBeans IDE 8.2
File Edit View Navigate Source Refactor Run Debug Profile Team Tools Window Help
Pe oP Oy ER - Gi
ja w OT BD: 6:0:
Projects X |Files | Services
© pract2 + || Source Design History (QAR Bees
2-5 Web Pages
L WEB-INF
[G) index.html import javax.jws.WebService;
K Source Packages
import javax.jws.WebMethod;
Þ Libraries import javax.jws.WebParam;
B Web Services
Configuration Files
Webppiicationt
B Web Pages
©) WEB-INF
index.html
@WebService(serviceName = "tempature!
newsp.j5p
public class tempatureWebService {
Þ Source Packages
Fa
PTE © = Libraries
MN avigator x @WebMethod (operationName
New VI public String hello (@WebParam (name
NS | Members =

w® Networl 2-4 tempatureWebService


© hello(String bet)

cx]
etriever Output X 1 (run) X Java X Glassfish Server 4.1.1 X
y deploying =
Completed 1 a: of WebAppl
Browsing: http://localhost :8080/WebApplication1

Zitems | TE
fo) Type herezatns
to search 4><
: 1257
A Bt NG 1,204 FE

=
File Edit Format
© pract2 - NetBeans IDE 8.2
File Edit View Navigate Source Refactor Run Debug Profile Team Tools Window Help
Ce pe
DEWS Dore
OT BD-&-@ ye
Projects X | Files | Services —| | StartPage X[[@) index.html x] {Bi} newisp.jsp X[[@) index.html x [[@ tempatureWebServiceJava x
3-S= ac 7 rixtory | & © [00% VQ Q|@
[) Web Pages =
JL WEB-INF tempatureWebService
[@) index.html
BB Source Packages Operations ‘Add Operation... | [Remove Operation
Þ libraries
BB Web Services
& Configuration Files © hello
WebAppiication1
Web Pages Parameters Description
BB Docun| @--()) WEB-INF Parameter Name Parameter Type
Downl {—[@] index.html name java.lang.String
Music newisp.jsp
J Source Packages
fa]
Þ Libraries Quality Of Service
2 [tk Web Service References
im Locall] ©: Optimize Transfer Of Binary Data (MTOM)
Navigator X
= New Vir 4 ©: Reliable Message Delivery
a Networl 2-1 tempatureWebService 77 Secure Service
© hello(String txt): 5
Edit Web Senice Attributes...

| output x|
DD Retriever Output x 1 (run) X Java
7 aeployang 2
Completed _
% owing: http: //localhost:8080/WebApplicationl

12:57
A Bde NG 3 20

Name:-
Name:- Roll
Roll No:
Sub:- CCWS Class:-TYCS
Class:-TYCS

View
File Edit Format
© pract2 - NetBeans IDE 8.2
File Edit View Navigate Source Refactor Run Debug Profile Team Tools Window Help
fag 0-7 D-B-O-
Projects X | Files Services =] [StartPage X[ @) indexhinl XB] newisp.i Xx [© indexhiml x] tempatreWiebSenicejava|
=-@ pract2 || Source {Design} History | KF] [100% v|®Q, Q |
= [1 Web Pages
J} WEB-INF tempatureWebService
[@) index.html
BB Source Packages Operations Add Operation
Þ libraries
B Web Services
Configuration Files @tte
WebApplicationt
= [1 Web Pages Parameters Description
©) wee Parameter Name Parameter Type
index.html double
newisp.jsp
c2(J Source Packages
Fa
ME © (Þ Libraries Parameters Description
RSLocal ( | Navigatorx Parameter Name Parameter Type
c double
INS Members
© Networllf {© tempatureWebService

Quality
Of Service
= Qntimizo Transfor Of Rinar Data (MTOM)
{output x|
DD Retriever Output x (run) X Java X Glassfish Server 4.1.1 X
y deploying 2
Completed 24 of WebAppl
Browsing: http://localhost :8080/WebApplication1

Zitems |
12:59
D Type here to search > @ 4 NG 0s FE

© NetBeans IDE 8.2


File Edit View Navigate Source Refactor Run Debug Profile Team Tools Window Help
DES ©:
Projects X |Files | Services — || Start Page | [Gj index.html | [8] newisp.jsp_|[@] index.html x] tempatureWebService.java X|
© pract2 || Source | Desion History | [I (SRP E5lr es lonls
Þ Web Pages
2) WeB-INF
(Eq web.xml
[© index.html
BB Source Packages
Þ libraries @WebMethod (operationName
B Web Services public Double f_t_c(@WebParam(name =
double con_e=(£-32) *0.5;
& Configure Open return con_c?
BB Docun| Webapplicat) Refresh.
Downl BB Web Pag
#0) wes Add Operation...
Music
[9] index
EE Pictur © new! Test Web Service
(J SourcePy @WebMethod (operationName = '
©) Videos Edit Web Service Attributes... public Double ct £(@WebParam(name = "c") double c) {
co Db
= Local | Navigator x Configure Handlers..
= New Fe
Generate and Copy WSDL... double con_;
® Networl| 36 return con_f;
Generate SOAP-over-HTTP Wrapper 37 }
38 }
Delete © comviva.tempaturewebservice > © Ete >
| output x|
DD Retriever Output X Java DB Database Process X GlassFish Server 4.1.1 X pract2 (run-deploy) x
2 D:\thamesh\practz\puila\empty
D 2\buil

13:03
Type here to search A Bde NG 3 20

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Output:-
Output:-
@ OD Method invocation trace
6) localhost

fTC Method invocation

Method parameter(s)

Method returned

Jjava.lang.Double : "17.5"

SOAP Request

<?xml. versio encoding="UTF- "2><5: Envelope xmIns:S="http: //5chemas .xml5oap.org/50ap/envelope/" xmlns:SOAP-ENV="http:


//schemas .xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<S:Body>
<ns2:f_t_e xmlns:ns2="http //viva.com/">
< #367 .0</F>
</ns2:_t_c>
</S:Body>
</S:Envelope>

SOAP Response

<?xml _version="1.0" encodin ><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http: //schemas.xmlsoap.org/soap/envelope/">


<SOAP-ENV:Header/>
<5:Body>
<ns2:f_t_cResponse xmlns:ns2="http://viva.com/">
<return>17.5</return>
</ns2:f_t_cResponse>
</$: Body>
</S:Envelope>

Type here to search A @ 4x ENG 12-02-2022 FE


@o [5 Method invocation trace

© localhost

cTF Method invocation

Method parameter(s)

SOAP Request

<?xml_version="1.0" encodin "UTF-8"2><S: nvelope xmlns: http: //schemas .xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http: // schemas .xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<S:Body>
<ns2:¢_t_f xmlns:ns2="http: //viva.com/">
<c>32.0</e>
</ns2:¢_t_f>
</S:Body>
</S:Envelope>

SOAP Response

<?xml versio 1.0" encoding="UTF-8"?><S:Envelope xmlns: “http: //schemas .xmlsoap.org/soap/envelope, xmlns:SOAP-ENV="http: // schemas .xmlsoap.org/soap/envelope/">
<SOAP-EN Header/>
<S:Body>
<ns2:¢_t_fResponse xmlns:ns2="http://viva.com/">
<return>-16.0</return>
</ns2:c_t_fResponse>
</S:Body>
</S:Envelope>

e here to search
13:03
~ Gt NG 1. 02-2024 FE

Name:-
Name:- Roll
Roll No:
Sub:-
Sub - CCWS
CCWS Class:-TYCS
Class:-TYCS

Practical
Practical No:-3
No:-3

Aim:- Create
Aim:- Create a
a Simple
Simple REST
REST services.
services

Steps:-
Steps:-
©
File Edit View Navigate Source Refactor Run Debug Profile Team Tools Window Help Qe Search (Cui)

hoes 5D Oo: TRD) B-@-


Projects [Files | Servicesx | = Start Page |
= Databases
@-(§ 3avars

(Drivers Rl
(Bi) jdbc:derby:/focalhost: 1527/sample [app on APP] © New Web Application
(QQ Web Services
©-[Z9 Servers Steps Name and Location
-(@ Maven Repositories
oud by — tion Project Name: |pract3
“B> Hudson Builders 3. Server and Settings cl i Browse...
cay Docker 4. Frameworks .
SB ro epostores ‘ : |e Activate Features
4h 1S Test Driver
©-& Selenium Server [7] Use Dedicated Folder for Storing Libraries NetBeans turns on functionality as you use it.
Start creating and opening projects and the IDE
Libraries Folder Browse... willjust activate the features you need, making
your experience quicker and deaner.
Different users and projects can share the same compilation libraries Alternatively, you can activate features
(Gee Help for details) manually.

«
Slava

key. A
<2ack HH [Cen] [Hep] | essay to accept connections on port 1627

© pract3 - NetBeans IDE 8.2 - x


File Edit View Navigate Source Refactor Run Debug Profile Team Tools Window Help
OTB) BO:
=][ Startpage [© indexchiml x >
LE
2 Folder... ſtor y E-A- i R | SF
|@B-SB-\ABSeasier.eia
a © RESTful Web Services from Entity Clase.
wi - SS a
Clean and Build (B)_ JSF Pages from Entity Classes... _—g _ _ _ CT CT
5
|) Entity Class... nge t t
Clean as 7 . te - - - plate:
.
@) ssp... a the template in the ed
Verify 2
® Web Service Client...
Generate Javadoc © we eml>
© Web Service. chead>
Run B Servet...
Deploy Bava Class...
Debug |S] Timer Session Bean... ">
Profile @ Jav Package...
Testfest RESTFul
RESTful WebWeb S Services )= Webveh Service
Senice from WSDL... <pody><div>TODQ write content</div>
Test Alt+F6 | |S Entity Classes from Database. </body>
Run Selenium Tests © RESTful Web Services from Patterns... ihtml>

Open Required Projects {@ HIML.


Navigator Close Other...
©] ht) Rename...
Move...
Copy...
Delete Delete "
find... Ctrle 2 x
Inspect and Transform... Output
- Java DB Database Process X -
Versioning > Tue Feb 27 12:28:31 IST 2024 : Security manager installed using the Basic server security policy. a
cts , Tue Feb 27 12:28:31 IST 2024 : Apache Derby Network Server - 10.10.2.0 - (1522446) started and ready to accept connections on port 1527
story
Properties

Name:-
Name:- Roll No:
Roll No:
Sub:-- CCWS
CCWS Class:-TYCS
Class:-TYCS

fon ans IDE - ©


File Edit View Navigate Source Refactor Run Debug Profile Team Tools Window Help Qe Search (Col)

Projects X|Files | Services — || StartPage x] [@) index.html x vo


sore | tietory | BM -|QUPBnlers
&-\& Web Pages 1 57
@-Q) WEBINF by hou
[© index.html a
&-[H Source Packages © New Entity Class x
@(B Libraries
@-[ Configuration
Files Steps Name and Location

1. ChooseFile Type Class Name: NewEntity


2. Name and Location
3. Provider and Database
Project: pract3

Location: |Source Packages v


Package: com. v

Created File: C:

Primary Key Type: |Long

Navigator x |
£3] html

Create Persistence Unit [— Le


x

8 i
<Back Finish Cancel Help ready to accept connections on port 1527

© pract3 - NetBeans IDE 8.2 -


File Edit View Navigate Source Refactor Run Debug Profile Team Tools Window Help
hoes OC OT BD 65 @:
Files | Services — || StartPage X|[@) indexhiml_X|[@ NewEntity.java X| vo
=-© 55 B
. [_rFT[LAICESMFENF
&& New >G Folder... x
by [# Entity Class... - - P -
Vo & oy ful Web Services from from Enti y Enti Cl lasses... | T7 je this s templa
tel ate file , se . T s Te ces.
ates _—
eB Clean and Build - = i
ef (#] 1SF Pages from Entity Classes... a PE: = template = ©
Clean
Verity @ SP... =
er com. k;
coer) ® Web Service Client...
ae Generate Javadoc ”
[Y Web Service... bort java.io.Serializable;
Run [8] Servlet... port javax.persistence.Entity;
Deploy [© Java Class. bort javax.persistence.GeneratedValue;
port javax.persistence.GenerationType;
Debug [#= Timer Session Bean... bort javax.persistence.Id;
Profile (Bava Package...
Test RESTful Web Services [© Web Service from WSDL...
Test Alt+F6 | |S Entity Classes from Database...
Run Selenium Tests © RESTful Web Services from Patterns... ——
Open Required Projects © HIML. ataty
Close Other... >lic class NewEntity implements Serializable {

Fon @ 2 private static final long


Ne 22 ed
© 23 ue (strategy = GenerationType
. AUTO)
© 24 private Long id;
Delete v

© > x
© find... Ctrl+F
Output
- Java DB Database Process X =
a Inspect and Transform...
ap > Tue Feb 27 12:28:31 IST 2024 : Security manager installed using the Basic server security policy. Ly
VGEETEy Tue Feb 27 12:28:31 IST 2024 : Apache Derby Network Server - 10.10.2.0 - (1592446) started and ready to accept connections on port 1527
History >

Properties

A 2 dx ENG

Name:-
Name:- Roll No:
Roll No:
Sub:- CCWS Class:-TYCS
Class:-TYCS

- ©
File Edit View Navigate Source Refactor Run Debug Profile Team Tools Window Help Qe Search (Col)

[Projects |files | Services — || StartPage X[[@) index.html x] [ai] Nentntity.java x] ds


id &-\& Web Pages
==] wry | BE
1
|QbF Biles s| yy
©) WeB-INF = a —_— ee 2
[© index.html 5 =e - s in P ct Proper
(JB Source Packages a 7 _ —_—
BB com.k —_—_
© Nentntity.java © New JSF Pages from Entity Classes x
Þ Libraries st Entity Cla
A Configuration Files eps ntity Classes
1. Choose File Type Available Entity Classes: Selected Entity Classes:
2. Entity Classes Icom. kk. Newentity
3. Generate JSF Pages and
Classes
4, JavaServer Faces
Configuration
Add >
<Remove

Add All >>


= << Remove All
Navigator x |
| Members ¥][<emoty>
B® NewEntity:: Seriaizable
© equals(Object object) : boolean + Object
: Long
© getldd MInclude Referenced Classes.
@ hashCode) : int + Object @ select entity dasses. | = x
© setid{Long id)
© toString() : String Object
@q id: Long <Back Next > Finish Cancel Help >
Qj serialversionUID
: long ley.
‘Tue Feb 27 12:28:31 IST 2020 + Apache Derby Network Server = I0-10.2.0 = (Ise2ase) started and ready to accept connections on port 1527

@ 209 © |e v

File Edit View Navigate Source Refactor Run Debug Profile Team Tool indow Help
DAWS:DG OTH dB 0
[Projecta= [rien = [nerves Start Page X[[@) index.html x) |i) Newtntity.java X|
=-@ pract3 Source | tistory | [} » W *| Ub G Bip |S S|S
©-[5 Web Pages a A
QD weave = _ _ A
[@ index.html 5 _ a _ ~ —
E(B Source Packages © _
©-( com and Late in —_ th
© Newentity java © New JSF Pages from Entity Classes x
©-[Þ Libraries a Generate JSF Pages and Cla:
©-[& Configuration Files _ 29s and cesses
1. Choose File Type Specify the package of existing or new EJBs and the package of JSF dasses.
2. Entity Classes
3. Generate
JSF Pages and Project: pract3
Classes
4. JavaServer Faces Location: Source Packages o
Configuration
SessionBean Package: [com.kk.a v
JSF Classes Package: =|com.k.b v

Specify the location of new JSF pages.


= 28 Pages Folder: d Browse...
Navigator x |
[members Tom Localization Bundle Name: | Bundle
{© Newentity :: Serializable [7] Override existing files
© equals(Object object) : boolean + Object

Choose Templates: Standard JavaServer Faces | Customize Template v


x
© toStringQ : String + Object F
@ id: Long
a
Qf) seratversonuiD:lena <Back Fai | Cancel | | Hep | pecept connections on port 1527

A Fl de ENG

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

© pract3 - NetBeans IDE 8.2


File Edit View Navigate Source Refactor Run Debug Profile Team Tools Window Help Qy Search (CoI+)
aes ©: TB >: 6-0:
— || StertPage X[[@) index.html x] [aij Newentity,java X|
ls = c
> Folder... poy | BA USGCBI|CSS|
+ _ (#] 1SF Pages from Entity Classes... a . a _ Ces Pons
? wil : To change this choos se Headers in Project Proper
@ [© Entity Class... T . - -
© Clean and Build : : —_ =_ ~ oe ~ =
@ © RESTful Web Services from Entity Classes... © template i © editor.
' lean
Verity @© ose...
ri :
® Web Service Client... pokage com, kk;
& Generate Javadoc "
2 g Web Service... kport java.io.Serializable;
i Run [© Serviet... hport javax.persistence.Entity;
by Deploy DB Java Class... kpozt javax.persistence.GeneratedValue;
© Debug [© Timer Session Bean... port javax.persistence.GenerationType;
- = port javax.persistence.Id;
® Profile ( Java Package... mere 3 ®
a st RESTful Web Services Web Service from WSDL...
by 4 Test Alt+F6 | [| Entity Classes from Database...
oe Run Selenium Tests © RESTful Web Services from Patterns... an student

Open Required Projects {@ HIML. intity


Navigator Close Other... hblic class NewEntity implements Serializable {
es Rename... © || 2 private static final long serialVersionUID = 1L;
© NM wore... 22 Go
© cop 23 ue = GenerationTyp
© me ms 24 private Long i
© elete elete =
a Find... Ctrl+F 2
& Inspect and Transform... Output - Java DB Database
Process X
©) Versioning 5 Tue Feb 27 12:26:31 IST 2024 : Security manager installed using the Basic server security policy.
Tue Feb 27 12:29:31 IST 2024 : Apache Derby Network Server - 10.10.2.0 - (1522446) started and ready to accept connections on port 1527
History >
Properties

Refactor Run Debug Profile Team Too Help


Oo TBD “R-@-

=-@ WE
Fies | Services StartPage X[[@) index.html X|[@ Newtntity.java X|
COLLEEMNANECFHZEFS LIE
[5 Web Pages
@-() were
Swe
©-[Þ) recources 4 and late in the e:
i[@ index.html
i--[@ index.xhtml © New RESTul Web Services from Entity Classes
[© template.xhtml
DB Source Packages Steps Entity Classes
O

(a-[ <default package> 1 Choose File Type Available Entity Classes: Selected Entity Classes:
BB comkk 2. Entity Classes [com.kk.Newentity
[© Newentity.java
3. Generated Classes

4 Enterprise Beans <Remove


A Configuration Files
Add All >>
<< Remove All
v || <empty>
© NewEntity:: Serializable
© equals(Object object) : boolean + Object
© getld0:Long
hashCodeQ): int + Object @select entity dasses.
© setid(Long id)
© toString( : String + Object
@ id: Long <Back Next > Finish Cancel Help
jj serialversionUID : long ley.
Tue Feb 27 12:28731 IST 2024 > Apache Derby Network Server - 10-10.2.0 — (Iseoade) started an ready to accept connections on port 1527

® |G) 1 B/S!
& |

Name:-
Name:- Roll No:
Sub:-- CCWS
CCWS Class:-TYCS
Class:-TYCS

for ans IDE - ©


File Edit View Navigate Source Refactor Run Debug Profile Team Tools Window Help Qe Search (Col)

Projects X|Files | Services — || StartPage X[[@) index.html x] [ai] Newentity.java_ x] vo

&-\& Web Pages


Sore
1
| tietory | BS -|QRPBle s x
© wear = _—_— - —— — A
Bee
2) resources 3 To ¢ e this 2 ool Templates
i[@ index.html — = = -
index. xhtml © New RESTul Web Services from Entity Classes x
{© template
(Source Packagesxhin St = Generated
era Cla: =
( <defeult package> 1. Choose File Type Project: pract3
©-{ com 2. Entity Classes
[© Newéntty.java 3. Generated Classes Location: Source Packages v
8 [=] coma Resource Package: ‘com. kk. þervice o
©-{E} comkk.b
©-{ comkk.b.uti
@-(B Libraries
@-[Þ Enterprise Beans
©-[& Configuration Files

Navigator x |
| Members ¥][<emoty>
B® NewEntity:: Seriaizable
© equals(Object object) : boolean + Object
© getid0: Long
© hashCodeO : int t Object ©
© setid{Long id) =
© toString() : String + Object
RJ id: Long <Back Next > Cancel rp - =
Qj serialversionUID
: long ley.
‘Tue Feb 27 12:28:31 IST 2020 + Apache Derby Network Server = I0-10.2.0 = (Ise2ase) started and ready to accept connections on port 1527

@ 209 © |e v

File Edit View Navigate Source Refactor Run Debug Profile Team Tools Window Help
4 a
% DE ( OT~ WP
BD-&-@
Ws » BR o

Projects x|Files | Services | | © Add Property x SS


=-© pract3
QB Web Pages Name: firstName| = | FI
@-() were
oc Type: [String v | | Browse...
f®-{)) resources © private O package Oprotected public
©
i[@ index.html []statc ODfinal
\ [S| index. h xhtml © Generate getter and setter C Generate getter © Generate setter
[© template. xhtml
© (Source Packages Generate javadoc
©} <default package> [Bound PROP_FIRSTNAME
3 Vetoable
[7 indexed 4
[7] Generate Property Change Support [7] Generate Vetoable Change Support
Preview: a
by private String firstName;
©-[& Enterprise Beans
I RESTful Web Services
getld - Navigator X 1
| Members v || <empty> = — —_—
i Newentity ::Serilzable | public String getFirstName() {
© equals(Object object)
: boolean + Object return firstName;
}
: int ¢ Object v
x
© toString): String t Object et the value of FirstName F
Q7 id: Long
a
jj serialversionUID
: long seat
ame Nen ne ius
= of farses
of firstName [
Rady to accept connections on port 1527
public void setFirstName (String firstName) { v

A 2 dx ENG

Name:-
Name:- Roll No:
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Output:-
a OG facetet title
G © localhost

(No NewEntity Items Found)


Create Ni vE
Index

localhost:8080/pract3/faces/c/newEntity/Listxhtml;jsessionid=95e1cc03a529a712925187351a...
4 2:31
st& © Type here to search A Bide ING

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

@ DG crate New Newentity


= G © localhost:

Create New NewEntity


NewEntity was successfully created.

NewEntity Items

i © Type here to search

ao os

31
> Eide NG ome Fs

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Practical
Practical No:-4
No:-4

Aim:-
Aim:- Develop
Develop application
application to
to consume
consume Google’s
Google’s Map
Map RESTful
RESTful web
web services.
services.

Code:-
Code:-

package practical4;
package practical4;

import
import com.google.gson.Gson;
com.google.gson.Gson;
import
import com.google.gson.GsonBuilder;
com.google.gson.GsonBuilder;
import
import com.google.maps.GeoApiContext;
com.google.maps.GeoApiContext;
import
import com.google.maps.GeocodingApi;
com. google. maps. GeocodingAp1;
import
import com.google.maps.errors.ApiException;
com. google. maps.errors. ApiException;
import
import com.google.maps.model.GeocodingResult;
com. google. maps. model. GeocodingResult;
import java.io.IOException;
import java.io. IOException;
import java.util.logging.Level;
import java.util. logging. Level;
import java.util.logging.Logger;
import java.util. logging. Logger;

public class
public class CallMap
CallMap {{

public static
public static void
void main(String[]
main(String[] args)
args) {{

//// TODO
TODO code
code application
application logic
logic here
here
test();
test();
}}
public static
public static void
void test()
test()
{{
GeoApiContext
GeoApiContext context
context =
= new
new
GeoApiContext.Builder().apiKey("AIzaSyCQadu5Jwbm64-6svmVNoesw4QTh6qH-
GeoApiContext.Builder().apiKey("AlzaSyCQadu5Jwbm64-6svmVNoesw4QTh6qH-
R4").build();
R4").build();
GeocodingResult[]
GeocodingResult[] results;
results;
try
try {{

results
results == GeocodingApi.geocode(context,"Viva
GeocodingApi.geocode(context,"Viva college
college virar").await();
virar").await();

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Gson
Gson gson
gson =
= new
new GsonBuilder().setPrettyPrinting().create();
GsonBuilder().setPrettyPrinting().create();

System.out.println(gson.toJson(results[0].addressComponents));
System.out.println(gson.toJson(results[0].addressComponents));
}} catch
catch (ApiException
(ApiException ex)
ex) {{

Logger.getLogger(CallMap.class.getName()).log(Level.SEVERE,
Logger. getLogger(CallMap.class.getName()).log(Level.SEVERE, null,
null, ex);
ex);

}} catch
catch (InterruptedException
(InterruptedException ex)
ex) {{

Logger.getLogger(CallMap.class.getName()).log(Level.SEVERE,
SEVERE, null,
Logger. getLogger(CallMap.class. getName()).log(Level. null, ex);
ex);

}} catch
catch (IOException
(IOException ex)
ex) {{

Logger.getLogger(CallMap.class.getName()).log(Level.SEVERE,
SEVERE, null,
Logger. getLogger(CallMap.class. getName()).log(Level. null, ex);
ex);

}}
//// Invoke
Invoke .shutdown()
.shutdown() after
after your
your application
application is
is done
done making
making requests
requests
context.shutdown();
context.shutdown();

}}
Projects X | Files | Services

=-& Practical4
=) Source Packages
=} practical4
[4 CallMap.java
Test Packages
0-#
WE

ibraries
=_

google-maps-services-2.2.0.jar
DEDEDEDEDED
&©-©-H-4-4-66

gson-2.10.1.jar
okhttp-3.0.0.jar
slf4j-api-2.0.12.jar
okio-1.6.0.jar
=) slf4j-simple-2.0.12.jar
}- IDK 1.8 (Default)
® Test Libraries
[[l
tr}

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Output:
run:
[
{
"longName":
"longName": "Viva
"Viva College
College Road",
Road",
"shortName":
"shortName": "Viva
"Viva College
College Rd",
Rd",
"types":
"types": [[
"ROUTE"
"ROUTE"

]]

}s
},
{{
"longName":
"longName": "Vartak
"Vartak Ward",
Ward",
"shortName":
"shortName": "Vartak
"Vartak Ward",
Ward",
"types":
"types": [[
"POLITICAL",
"POLITICAL",
"SUBLOCALITY",
"SUBLOCALITY",
"SUBLOCALITY_LEVEL_2"
"SUBLOCALITY LEVEL 2"
]]

In
},
{i
"longName":
"longName": "Virar
"Virar West",
West",
"shortName":
"shortName": "Virar
"Virar West",
West",

"types":
"types": [[
"POLITICAL",
"POLITICAL",
"SUBLOCALITY",
"SUBLOCALITY",
"SUBLOCALITY_LEVEL_1"
"SUBLOCALITY_LEVEL_1"
]]

}
},
{{
"longName":
"longName": "Virar",
"Virar",

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

"shortName":
"shortName": "Virar",
"Virar",

"types":
"types": [[

"LOCALITY",
"LOCALITY",
"POLITICAL"
"POLITICAL"

]]

},
},
{{
"longName":
"longName": "Palghar",
"Palghar",

"shortName":
"shortName": "Palghar",
"Palghar",

"types":
"types": [[
"ADMINISTRATIVE_AREA_LEVEL_3",
"ADMINISTRATIVE AREA LEVEL 3",

"POLITICAL"
"POLITICAL"

]]

}
},
{i
"longName":
"longName": "Konkan
"Konkan Division",
Division",
"shortName":
"shortName": "Konkan
"Konkan Division",
Division",

"types":
"types": [[
"ADMINISTRATIVE_AREA_LEVEL_2",
"ADMINISTRATIVE AREA LEVEL 2",
"POLITICAL"
"POLITICAL"
]]

In
},
{i
"longName":
"longName": "Maharashtra",
"Maharashtra",
"shortName":
"shortName": "MH",
"MH",

"types":
"types": [[
"ADMINISTRATIVE_AREA_LEVEL_1",
"ADMINISTRATIVE AREA LEVEL 1",
"POLITICAL"
"POLITICAL"
]
},
{

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

"longName":
"longName": "India",
"India",

"shortName":
"shortName": "IN",
"IN",

"types":
"types": [[
"COUNTRY",
"COUNTRY",

"POLITICAL"
"POLITICAL"

]]

},
},
{{
"longName":
"longName": "401303",
"401303",

"shortName":
"shortName": "401303",
"401303",

"types":
"types": [[
"POSTAL_CODE"
"POSTAL_CODE"

]]
}}
]]
BUILD
BUILD SUCCESSFUL
SUCCESSFUL (total
(total time:
time: 11 second)
second)

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Practical
Practical No:-5
No:-5

Aim:- Install
Aim:- Install and
and Configuration
Configuration of
of virtualization
virtualization using
using KVM.
KVM.

Steps:-
Steps:-
C parrto - VMware Workstation

File Edit View VM Tabs Help

New Virtual Machine. Ctrl+N


New Window

Open... Ctrl+O

Scan for Virtual Machines...

Configure Auto Start VMs

Close Tab Ctrl+W

Connect to Server... Ctrl+l


Export to OVF 6.0 6B
2
Exit
20GB
D (SATA) Using file C:\User...
Network Adapter NAT
USB Controller Present
Sound Card Auto detect
Display Auto detect

¥Description

vVirtual Machine Details


State: Powered off
n file: C:\Users\khime\OneDrive\Documents\Virtual Machines\parrto\parrto.vmx
Hardware compatibility: Workstation 17.5.x virtual machine
Primary IP address: Network information is not available

13:46
05-04-2024

C
File Edit View VM Tabs Help

Library parrto
[2weheret.~]
= My Compute ELM)
New Virtual Machine Wizard
Metasploitat
Windows Sel vmware -
© Welcome to the New Virtual
> Devices WORKSTATION Machine Wizard
Memory .0 Gi PRO”
Processors What type of configuration do you want?
Hard Disk (SCSI) -
VD (SATA) Typical (recommended)
LID Create a Workstation 17.5.x virtual
Network Adapter machine in a few easy steps.
USB Controller
© custom (advanced)
Sound Auto detect
Create a virtual machine with advanced
Display Auto detect options, such as a SCSI controller type,
virtual disk type and compatibility with
older VMware products.
Y Description

Cancel

: C:\Users\kl OneDrive\Documents\Virtual Machines\parrto\parrto.vmx


Workstation 1 virtual machine
: Network information is not available

= 2 ENG 13:47
mn BWM © 45 42024 ©

Name:- Roll No:


Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

[2]
File Edit View VM Help

Library parrto

m My Computer
parrto
New Virtual Machine Wizard
Metasploitak Choose the Virtual Machine Hardware Compatibility
Windows Sel Which hardware features are needed for this virtual machine?

Y Devices Virtual machine hardware compatibility


Memory 6.0 GB Hardware compatibility: Workstation 17.5.x
Processc Compatible with: E5X

Hard Disk (SCSI) Compatible products: Limitations:


CD/DVD (SATA) Using file C? Fusion 13.5.x 128 GB memory
rk Adapter NAT
Workstation 17.5.x 32 processors
10 network adapters
USB Controller Present 8 TB disk size
8 GB shared graphics memory
Sound Card Auto detect
spl Auto detect

¥Description

Cancel

Configuration file: C irtual Machines\parrto\parrto.vmx


Hardware compatibility: Wo
Primary IP address: Network information is not available

© 550 5& = i © I ©
13:48
«+ 04-2024
is)
File Edit View VM Tabs Help

Library parrto

tn! parrto
m (2 My Computer
New Virtual Machine Wizard
Metasploitat Guest Operating System Installation
Windows Se! A virtual machine is like a physical computer; it needs an operating
system. How will you install the guest operating system?
¥ Devices Install from:
Memory 6.0 GB
Processors
No drives available
Hard Disk (SCSI) 20GB
CD/DVD (SATA) Using fi
Network Adapter NAT
©Installer disc image file (iso):
USB Controller Present
C:\Users\khime\Downloads\17763.3650.221105-1748.
Sound Card Auto detect
=> Cannot read this file.
Display Auto detect Specify a different file or select a different option to continue.
"I will install the operating system later.
¥ Description The virtual machine will be created with a blank hard disk.

Cancel

State: Powered off

Configuration file: C:\Users\khime\O -uments\Virtual Machines\partto\panto.vm>


Hardware compatibility: Workstation 17.5x virtual machine
Primary IP address: Network information is not available

© +506 NS g o © 13:48
05-04-2024

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

[2]
File Edit View VM Tal Help

Library parrto

m My Computer
parrto
New Virtual Machine Wizard
Metasploitak Select a Guest Operating System
Windows Sel Which operating system will be installed on this virtual machine?

Y Devices Guest operating system


Memory 6.0 GB Microsoft Windows

Processc Olinux
(VMware ESX
Hard Disk (SCSI) — Other
CD/DVD (SATA) Using file C?
Version
rk Adapter NAT
USB Controller Present Ubuntu
Sound Card Auto detect
spl Auto detect

¥Description

Cancel

Configuration file: C:\Us e\ / irtual Machine


Hardware compatibility: Wo
PrimaryIP address: Network informationis not available

© © 5B © & 8 ENG 13:49


IN eo) © 05-04-2024

[2]
File Edit View VM Tabs Help

Library parrto

mM parrto
= My Computer
New Virtual Machine Wizard
Metasploitat: Name the Virtual Machine
Windows Sel What name would you like to use for this virtual machine?

¥ Devices Virtual machine name:


Memory 6.0 Gl
Processors 2
sk (SCSI) 20 GB Location:
C:\Users\khime\OneDrive\Documents\Virtual Machines\Ubuntu (2 Browse...
CD/DVD (SATA) Using file
Network Adapter NAT The default location can be changed at Edit > Preferences.
USB Controller Present
Sound Card Auto detect
Display Auto detect

Y Description

Cancel

wered off
Configuration file: khime\OneDr uments\Virtual Machine:
Hardware compatibility: Workstation 17.5.x virtual machine
Primary IP address: Network information is not available

ENG 13:49 4
© + 5B © & 8 IN Sno 05-04-2024 a be

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

[2]
File Edit View VM Tabs Help
Library parrto

= 2 My Computer
parrto
New Virtual Machine Wizard
Metasploitak Memory for the Virtual Machine
Windows Sel How much memory would you like to use for this virtual machine?

Y Devices Specify the amount of memory allocated to this virtual machine. The memory size
must be a multiple of 4 MB.
Memory 6.0 GB
Proces: 128 GB Memory for this virtual machine: 8192 >| MB
Hard Disk (SCSI)
CD/DVD (SATA) Using file C:\User. <1 4 B Maximum recommended memory:
rk Adapter NAT 6.1 Gl

USB Controller Present @ Recommended memory:


Sound Card Auto detect
2 GB
spl Auto detect Guest OS recommended minimum:
1GB

¥Description

Cancel

Configuration file: C irtual Machines\parrto\parrto.vmx


Hardware compati ility: Workstation

13:49
05-04-2024

[2]
File Edit View VM Tabs Help
Library parrto

parrto
= © My Computer
New Virtual Machine Wizard
Me asploitat Ready to Create Virtual Machine
Windows Se! lick Finish to create the virtual machine. Then you can install Ubuntu.

¥ Devices The virtual machine will be created with the following settings:
Memory 6.0 Gl Name:
Ubuntu (2)
Location: C:\v ime\OneDrive\D!
20 GB Version: Workstation 17.5.x
Operating System Ubuntu
VD (SATA) Using file
Network Adapter NAT Hard Disk: 20 GB
Memory: 8192 MB
USB Controller Present Network Adapter: NAT
Sound Card Auto detect Other Devices: 2 CPU cores, CD/DVD, USB Controller, Sound Card
Display Auto detect
Customize Hardware.
Y Description

Finish Cancel

Configuration file: uments\Virtual Machines\parrto\parrto.vm»


Hardware compatibility: Workstation 17.5.x virtual machine
Primary IP address: Network information is not available

© + 5B © & © IN
ENG 3:50
eo) © 05-04-2024

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Ubuntu - VMware Workstation 17 Player (Non-commercial use only)


Player » | || »

31°C Smoke 4 2 49) [FYSUBSCRIBE

Player » Þ »

{Ay tome

Virtual Machine Name:


Ubuntu

State: Powered Off


OS: Ubuntu 64-bit
Version: Workstation 17.5.x virtual machine
RAM: 4 GB

Player »

UC © Type here to search

Name:- Roll No:


Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Practical
Practical No:-6
No:-6

Aim:- Develop
Aim:- Develop application
application using
using to
to download
download image
image from
from server
server ..

Steps:-
Steps:-

Create a new project


Recent project templates

ASP.NET Web Application (.NET Framework)

Configure your new project


ASP.NET Web Application (.NET Framework) c+

Create

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Create
Create WebService
WebService

Right
Right click-add-New
click-add-New Item
Item -web
-web service
service

DownloadImageWS.aspx
DownloadImageWS.aspx

DownloadImageWS.asmx.cs
DownloadImage WS.asmx.cs

public class
public class DownloadImageWS
DownloadlmageWS :: System.Web.Services.WebService
System. Web. Services. WebService
{{

[WebMethod]
[WebMethod]
public byte[]
public byte[] GetImageFile(String
GetImageFile(String fileName)
fileName)
{{
if
if (System.IO.File.Exists(Server.MapPath("~/Images/")
(System. IO. File. Exists(Server. MapPath("-/Images/") +
+ fileName))
fileName))
{{
return
return System.IO.File.ReadAllBytes(Server.MapPath("~/Images/")
System.IO.File.ReadAlIBytes(Server.MapPath("~/Images/") + + fileName);
fileName);
}}
else
else
{i
return
return new byte[] {{ 00};};
new byte[]
}j
}
}
}

Now create
Now create Handler
Handler

[] GetImageFile(
if (System.10 -Exists 1("-/Images/") + fileName))
system. 10. -Read ytes (Server .MapPath( mages/") + fileName);

e Explorer
Alt+Enter
[7 This item does not support previewing Þ Add to Source Control + #2

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

public class
public class MyHandler
MyHandler :: IHttpHandler
IHttpHandler
{{

public void
public void ProcessRequest(HttpContext
ProcessRequest(HttpContext context)
context)
{{
DownloadImageWS
DownloadImageWS ws ws =
= new
new DownloadImageWS();
DownloadImageWS();
byte[]
byte[] binImage
binImage =
= ws.GetImageFile(context.Request["fileName"]);
ws. GetImageFile(context.Request[''fileName"']);
if(binImage.Length==1)
if(binImage.Length==1)
{{

};
else
else
{{
context.Response.ContentType
context.Response.ContentType = = "image/jpeg";
"image/jpeg"
context.Response.BinaryWrite(binImage);
context.Response.Binary Write(binImage);
};
};

public bool
public bool IsReusable
IsReusable
{{
get
get
{{
return
return false;
false;
}}
}}
}}
}}

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Add New
Add New Form
Form

Form
Form name:
name: DownloadImage.aspx
DownloadImage.aspx

Type: Visual C#

ms Master Pai

loadimagdaspx

Debug A Þ 11S Express (¢ Z = (Newlnline Style

Downloadimageaspxt # X MyHandler J DownloadimageWSasmx.cs Practical6imageDownload

{image Download and Show]

Download lamge |

>

4 Add to Source Control «__

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Double
Double click
click on
on Button
Button

public partial
public partial class
class DownloadImage
DownloadImage :: System.Web.UI.Page
System.Web.UI.Page
{{
protected void
protected void Page_Load(object
Page Load(object sender,
sender, EventArgs
EventArgs e)
e)
{i

}j

protected void
protected btnshow_Click(object sender,
void btnshow_Click(object sender, EventArgs
EventArgs e)
e)
{{
Image1.ImageUrl
Imagel.ImageUrl = = "~/MyHandler.ashx?fileName="
"~/MyHandler.ashx?fileName=" ++ txt1.Text;
txt1. Text;
Response.Write("Downloading
Response. Write('"' Downloading of
of Image
Image is
is done");
done");
}j
}j
}j
Now add
Now add the
the Images
Images
Project
Project -Add-
-Add- folder
folder

Solution Explorer

77 Solution ‘Practical6lmageDownload' (1 ¢
4 ) Practical6lmageDownload
> Connected Services
> Properties
> = References
Ml images |
2) Downloadimage.aspx
:> DownloadimageWS.asmx
23 MyHandler.ashx
9) Web.config

Add
Add some
some images
images in
in Image
Image Folder
Folder

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Solution Explorer

@ & -

7] Solution ‘Practical6lmageDownload’ (1 «
4 §) Practical6ImageDownload
Connected Services
& Properties
"-E References
=] images
4 a.png
ms b.png
ms c.png
>) Downloadlmage.aspx
DownloadimageWS.asmx
® MyHandler.ashx
9°) Web.config

Now Run
Now Run Program
Program
BY File Edit View Project Build Debug Format Table Test Analyze Tools Extensions Window Help P Pact6DownloadImg
(<] B-GeWEA 9 Debug » Any CPU = Þ IIS Express (Google Chrome) ~ &, ~ Ml (New Inline Style ~ || | (None) ~ (Default » B | U A

Downloadimg.aspx.cs Downloadimg.aspx 2X MyHandler.ashx.cs adimgW Jownloadimg

Select the file!


Download |
&

Team Explorer
Prop
DOCUMENT
Pac

© Split | @ Source |

@ 0 Errors | |{\ 1 Warming | @ 0 of 1 Message |Xp| Build + IntelliSense


n Project File
(XHTMLS): Element ‘center’ orted. Ptact6Downloadimg Downloadlmg.aspx
TraceMode
ASP.NET

A Addto Source Control =

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Output:-
Output:-.
¥ © localhost43401/Downloadimg. X + _ X

GC © Localhost:43401/Downloadimg.aspx * oO =

Select the file]


|Download |

Y © localhost43401/Downloadlmg xX + _ X

€ GC © localhost:43401/Downloadimg.aspx * =

Downloading of Image is done


{Select the file||0.jpg J
[Download |

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Practical
Practical No:-7
No:-7

Aim:-Implement
Aim: Implement FOSS-Cloud
FOSS-Cloud Functionality
Functionality VSI
VSI Iaas,
Iaas, Storage
Storage

Steps:-
Step
1.Create
1.Create One
One Folder(Foss)
Folder(Foss)
: Manage Local Disk (C:)
Home Share View ive Tools
Pp S| 4 cut x 5New item + Open » FEselectall
i Copy path a 1] Easy access > Edit Select none
Pin to Quick Copy Paste ,. Move Copy Delete Rename New Properties
access [7] Paste shorteut to- to © older S History EP Invert selection
Clipboard Organize New Open Select
” » A & > ThisPC > Local Disk(C) » v|Þ, | Search Local Disk (C
# Quickaccess A Name © Date modified Te Size74
I Desktop x Intel 2024 12:08 File folder
Þ Downloads " mysql File folder
& Documents , New folder File folder
OEM File folder
© Pictures t
omnetpp-4.2.2-src-windows File folder
Akanksha120 os File folder
FYITB170 Perflogs File folder
& New Volume (0:) Program Files File folder

soni Program Files (x86) File folder


_ SiC Practical File folder
W Desktop soni File folder
@ OneDrive src File folder
Q student SVCS,106 File folder
this Pc SYCST1 File folder
"Þ 30 Objects Sycs96 File folder
I Desktop 7 File folder
= Ubuntu 14 File folder
© Documents
umlet-standalone-14,2 File folder
Þ Downloads
Users File folder
2) Music wamp File folder
| Pictures wamp64 File folder
B Videos Win
7 My Sql Workbench File folder
Local Disk (C) Win XP OracleSi File folder
& New Volume (0) Windows File folder
_ Rf flutter windows 3.16.1-stable WinRAR ZIP archive
Þ Libraries
an D logisim-win-2.7.1 Application
FP Network [4] mail Executable
ar File
Control Panel Bsc WinRAR ZIP archive
la] Recycle Bin EB umlet-standalone-142 WinRAR ZIP archive
061534 v Foss File folder
41 items

A Bite ING

2.
2. Open
Open Virtual
Virtual Machine
Machine
WHd9: O ls Document! - Microsoft Word
MY ore | insert page Layout References Mailings Review View
= aes eee ee mee A find >
WS a Calibri (B29) (& WindowsXP Professional Oracle Si - VMware Workstation = © x mBbCede AaBbCcDX |, A We Replace
Past ” Chant
oF Format Painter B © Ur ® file Edit View VM Tabs Help | p> ~ 2 2/082 Strong Quote |= Styles| IB Select
Clipboard
DKP =
————— wsibrary =[ji Windows XP Professional.. = | Editing =
: =x
Newastion) D He here to search . &=
Search Document po - .
7 EI My Computer fi Windows XP Professional Oracle 9i
gy |oo) = - [7 CentOS Client
J15/S IF CentOS Server D> Resume
this virtual machine
This document does not
contain headings,
©[7]— Windows
Ubuntu Server 2012
TA[3 EdtEdit virtual virtual machine machine stings
set in

(Ti Windows 7 x64 - 9 Dre ha


Tobr
create navigation tabs, a{i Windows XP Professional Oracle 9i Devices
Memory —_— EE Ml
document by applying _ _
Heading Styles. ©} Processors 1 Sete Tine arteatbut
Hard Disk (IDE) 40 GB 2 SEssaa
© CD/DVD (IDE) Using driveF: Sen ener
toa =
Network Adapter Bridged (Autom... {dis pare int mee F
(= USB Controller Present og tude name orsnan):
jv Sound Card Auto detect

Printer Present
Display Auto detect

» Description 91/50 procedure successfully corptetes.


Type here to enter a description of this virtual sw F|
machine. c

» Virtual Machine Details


State: Suspended
Configuration file: C:\Win XP 01 XP Professional Oracle
Sisvenx
Hardware compatibility: Workstation 12x virtual machine
Primary IP address: Network information is not available

D 4 Y
2
°
5
Page: 1 of 1 | Words: 7 | 5 English (U.S) |
© Type here to search

Name:- Roll No:


Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

3.
3. Go
Go file->Create Virtual Machine
file->Create Virtual Machine
(@ Windows XP Professional Oracle 9i - VMware Workstation = o x

File Edit View VM Tabs Help ÞÞ ~ D 2/08


[7 New Virtual Machine... Ctrl+N
[fj] Windows
XP Professional ...
fl New Window
Open... Cris 0 Ini Windows XP Professional Oracle 9i
Scan for Virtual Machines...
Close Tab Ctrl+W Þ Resume this virtual machine
[Ep Edit virtual machine settings
link Connect to Server... Ctrl+L
Virtualize a Physical Machine... . * Oracle SQL Plus ad

Export to OVF Mm 7 Devices Notes * statenStatonent


eat igeered
1gnors -
a = Memory 512 MB
Map Virtual Disks... Processors 1 5) eqFile affect but
wrote

Exit (2 Hard Disk (IDE) 40GB 2 Exrtnine varchar(29;


© CD/DVD (IDE) Using drive F: Pa rer
57 Set
# Fron student ©
select snane into varsnane
2 Network Adapter Bridged (Autom...
5 where rollno=rn;
USB Controller Present 1010 @bas_output put "1ino{ ‘student name:*||varsmane);
va_output-put_Linof rks
12 Fron student
<9 Sound Card Auto detect 13 where
1%
rolino=rn;
#1: vnarks/0;
- 15 @bns_output ,put_line{n1);
Printer Present 16 exception
47 when no_data_Found then
. 1s Gunc_output-put-Line("data not avatlapie);
(Display Auto detect 15 men vere. divide then
20 @bas_output .put_Line( “divide by zero");
221» end;
ata not available
» Description PL/S@L procedure successfully conpleted.
Type here to enter a description of this virtual 50>
machine.

» Virtual Machine Details


State: Suspended
Configuration file: C:\Win XP Oracle9i\Windows XP Professional Oracle
Si.vmx
Hardware compatibility: Workstation 12.x virtual machine
Primary IP address: Network information is not available

4.
4. Select
Select Typical
Typical

New Virtual Machine Wizard

VMWARE Welcome to the New Virtual


WORKSTATION Machine Wizard
PRO” 1 6
What type of configuration do you want?

© Typical (recommended)
Create a Workstation 16. 2.x virtual
machine in a few easy steps.

© Custom (advanced)
Create a virtual machine with advanced
options, such as a SCSI controller type,
virtual disk type and compatibility with
older VMware products.

Name:-
Name:- Roll No:
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

5.
5. select
select Foss-cloud –installer.iso
Foss-cloud —installer. iso

New Virtual Machine Wizard

Guest Operating System Installation


A virtual machine is like a physical computer; it needs an operating
system. How will you install the quest operating system?

Install from:

Installer disc:

No drives available

@ Installer disc image file (iso):


| D: \foss-doud-installer-1.3.2.is0 v| | Browse... |
{\, Could not detect which operating system is in this disc image.
You will need to specify which operating system will be installed.

OI will install the operating system later.

The virtual machine will be created with a blank hard disk.

Help | < Back | | Next > Cancel

6.
6. select
select Linux
Linux and
and ubuntu
ubuntu 64bit
64bit

New Virtual Machine Wizard

Select a Guest Operating System


Which operating system will be installed on this virtual machine?

Guest operating system

O Microsoft Windows
© Linux
© VMware ESX
© Other

Version

‘Ubuntu 64-bit

Heb | — Cancel

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

7.
7. Select
Select virtual
virtual machine
machine name:
name: Foss
Foss

AND select
AND select the
the the
the Foss
Foss folder
folder from
from cc drive which is
drive which is already
already created.
created.

New Virtual Machine Wizard x

Name the Virtual Machine


What name would you like to use for this virtual machine?

Virtual machine name:


| Foss |

Location:

| C:\Foss || Browse... |
The default location can be changed at Edit > Preferences.

< Back Next > | | Cancel

8.
8. select
select “store
“store Virtual
Virtual disk
disk single
single file.
file.

New Virtual Machine Wizard >

Specify Disk Capacity


How large do you want this disk to be?

The virtual machine's hard disk is stored as one or more files on the host computer's
physical disk. These file(s) start small and become larger as you add applications,
files, and data to your virtual machine.

Maximum disk size (GB): 20.0 [ =


Recommended size for Ubuntu 64-bit: 20 GB

© Store virtual disk as a single file


©) Split virtual disk into multiple files
Splitting the disk makes it easier to move the virtual machine to another computer
but may reduce performance with very large disks.

Help <Back Cancel

Click
Click on
on edit
edit virtual
virtual setting
setting machine
machine

Name:-
Name:- Roll No:
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

9.Now
9.Now click
click on
on “power
“power on
on this
this virtual
virtual Machine”
Machine”
@ Foss - VMware Workstation _ o x 3

file Edit View VM Tabs Help > ~ [©] 2 / oon


7 X =_
= [77 Windows XP Professional Ora... [7] Foss
Type here

= ( My Computer i! Foss
[7] CentOS Client
[7 CentOS Server Þ Power on this virtual machine
[7] Ubuntu HZ Edit virtual machine settings
[7] Windows Server 2012
fi Windows 7 x64 > Devices
{ij Windows XP Professional Oracle 9i =JMemory 4GB
[] Foss
Processors 2
{) Hard Disk (SCSI) 20 GB
CD/DVD (SATA) Using file D:\foss...
* Network Adapter NAT
| USB Controller Present
Sound Card Auto detect
= Printer Present
[Display Auto detect

» Description
ere to enter a on of this virtual
vachine

» Virtual Machine Details


State: Powered off
Configurationfile: C:\Foss\Foss.vmx
Hardware compatibi Workstation 16.2.x virtual machine
Primary IP address: Network information is not available

ſd

10.
10. Click
Click enter
enter
11.
11. write
write Yes
Yes
@ Foss - VMware Workstation - © xt
File Edit View VM Tabs Help ~ | & Han ws, i

Library X | (Gj; Windows XP Professional Ora... [fe Foss


Type here to search
2 My Computer
7] CentOS Client
[7] CentOS Server
[7] Ubuntu
| Windows Server 2012
[fi Windows 7 x64 installer v1.3.2
fii Windows XP Professional Oracle 9i
= [Foss Copyright (C) 2010 — 2024 FOSS-Group
. http://uuu . foss-group .de

Cloud-Instal ler
The installer comes WITHOUT WARRANTIES OR CONDITIONS OF ANY
either expressed or implied.
Do you want to start the installation?
yes or no?:

Click in the virtual screen | Install Ubuntu 64-bit as you would on a physical computer. When you are done and
& to send keystrokes the operating system boots up, dick “I Finished Installing”. Serre SET FED
To direct input to this VM, click inside or press Ctrl+G. = 2 BD

Select 11*st Option


Select Option

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

@ File Edit View VM Tabs Help

A 64bit x86 CPU with virtualization extension is required


Detected an "Intel" CPU
Your CPU "11th Gen Intel(R) Core(TM) i5-11400 @ 2.606 supported

Memory Requ
At least 4 GB of physical memory is required.
You have enough memory to continue (? GB).

Deno-Systen which lets you quickly install and test t


Cloud on a single machine without any further netuork
requirenents.
The Single-Server which runs the whole FOSS-Cloud on
a single physical server, without any high availability.
The UM-Node which hosts the virtual machines in a multi node setup
(requires at least four physical servers
The Storage-Node which serves the images of the virtual
in a multi node setup (requires at least four physical
Please enter the number of the server type you would like to install
1) Demo-Systen
2) Single-Server
3) UM-Node (multi node setup)
4) Storage-Node (multi node
Node type: _

Select Network
Select Network
@ File Edit View VM Tabs Help

Logical volume “virtualization” created


All LUM volumes created successfully

Filesystem Cri
lesy ystems
2fs 1.42.13 (17-May-2015)
Filesystem creation was succ

Mounting Filest
Mounting of filesystems was

Stage4 Installation
Unpacking stage4 tarball
This will take a while — please be patient
Unpacking of stage4 tarball was successful

Network Device Selection

Please enter the device which you would like to t


Available ethernet devices: eno16777736
Device #0: eno16777736

fc-node-configuration –n demo-system
fe-node-configuration —n –password admin
demo-system —password admin

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

> FOSS B2

A dedicated SCSI, SATA or PATA disk is required for the installati


The disk has to be at least 130 GB in size

Found sda (200 GB). Size is

Below you will find a list of all detected and supported disks
sda (200 GB)

Please enter the device name on which you would like to install
Device: sda
*sda’ will be used as the installation device.

+
1 Logical Volume Cleanup and Preparation
Checking for existing volume groups and physical volumes
No volume groups found
No volume groups found

Installation Device Partitioning

Below is the existing partition layout of your selected device


Error: /dev/sda: unrecognised disk label
Model: VMware, VMware Virtual S (scsi)
Disk /deu/sda: 2156B
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
All existing partitions have to be deleted in order to continue
THIS MEANS THAT ALL DATA ON THIS DISK WILL BE LOST
Do you want to continue?
yes or no?: $

3! FOSS B2

Logical volume “virtualization” created

All LUM volumes created successfully

Filesystem Creation

Creating filesystems
nke2fs 1.42.13 (17-May-2015)

Filesystem creation was successful

Unpacking stage4 tarball


This will take a while - please be patient

Unpacking of stage4 tarball was successful

Network Device Selection

Please enter the device which you would like to use

Available ethernet devices: eno16777736


Device #0: eno16777736

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

3 FOSS B2

47.
SC CCS
ALANA NL AILS
N “IN IN IN

deno-node v1.3.2

Copyright (C) 2010 - 2024 FOSS-Group


http://www. foss-group .de

Direct your web browser to:


---> http:7/192.168.15.132 <
user: admin password: admin

Console/SSH-Login
user: root password: admin

Documentation: http://wiki.foss-cloud.org

IAAI III IID IAAI ARIAL ASIII AAAI LAA HAAR A AAA ASA

This is localhost.unknown_domain (Linux x86_64 4.10.1-gentoo) 09:33:29

localhost login: root

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Practical
Practical 8
8
Aim :: Implement
Aim Implement Foss-Cloud
Foss-Cloud Functionality
Functionality —– VSI
VSI Platform
Platform as
as aa Service
Service (PaaS).
(PaaS).

Steps
Steps ::
Step
Step 11 : : After
After Installing
Installing Foss,
Foss, Spice
Spice Client
Client and
and Virt
Virt Viewer
Viewer Go
Go To
To Browser
Browser and
and open
open
FOSS
FOSS Server.
Server.

FOSS Cloud
=
Home About Contact

Login
Please fill out the following form with your login credentials

Fields with * are required.

Username *

Password *

JU Remember me next time

Version 1.3.2
on server localhost
Copyright © 2024 by FOSS-Group.
‘All Rights Reserved.

Step
Step 22 :: Press
Press Win
Win +
+ R
R and
and type
type regedit.
regedit.
[BY Registry Editor
File Edit View Favorites Help
Computer\HKEY_CLASSES ROOT\spice\shell\open\command
> ShellNameSpace.Shell\A || Name Type Data
>
ShellNamespace.shellN’ || a6) (Default) REG_SZ "C:\Users\student\AppDatz\Local\virt-viewer\bin\...
> SKBMonitor.KeyStrokeh
>
>
SKBMonitor.KeyStrokeh
SketchObj.Sketchink
> SketchObj.Sketchink.1
skype
skype-meetnow
skypewin
> Smart.DebugDocument
Smart.DebugDocument
;
>

Smart.DebugHelper
; Smart.DebugHelper.1
smtp
;
>

Snapins.FolderSnapin
; Snapins.FolderSnapin.1
Snapins.HTMLSnapin
;
>

Snapins.HTMLSnapin.1
; Snapins.OCXSnapin =] Type the name of a program, folder, document, or
Snapins.OCXSnapin.1 Internet resource, and Windows will open it for you.
;
>

soap
; SOFTWARE
solution_utils.dll.CSD Open: | regedit v
;
>

solution_utils.dll.CSD.1
; solution_utils.dll.Custor
> solution_utils.dll.Custor

Cancel Browse...

Name:-
Name:- Roll No:
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Step
Step 3
3 :: Go
Go To Virtual Machine.
To Virtual Machine.

Edit String

Value name:
|(Defaut)
Value data:
"'C:\Users\student\A

Step
Step 4
4 :: Select
Select Ubuntu.iso put name
Ubuntu.iso put name and upload.
and upload.

O99
Cloud
{ENv

Home About Contact Logout (admin)

v» Virtual Machine Upload ISO File


Persistent VMs Fields with * are required.
Dynamic VMs
Alternative upload method
VM Templates
Create Iso File
Profiles Choose File | ubuntu-10.1... te-amd64.is0
Create 10
Upload ISO File Upload finished (693.97 MB) took 2 seconds

> VM Pool File Name


Þ Storage Pool [Ubuntuot Upload finished!
> Node
> Network [Upload |
> User
Þ Configuration
> Diagnostics
> Assigned VMs

Version 1
on Server ot
Copyright
© 2024 by ‘OSS-Group.
All Rights Reserved.

Step
Step 55 :: Go
Go To
To Create
Create Tab.
Tab.

O99
Cloud
[EN]

Home About Contact Logout (admin)

> Virtual Machine Create VM Profile


Persistent VMs Fields with * are required.
Dynamic VMs
Step! Step Pp ll
VM Templates Please select a profile first! Overvnite the default values if necessary!
Create
Profiles BaseProfile Isofile ©
Create
@Hinux Ubuntu01.iso ~
Ewindows
Upload ISO File
= default
i686
Þ VM Pool £x86_64
Þ Storage Pool © multi Name *
© de-DE Ubuntu VM1
> Node
© de-AT
> Network © de-CH
> User © en-US Description *
© en-GB [Creating VM on Foss Cloud Server
Þ Configuration
© fr-CH
Þ Diagnostics © fr-FR Memory *
> Assigned VMs © it-CH
OitT 256 MB

Volume Capacity *

10 GB

CPU* Clock Offset *


iv localtime v

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Step
Step 66 :: Now
Now Click
Click on
on VMTemplate-
VMTemplate- Select
Select VMPOOL
VMPOOL and
and give
give no
no of
of displays
displays as
as 11
Click
Click on
on create.
create.

FOO Home About Contact Logout (admin)

» Virtual Machine Create VmTemplate


Persistent VMs Fields with * are required.
Dynamic VMs
Step | Step Il
VM Templates Please select 2 profile first! Please choose 3 node and overwrite the default values if necessary!

Create
Profiles Profile Vmpool *
Create linux irtual-machine-pool-01 v

Upload ISO File


=
- = Ubuntu VM1 Node”
3 x86_64 foss-cloud-01 foss-cloud.org ~
Þ VM Pool
© en-US
» Storage Pool
» Node
> Network Name *
» User Ubuntu VM1

» Configuration
Description *
» Diagnostics
[Creating VM on Foss Cloud Server
» Assigned VMs

Memory *
4.25 GB
256 MB 128 Gl

Volume Capacity *
100 GB
1068 2048 GB

CPU* Clock Offset ©


1v localtime v

Number of displays

FOSS Cloud
EN v

Home About Contact Logout (admin)

» Virtual Machine Manage VMTemplates


Persistent VMs Vm Pool [vm-template-virtual-machine-pool-01 v|
Dynamic VMs
No. | DisplayName Status Run Action Memory Node Action
VM Templates
Create LJ LL}
Profiles
1 Ubuntu Vit | topped - A — fozs-cloud-01.fozs-cloud.org tz thh© [il
Create

Upload ISO File

Þ VM Pool
» Storage Pool
» Node
» Network
» User
» Configuration
» Diagnostics
» Assigned VMs
4 »

page[t Joft [ow]


Links
Download Spice Client

on Serv
Copyright © 20
All Rights

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Step
Step 77 :: Click
Click on
on Run Action ➨
Run Action ® Symbol.
Symbol.

FOSS
EN v

Home About Contact Logout (admin)

+ Virtual Machine Manage VMTemplates


vm Pool [vm-template-virtual-machine-pool-01 v]

No. | DisplayName Status Run Action Memory Node Action

1 Ubuntu VML D running 1X 4.2568 / 4.25 cet

Upload

Þ VM Pool
Þ Storage Pool
» Node
Þ Network
» User
» Configuration
» Diagnostics
» Assigned VMs

Links
nload Client

Step
Step 88 :: Click
Click on
on Action.
Action.

EN v
FOSS n A remote desktop client?
Cloud
http://192.168.15.131 wants to open this application.
Home About Contact Logout (admin)

>» Virtual Machine Open A remote desktop client

Run Action Memory Node Action

B running xn [=]

Upload ISO File

Þ VM Pool
» Storage Pool
» Node
» Network
» User
» Configuration
» Diagnostics
» Assigned VMs

Links

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

Step
Step 99 :: Click
Click on
on Open
Open aa remote
remote desktop
desktop client.
client.

(HB) spice://192.168.15.131/?port=5900&password=9dBgVPxQ8waz2 (1) - Remote Viewer = O x

File View Send key Help


Language
Amharic Gaeilge Nederlands Holof
Arabic Galego Norsk bokmal E314.)
Asturianu Gujarati Norsk nynorsk rhc (St Re)
benapycKkag nq Punjabi (Gurmukhi)
6bArapcku Hindi Polski
Bengall Hrvatski Portugués do Brasil
Bosanski Magyar Portugués
Catala Bahasa Indonesia Romana
CeStina Italiano PYCCKMM
Cymraeg AAG Samegillii
Dansk doboxywo Slovencina
Deutsch Kazak Slovenscina
Dzongkha Khmer Shqip
EAANULKO eto] Cpneku
Kurdi Svenska
Esperanto Lietuviskai Tamil
Espafiol Latviski Thai
Eesti MaKeaoHcKu Tagalog
Euskara Malayalam Turkce
Suomi Marathi YKPALHCbKaA
Francais Nepali Tiéng Viet
Fi Help Fe Lang F3 Keymap F4 Modes F6 Other Options

1 [!!] Choose language |

Based on your language, you are probably located in one of these countries or regions.

Choose a country, territory or area:

Antigua and Barbuda


Australia
Botswana
Canada
ſt “a

Ireland
New Zealand
Nigeria
Philippines
Singapore
South Africa
United Kingdom
United States
Zimbabwe
other

<Go Back>

<Tab> moves; <Space> selects; <Enter> activates buttons

Name:-
Name:- Roll
Roll No:
No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

[!!] Choose language |

Please choose the language used for the installation process. This language will be the
default language for the final system.

Choose a language:

[C; No localization
Albanian Shqip
Arabic =
Asturian Asturianu
Basque Euskara
Belarusian Benapyckaa
Bosnian Bosanski
Bulgarian BoarapcKu
Catalan Catala
Chinese (Simplified) #137 (fal 1)
Chinese (Traditional) rp 3e (BEBE)
Croatian Hrvatski
Cestina
Dansk
Nederlands

Esperanto Esperanto
Estonian Eesti
Finnish Suomi
French Francais
Galician Galego
German Deutsch
Greek EAANULEKO!

<Go Back>

<Tab> moves; <Space> selects; <Enter> activates buttons

[1] Ubuntu installer main menu |

You can try to have your keyboard layout detected by pressing a series of keys. If you do
not want to do this, you will be able to select your keyboard layout from a list.

Detect keyboard layout?

<Go Back>

1 Ubuntu installer main menu |

Is there a key labelled '6' ? Only count labels for the key on its own or with Shift, not
with Alt or other modifier keys.

<Yes>

1 Ubuntu installer main menu |

Is there a key labelled 'G' ? Only count labels for the key on its own or with Shift, not
with Alt or other modifier keys.

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

[!] Ubuntu installer main menu

Choose the next step in the install process:

Choose language
Configure the keyboard
Detect and mount CD-ROM
Load debconf preconfiguration file
Load installer components from CD
Change debconf priority
Check the CD-ROM(s) integrity
Save debug logs
Execute a shell
Abort the installation

<Tab> moves; <Space> selects; <Enter> activates buttons

1 Ubuntu installer main menu |

Is there a key labelled 'o' ? Only count labels for the key on its own or with Shift, not
with Alt or other modifier keys.

<Yes>

<Tab> moves; <Space> selects; <Enter> activates buttons

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

[!] Ubuntu installer main menu |

Keyboard layout detection complete


Based on the keys you pressed, your keyboard layout appears to be "1t". If this is not
correct, you can go back and select your layout from the full list instead.

<Go Back> <Cont inue>

[1] Ubuntu installer main menu Þ

You will need a way to toggle the keyboard between the national layout and the standard
Latin layout.

Right Alt or Caps Lock keys are often chosen for ergonomic reasons (in the latter case,
use the combination Shift+Caps Lock for normal Caps toggle). Alt+Shift is also a popular
combination; it will however lose its usual behavior in Emacs and other programs that use
it for specific needs.

Not all listed keys are present on all keyboards.

Method for toggling between national and Latin mode:

Caps Lock
Right Alt
Right Control
Right Shift
Right Logo key
Menu a

Control+Shift
Control+Alt
Alt+Caps Lock
Left Control+Left Shift
Left Alt
Left Control
Left Shift
Left Logo key
Scroll Lock key

<Go Back>

<Tab> moves; <Space> selects; <Enter> activates buttons

1 Configuring the network with DHCP |

33%

This may take some time.

[!!] Configure the network |


Network autoconfiguration failed
Your network is probably not using the DHCP protocol. Alternatively, the DHCP server may
be slow or some network hardware is not working properly.

<Cont inue>

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

[!] Ubuntu installer main menu

Choose the next step in the install process:

Choose language
Configure the keyboard
Detect and mount CD-ROM
Load debconf preconfiguration file
Load installer components from CD
Detect network
Configure the network
Configure the clock
Detect disks
Partition disks
Install the base system
Set up users and passwords
Configure the package manager
Select and install software
Install the GRUB boot loader on a hard disk
Continue without boot loader
Finish the installation
Change debconf priority
Check the CD-ROM(s) integrity
Save debug logs
Execute a shell
Eject a CD from the drive
Abort the installation

<Tab> moves; <Space> selects; <Enter> activates buttons

[!] Configure the network |


Please enter the hostname for this system.

The hostname is a single word that identifies your system to the network. If you don't
know what your hostname should be, consult your network administrator. If you are setting
up your own home network, you can make something up here.

Hostname:

ubuntu

<Go Back> <Cont inue>

[!] Configure the clock |


Based on your present physical location, your time zone is Asia/Kolkata.

If this is not correct, you may select from a full list of time zones instead.

Is this time zone correct?

<Go Back>

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

[!] Configure the clock |

Based on your present physical location, your time zone is Asia/Kolkata.

If this is not correct, you may select from a full list of time zones instead.

Is this time zone correct?

<Go Back>

[!!] Partition disks |

The installer can guide you through partitioning a disk (using different standard
schemes) or, if you prefer, you can do it manually. With guided partitioning you will
still have a chance later to review and customise the results.

If you choose guided partitioning for an entire disk, you will next be asked which disk
should be used.

Partitioning method:

se entire disk
Guided - use entire disk and set up LVM
Guided - use entire disk and set up encrypted LVM
Manual

<Go Back>

[!!] Partition disks |

Note that all data on the disk you select will be erased, but not before you have
confirmed that you really want to make the changes.

Select disk to partition:

Virtual di 1 - 107.4 GB Virtio B

<Go Back>

[11] Set up users and passwords |

A good password will contain a mixture of letters, numbers and punctuation and should be
changed at regular intervals.

Choose a password for the new user:

<Go Back> <Cont inue>

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

[!!] Set up users and passwords |

A user account will be created for you to use instead of the root account for
non-administrative activities.

Please enter the real name of this user. This information will be used for instance as
default origin for emails sent by this user as well as any program which displays or uses
the user's real name. Your full name is a reasonable choice.

Full name for the new user:

<Go Back> <Cont inue>

[!!] Set up users and passwords |

You entered a password that consists of less than eight characters, which is considered
too weak. You should choose a stronger password.

Use weak password?

<Go Back>

[!] Set up users and passwords |

You may configure your home directory for encryption, such that any files stored there
remain private even if your computer is stolen.

The system will seamlessly mount your encrypted home directory each time you login and
automatically unmount when you log out of all active sessions.

Encrypt your home directory?

<Go Back>

[!] Configure the package manager Þ

If you need to use a HTTP proxy to access the outside world, enter the proxy information
here. Otherwise, leave this blank.

The proxy information should be given in the standard form of


"http: //[[user] [:pass] 8] host [:port] 7".

HTTP proxy information (blank for none):

<Go Back>

Name:-
Name:- Roll
Roll No:
Sub:-
Sub:- CCWS
CCWS Class:-TYCS
Class:-TYCS

[!] Configuring grub-pe |

It seems that this new installation is the only operating system on this computer. If so,
it should be safe to install the GRUB boot loader to the master boot record of your first
hard drive.

Warning: If the installer failed to detect another operating system that is present on
your computer, modifying the master boot record will make that operating system
temporarily unbootable, though GRUB can be manually configured later to boot it.

Install the GRUB boot loader to the master boot record?

<Go Back>

[!] Finish the installation |

System clocks are generally set to Coordinated Universal Time (UTC). The operating system
uses your time zone to convert system time into local time. This is recommended unless
you also use another operating system that expects the clock to be set to local time.

Is the system clock set to UTC?

<Go Back>

[!!] Finish the installation |

Installation complete
Installation is complete, so it is time to boot into your new system. Make sure to remove
the installation media (CD-ROM, floppies), so that you boot into the new system rather
than restarting the installation.

<Go Back> <Cont inue>

Name:-
Name:- Roll
Roll No:

You might also like