[b][color=red][size=x-large]第一步:解压两份tomact[/size][/color][/b]
[size=large]分别为tomactserver01和tomactserver02文件夹
[/size]
[b][size=x-large]第二、配置tomact的环境变量[/size][/b]
[size=large]分别为[/size]
[img]http://dl2.iteye.com/upload/attachment/0127/8857/19a05e04-2029-3da9-91e0-08cf67db3cab.png[/img]
[img]http://dl2.iteye.com/upload/attachment/0127/8859/5f1e2ac8-0be7-3a70-b849-cb8b5ba39ad2.png[/img]
[color=red][size=x-large]第三步:分别修改tomact的bin目录下的catalina.bat、startup.bat、shutdown.bat
中的CATALINA_HOME[/size][/color]
[size=x-large]tomactserver01中的CATALINA_HOME修改为tomactserver01
tomactserver02中的CATALINA_HOME修改为tomactserver02[/size]
[b][size=x-large]第四步:修改Server.xml中的端口号[/size][/b]
[size=x-large]使两个Server.xml中的port都不一样即可[/size]
[b][color=red][size=x-large]第五步:启动两个tomact[/size][/color][/b]
[size=large]分别为tomactserver01和tomactserver02文件夹
[/size]
[b][size=x-large]第二、配置tomact的环境变量[/size][/b]
[size=large]分别为[/size]
[img]http://dl2.iteye.com/upload/attachment/0127/8857/19a05e04-2029-3da9-91e0-08cf67db3cab.png[/img]
[img]http://dl2.iteye.com/upload/attachment/0127/8859/5f1e2ac8-0be7-3a70-b849-cb8b5ba39ad2.png[/img]
[color=red][size=x-large]第三步:分别修改tomact的bin目录下的catalina.bat、startup.bat、shutdown.bat
中的CATALINA_HOME[/size][/color]
[size=x-large]tomactserver01中的CATALINA_HOME修改为tomactserver01
tomactserver02中的CATALINA_HOME修改为tomactserver02[/size]
[b][size=x-large]第四步:修改Server.xml中的端口号[/size][/b]
[size=x-large]使两个Server.xml中的port都不一样即可[/size]
[b][color=red][size=x-large]第五步:启动两个tomact[/size][/color][/b]