CT2 Release Procedure
From UG
(Difference between revisions)
Line 6: | Line 6: | ||
type ./shutdown.sh | type ./shutdown.sh | ||
pgrep java | pgrep java | ||
- | |||
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 Client Client.bak |
- | cp -ra internal internal.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 | + | mysqldump -uroot -pJaG118Svc! -R --lock-all-tables cybertrax_internal > file.sql |
== Delete Internal webapp dir == | == Delete Internal webapp dir == |
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