CT2 Release Procedure

From UG

(Difference between revisions)
Jump to: navigation, search
(start tomcat)
Line 1: Line 1:
[[Category:CT2 IT]]
[[Category:CT2 IT]]
-
== stop Tomcat ==
+
== stop Tomcat ==
-
go to /opt/tomcat/bin
+
go to /opt/tomcat/bin as root
-
[7:00:12 PM] Paul Min: as root
+
type ./shutdown.sh
-
[7:00:22 PM] Paul Min: type ./shutdown.sh
+
pgrep java
-
[7:00:29 PM] Paul Min: pkill -9 java
+
 
 +
pkill -9 java
== make a backup of the webapp folder ==
== make a backup of the webapp folder ==
 +
 +
cp -ra Client Client.bak
 +
cp -ra internal internal.bak
 +
== create a mysqldump of Cybertrax Internal database ==
== create a mysqldump of Cybertrax Internal database ==
 +
 +
mysqldump -uroot -pJaG118Svc! -R --lock-all-tables cybertrax_internal > file.sql
 +
== delete Internal webapp dir ==
== delete Internal webapp dir ==
 +
 +
rm -r { directory name }
 +
== Patch DB for New Release ==
== Patch DB for New Release ==
 +
 +
through Navicat
 +
== start tomcat ==
== start tomcat ==
-
to start tomcat
+
type ./startup.sh
-
[7:00:51 PM] Paul Min: type ./startup.sh
+
 
 +
== deploy war file with New Release  ==
-
== deploy war file with New Release from tomcat manager ==
+
from tomcat manager

Revision as of 00:28, 7 January 2010


Contents

stop Tomcat

go to /opt/tomcat/bin as root
type ./shutdown.sh
pgrep java
pkill -9 java

make a backup of the webapp folder

cp -ra Client Client.bak cp -ra internal internal.bak

create a mysqldump of Cybertrax Internal database

mysqldump -uroot -pJaG118Svc! -R --lock-all-tables cybertrax_internal > file.sql

delete Internal webapp dir

rm -r { directory name }

Patch DB for New Release

through Navicat

start tomcat

type ./startup.sh

deploy war file with New Release

from tomcat manager
Personal tools