CT2 Release Procedure
From UG
(Difference between revisions)
(→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 |
- | + | type ./shutdown.sh | |
- | + | pgrep 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 == | ||
- | + | type ./startup.sh | |
- | + | ||
+ | == deploy war file with New Release == | ||
- | + | 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