F

thumbsshameΔιακομιστές

17 Νοε 2013 (πριν από 3 χρόνια και 8 μήνες)

77 εμφανίσεις

87
 


     VLab
88
.1  !"#
 #$$ %&'()  *  VLab
 
   VLab %
&'
( )
- CPU  
. /0 / 300 MHz
- 0 / 
% RAM 8(/0 / 64 MB
- )< 0 =((>/0 / 100 MB
-
&>
%  2 
-
>( LAN 
08>80/ LAN 
0B0.
- C> Microsoft Windows 98 8P)Q
.2 

, - 
1)  
 <%  VLab 08>80/
LAN .
2) ) 00 S 8  
 
T .Q(
3) () &(<(U 8> 
 
.3 


- 
>()   VLab % () V 
U(( )
1) Java SDK 0 />WV>
Apache Tomcat
2) Apache Tomcat WV>
web server
3) MySQL Server and Client WV>
database server
4) MySQL Connector/ODBC WV>
0 />(0> database server
5) MySQL-Front WV>
0 />%(> database
6) VLab Server WV>
 Lab Server
.3.1 

 Java 2 SDK, SE v1.4.2
1) (UU>QU j2sdk-1_4_2-windows-i586.exe %>Q(>< 1_java ( VLab
Installation WV>
% extract QU/
>()
2) U %>)%P 8B0%V( 8 
>() WV>

3) 
U>&g
Next %8B0%V( License Agreement ( i> -1
89
i> -1 %V( License Agreement 8 Java 2 SDK, SE v1.4.2
i> -2 %>U>0 >< >() 8 Java 2 SDK, SE v1.4.2
i> -3 %&>>( Java Virtual Machine (JVM) 8
Java 2 SDK, SE v1.4.2
90
4) U> I agree the terms in the license agreement VU U>&g
Next
5) U %>)%8B00 >U>0 >< >() 
QTP >U>
Q(><< >() Java SDK U Q ( i> -2 P > >() 
Q(>< S U>&g
Change <>U>Q(><< >() Java
6) 0 >< >() U>
(<&> 8 VU U>&g
Next %8B0
0 >>( Java Virtual Machine (JVM) <
/B0WV>
web browser 

  )W(/ JVM << 0 / Run code 8 Java %)%
& 0 >>( JVM WV>
Internet Explorer  Netscape qB()
U>
 > ( i> -3
7) 
U>&g
Next WV>
%
() VUV(  
8 >() ( i
> -4
8) >>() .%
B' %>C0 ( i> -5 U> Finish
i> -4 %V(  
8 >() Java 2 SDK, SE v1.4.2
i> -5 %V( 0>() Java 2 SDK, SE v1.4.2 .%
B'
91
.3.2 

 Apache Tomcat 4.1.29
1) (UU>QU jakarta-tomcat-4.1.29.exe %>Q(>< 2_tomcat ( VLab
Installation WV>
% extract QU/
>()
i> -6 %V( >  Java 2 SDK 8 Apache Tomcat 4.1.29
i> -7 %V( License Agreement 8 Apache Tomcat 4.1.29
i> -8 %>U>0 >< >() 8 Apache Tomcat 4.1.29
2) U %>)WV>
() %8P)0 V( >  Java 2 SDK ( i>
-6 U>&g
OK %>C%V( License Agreement ( i> -7
3) 
U>&g
I Agree %>C0 >U>0 >< >() ( i
> -8
"#$%&"'(:>>()  
 <C> Windows NT
 Windows 2000  Windows 2003  Windows XP U>U> 8 NT
Service  Windows <>/>WV>
<&>) <B
92
4) 
U>&g
Next %>C0 >U>Q(><< >() Apache Tomcat
4.1.29 U Q ( i> -9 <>() U <C:\Tomcat
i> -9 %>U>Q(><< >() Apache Tomcat 4.1.29
i> -10 %V(  
8 >() Apache Tomcat 4.1.29
i> -11 %>) 0 HTTP/1.1 VUq08 admin 8
Apache Tomcat 4.1.29
93
i> -12 %V( 0>() Apache Tomcat 4.1.29 .%
B'
5) 
U>&g
Install WV>
%
() Apache Tomcat 4.1.29 W(/%V(  

8 >() ( i> -10
6) U %>)%>C0 >) 0 HTTP/1.1 q08 admin ( i
> -11 W(/>>08  HTTP/1.1 <0> 80 VUq08 admin

 
( >8 qB(BVU <(U W(/q0 
 
/ Q
0/> 0 6 
>x VU
 U8>8yx 0!@#$ % ^ & * U /B0q0( /
7) U %>)%>C%V( 0>() .%) ( i> -12 U>&g

Close
8) >>()  
 <C> Windows 98 
Windows Me % ) 0 Windows />WV>
<&>) <B W(/>(U>
Short Cut %> Start Menu

Programs

Apache Tomcat 4.1

Start Tomcat Q
/ Q(>< C:\Windows\Start Menu\Programs\Startup
i> -13 %V( 8 
8 MySQL Server and Client 4.0.12
94
.3.3 

 MySQL Server and Client
1) (UU>QU SETUP.EXE %>Q(>< 3_mysql_server ( VLab Installation
WV>
% extract QU/
>() U %>)%>C0 Welcome
( i> -13 V( 8 
 V VU) 
2) U>&g
Next %>C0 Information ( i> -14 V( V



3) U>&g
Next %>C0 Choose Destination Location ( i> -15 
U>Q(><< >() MySQL <)Q
0 U/VU 0Q
4) U>&g
Next %>C0 Setup Type ( i> -16 U>U>x'>
() V Typical P >() V< Q
5) U>&g
Next WV>
%
>() VUV(  
8 >() ( i
> -17
6) U %>() .%//VU %>C0 Setup Complete ( i> -
18 VU %P U>&g
Finish
7) U %>)) 0 
 />WV>
MySQL <&>) <B
W(/>(Q(>< C:\mysql\bin
8) U>
8 <QU mysqld.exe %>C
B U> Create Shortcut %>C
Shortcut 8 WV>
mysqld.exe 8P)
9) (U> Shortcut 8 WV>
mysqld.exe Q/ Q(>< C:\Windows\Start
Menu\Programs\Startup  Windows 98  Windows Me VUQ/ Q(><
C:\Documents and Settings\All Users\Start Menu\Programs\Startup  Windows
NT  Windows 2000  Windows 2003  Windows XP
i> -14 %V( 8
BUWV>
8 MySQL Server and Client 4.0.12
95
i> -15 %>U>Q(><< >() 8
MySQL Server and Client 4.0.12
i> -16 >U>BV8 >() MySQL Server and Client 4.0.12
i> -17 %V(  
8 >()
MySQL Server and Client 4.0.12
96
i> -18 V( 0>() MySQL Server and Client 4.0.12 .%
B'
.3.4 

 MySQL Connector/ODBC
1) (UU>QU MyODBC-3.51.06.exe %>Q(>< 4_mysql_odbc ( VLab
Installation WV>
% extract QU/
>() U %>)%>C%
V( 8 
 ( i> -19
2) U>&g
Next %>C%V( License Agreement ( i> -20
3) U>&g
Next %>C%V( 8 

>() ( i> -21
4) U>&g
Next WV>
%
>() VUV(  
8 >() ( i
> -22
5) U %>() .%//VU %>C%( i> -23 U>&g
Finish
i> -19 %V( 8 
8 MySQL Connector/ODBC 3.51
97
i> -20 %V( License Agreement 8 MySQL Connector/ODBC 3.51
i> -21 %V( 8 

>() MySQL Connector/ODBC 3.51
i> -22 %V(  
8 >() MySQL Connector/ODBC 3.51
98
i> -23 %V( 0>() MySQL Connector/ODBC 3.51 .%
B'
.3.5 

 MySQL-Front
1) (UU>QU MySQL-Front_2.2_Setup.exe %>Q(>< 5_mysql_front (
VLab Installation WV>
% extract QU/
>() U %>)%>C
%T
0 >() MySQL-Front 0Q
0?( i> -24
2) U>&g
Yes //>() MySQL-Front U %>)%>C%V( 8
 
 ( i> -25
i> -24 %T
0 >() MySQL-Front 0Q
0?
i> -25 %V( 8 
8 MySQL-Front 2.2
99
3) U>&g
Next %>C%V( License Agreement ( i> -26
4) U>&g
Yes %>C0 ) 0Q(><< >() ( i> -27
5) 
) 0Q(><< >() .%//VU U>&g
Next %>C0
) 0>V( Short Cut  Start Menu 8 Windows ( i> -28
6) U>&g
Next %>C0 ) 0>V( Short Cut V0  S ( i
> -29
7) U>&g
Next %>C0 V( 8 

>() ( i> -30
8) U>&g
Install WV>
%
() MySQL-Front VUV(  
8 >(
) ( i> -31
9) 
<>() .%) %>C%V( 8
BU< Q8 MySQL-Front ( i
> -32
10) U>&g
Next %>C%V( 8 
.%)>() ( i> -33
i> -26 %V( License Agreement 8 MySQL-Front 2.2
i> -27 %>U>Q(><< >() MySQL-Front 2.2
100
i> -28 %>) 0 Start Menu 8 MySQL-Front 2.2
i> -29 %) 0 Short Cut 8 MySQL-Front 2.2
i> -30 %V( 8 

>() MySQL-Front 2.2
101
i> -31 %V(  
8 >() MySQL-Front 2.2
i> -32 %V( 8
BU< Q8 MySQL-Front 2.2
i> -33 %V( 0>() MySQL-Front 2.2 .%
B'
102
i> -34 %V( 8 
8 VLab Server
i> -35 %>) 0Q(><< >() VLab Server
i> -36 %>) 0 Start Menu 8 VLab Server
.3.6 

 VLab Server
1) (UU>QU setup.exe %>Q(>< 6_vlab_server ( VLab Installation
WV>
% extract QU/
>() U %>)%>C%V( 8 

 ( i> -34
2) U>&g
OK %>C%>) 0Q(><< >() ( i> -35
3) U>&g
B
  %>C%>) 0>V( Short Cut  Start Menu
8 Windows ( i> -36
103
4) U>&g
Continue %>
>() VLab Server 
<) V(  

8 >() ( i> -37
5) 
<>() .%) %>C0 V( 8 
.%)>() ( i
> -38
i> -37 %V(  
8 >() VLab Server
i> -38 %V( 0>() VLab Server .%
B'
.4 
Q
Q RQ %&'
>0<%  VLab %
>) 00 S >  ( )
1) >) 0 V8 Windows >WV>
Apache Tomcat
2) >(U>QUW=
%Q/ Q(>< Root 8 Apache Tomcat
3) >(U>&(WV>
MCS-51 Q/ Q(><8 WV>
VLab Server
4) >) 0WV>
0 S < 
B 
 
5) >) 0qB 8
BU MySQL
6) >() 8
BU VLab
 -1 >) 0 V8 Windows   
1.
path C:\j2sdk1.4.2\bin
>'</ Q
0
>) 0 path
2.
;C:\j2sdk1.4.2\bin

0</ >'<
>) 0 path Q >0
)VU
3.
set JAVA_HOME=C:\j2sdk1.4.2
4.
set CATALINA_HOME=C:\Tomcat
104
.4.1 
Q
-( * Windows
.4.1.1   Windows 98
1) (QU autoexec.bat 8P)
( /WV>
Notepad
2) 
8 
U Q (  -1
3) <P>QU
.4.1.2   Windows Me
1) U>&g
Start 8 Windows Me VU U> Run %>C0 ( i
> -39
2) 
 msconfig U 0 Open VU U> OK
3) 0 System Configuration Utility %(>
 ( i> -40 U><VT
Environment VU U><Path %>)%P U>&g
Edit
4) 0 Edit Variable %(8P)
 ( i> -41 W(/<0 Variable Name

 -V path >C/B0VU 0 0 Variable Value
8
BUP Q(V>0 Path <
>(Q (

8 
;C:\j2sdk1.4.2\bin 0</8Q VU U> OK
5) 0 Edit Variable %/Q VU>U
/ VT Environment 0 System
Configuration Utility ( (
P %>C Path 
0<
8Q ( i> -42
(*+,-.//0.12 
 
/ /B08  Path ><P>>V>Q8)
6) U %>)
 V JAVA_HOME VU CATALINA_HOME (  -1 
U>x'(/ >>
 V Path
i> -39
i> -40
i> -41
i> -42
.4.1.3   Windows NT/2000/2003/XP
1) U>
&g
8 <My Computer %>C
B8P)
 ( i> -43 U><
Properties %>C0 System Properties 8P)

105
i> -43 
B
U>
&g
8 <My Computer
2) U><VT Advance ( i> -44 VU U>&g
Environment Variables
3) 0 Environment Variables %>C8P)( i> -45  >i/0
System Variables (U0 0
>>( V Path Q Q
0 >
VU U><
V) VU U>&g
Edit V0>/ Q
0
 U>&g
New
4) >'<U>&g
New 0 New System Variable %>C8P)( i> -46
5) >'<U>&g
Edit %>C0 Edit System Variable ( i> -47 <
0 Variable Value: 
 ;C:\j2sdk1.4.2\bin 0</
6) U %>)
 V JAVA_HOME VU CATALINA_HOME (  -1 
U>x'(/ >>
 V Path
i> -44 % Advance 0 System Properties
106
i> -45 0 Environment Variables
i> -46 0 New User Variable
i> -47 0 Edit System Variable
.4.2   [\[],"#^\(_ \ ` $ Root * Apache Tomcat
1) (Vq0( VLab Installation
2) (Q(>< 7_web_files
3) U>
B Edit

Select All  >(&g
Ctrl  Q  VU >(&g
A %>/( %>C
 ) <QU<&>QUi/Q(>< 7_web_files
4) U>
B Edit

Copy >(&g
Ctrl  Q  VU >(&g
C %>/(
5) (Q(>< C:\Tomcat\webapps\ROOT\ >
QU S /B0>0VU <>
U//QUU0) >%>Q(><)<>U<)
6) U>
B Edit

Paste QUW=
%%TB>(U>
/ Q(>< Root 8 Apache
Tomcat
107
.4.3   [&b]( - " MCS-51 \(_ \ ` $*]( - " VLab Server
1) (Vq0( VLab Installation
2) U>>( ) <Q8 Q(>< 8_mcs51_programs
3) U>
B Edit

Copy >(&g
Ctrl  Q  VU >(&g
C %>/(
4) (Q(>< C:\Program Files\VLab Server\
5) U>
B Edit

Paste QU0 S 8 &(WV>
MCS-51 %TB>(U>
/
Q(><8 WV>
VLab Server
i> -48 0 > Login 8 MySQL-Front 2.2
.4.4 
Qc'%&'d*'"c[ MySQL
1) B Windows 
0
2) U %>< 
 Q(B
0.%//VU (WV>
MySQL-
Front 2.2 %>C0 > Login ( i> -48
3) U>&g
New %>C0 New Connection ( i> -49 >>8

BU0 Description  root VU U>&g
OK
4) U %>) < 
/  <Use compressed client/server protocol ( i
> -50 VU U>&g
Save
5) U>&g
Connect! WV>
%8B0%U>8 WV>
MySQL-Front ( i
> -51
i> -49 0 New Connection 8 MySQL-Front 2.2
108
i> -50 0 > Login 8 MySQL-Front 2.2
U %> New Connection
i> -51 %U>8 WV>
MySQL-Front 2.2
6) %U>8 WV>
>( / 3 0  Q(V>0 0 V( W  8 8
BU
(
/U8 1) 0 V( /U/( (
/U8 2) VU0 V( <( SQL
(
/U8 3)
7) U><mysql 0 V( W  8 8
BU %>C/U/(8 8
BU
mysql VU U><VT Database %>C/ <
/B08
BU mysql (
i> -52
8) (UU>< user %>C/U/(U(8  )VT Table ( i
> -53
109
i> -52 VT Database 8 MySQL-Front 2.2
i> -53 VT Table 8 MySQL-Front 2.2
9) U>&g

(View Data) %>C8
BU<) 
(8  user ( i> -54
10) U8
BU8  user <U( User 0 0 VUU( User  root <
U(
Host  localhost 
3 VT (8
BU) W(/>U>
8 VT < > %>C

B8P)( i> -55 VUU> Delete Record %>C0 Confirm (
i> -56 U>&g
OK
110
11) U %>)%>) 0 user root W(/U>
B Tool

User-Manager %>C
0 User-Manager ( i> -57
12) U><VT Edit Users (i> -58) U><root@% VU U>&g
Edit User
%>C0 Edit User ( i> -59
13) >>q0<0 New Password VU Retype Password  ruready238 VU U>
&g
Save W(/q0)%q08B08
BU8 root P qB(BVU>
<(U  >%(>8
BU0Q
i> -54 %V( 8
BU8  user 8
BU mysql
WV>
MySQL-Front 2.2
i> -55 >U8
BU%> user 8
BU mysql
WV>
MySQL-Front 2.2
111
i> -56 0 Confirm >U8
BUWV>
MySQL-Front 2.2
i> -57 0 User-Manager 8 WV>
MySQL-Front 2.2
i> -58 VT Edit Users 0 User-Manager
8 WV>
MySQL-Front 2.2
112
i> -59 0 Edit User.0 User-Manager
8 WV>
MySQL-Front 2.2
.4.5 

d*'"c[ VLab
1) (Vq0( VLab Installation
2) (Q(>< 9_db_script VU (UU>QU vlab.sql %>C%> Login
8 WV>
MySQL-Front ( i> -60
3) >>q08 user root VU U>&g
Connect! 8B0%>%(>8
BU
4) U>
B Tool

Create Database ( i> -61 %>C0 Create
new Database >>8
BU vlab U 0 Database Name ( i>
-62 WV>
%<> 8
BU vlab 8P) V0/ Q
0
8
BU( S U %>)
(WV>

5) U><Q8
BU vlab %>0 V( W  8
BU ( >%>Q8

BUU ) ( i> -63
6) U>VT Query 0 V( /U/( %>C >  0 S
 8
BU vlab 
<) >08
BUU 8
BU ( i> -64
i> -60 %> Login 8B0WV>
MySQL-Front 2.2
113
7) U>
&g
8 <0 (0 P 8 /U/( Query %>C
B( i>
-65
8) U> Run WV>
%<>  0 S 8 8
BU 
<) 08
BUU
8
BU 
 8 
9) U %>.%)> >(&g
F5 (Refresh) %>/( %. 0 S

8
BU8 8
BU vlab ( i> -66
i> -61 
B Create Database 8 MySQL-Front 2.2  8
BU
0
i> -62 0 Create new Database 8 MySQL-Front 2.2
i> -63 8
BU< 0 U08 8
BU vlab
114
i> -64 >  VU>08
BU8 8
BU vlab
i> -65 > Run WV>
MySQL-Front 2.2
115
i> -66  0 S 
8
BU8 8
BU vlab <V( W(/WV>

MySQL-Front 2.2
.5  f


- %  VLab
>T>() V  VLab % T>() V 

U(( )
1) MySQL-Front
2) MySQL Connector/ODBC
3) MySQL Server and Client
4) Apache Tomcat
5) Java Runtime Environment
6) Java 2 SDK