CT2 Release Procedure
From UG
(Difference between revisions)
Line 1: | Line 1: | ||
[[Category:CT2 IT]] | [[Category:CT2 IT]] | ||
- | == | + | == Stop Tomcat == |
go to /opt/tomcat/bin as root | go to /opt/tomcat/bin as root | ||
Line 9: | Line 9: | ||
pkill -9 java | pkill -9 java | ||
- | == | + | == Make a backup of the webapp folder == |
cp -ra Client Client.bak | cp -ra Client Client.bak | ||
cp -ra internal internal.bak | cp -ra internal internal.bak | ||
- | == | + | == Create a mysqldump of Cybertrax Internal database == |
mysqldump -uroot -pJaG118Svc! -R --lock-all-tables cybertrax_internal > file.sql | mysqldump -uroot -pJaG118Svc! -R --lock-all-tables cybertrax_internal > file.sql | ||
- | == | + | == Delete Internal webapp dir == |
rm -r { directory name } | rm -r { directory name } | ||
Line 26: | Line 26: | ||
through Navicat | through Navicat | ||
- | == | + | == Start tomcat == |
type ./startup.sh | type ./startup.sh | ||
- | == | + | == Deploy war file with New Release == |
from tomcat manager | from tomcat manager |
Revision as of 00:30, 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