Changes between Version 5 and Version 6 of SopUpdateBbmriApp
- Timestamp:
- 2013-04-25T10:52:47+02:00 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SopUpdateBbmriApp
v5 v6 1 = = 1 2 = '''How to update bbmri app''' = 2 3 == Export war & mysql file == … … 12 13 1. Ask credentials for molgenis35, molgenis14 from Pieter or Morris. 13 14 1. Copy the war file and the mysql migration script to the server as follows: 14 1. scp <filename>.war [mailto:molgenis@molgenis35.target.rug.nl:./ molgenis @molgenis14.target.rug.nl:./]15 1. scp <filename>.war [mailto:molgenis@molgenis35.target.rug.nl:./ molgenis AT molgenis14.target.rug.nl:./] 15 16 1. Ssh to the server: 16 17 * ssh [mailto:molgenis@molgenis35.target.rug.nl molgenis AT molgenis14.target.rug.nl] … … 28 29 * The war file is in /usr/share/tomcat6/webapps/biobanks.war 29 30 * cp /usr/share/tomcat6/webapps/biobanks.war ~/warFiles/<date_bbmri.war> 30 * Now replace the file there with your recent file uploaded in the server. This will OVERWITE the old file and tomcat will take affect immediately. Do not delete the old first, that won’t work! Just overwrite it! 31 * cp <filename>.war /usr/share/tomcat6/webapps/biobanks.war 31 * Shutdown tomcat, delete old war file, and delete the old folder. (You will need special permissions to do this) 32 * rm /usr/share/tomcat6/webapps/biobanks.war 33 * cp <filename>.war /usr/share/tomcat6/webapps/biobanks.war 32 34 * You can check the tomcat & mysql service with: 33 35 * sudo service tomcat6 status