CT2 Release Procedure

From UG

(Difference between revisions)
Jump to: navigation, search
(Create a mysqldump of Cybertrax Internal database)
Line 15: Line 15:
== 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 > /var/backup/ct2_2009_jan_6
== Delete Internal webapp dir ==
== Delete Internal webapp dir ==

Revision as of 00:42, 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 > /var/backup/ct2_2009_jan_6

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