Changes between Version 5 and Version 6 of SopUpdateBbmriApp


Ignore:
Timestamp:
2013-04-25T10:52:47+02:00 (12 years ago)
Author:
antonak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SopUpdateBbmriApp

    v5 v6  
     1=  =
    12= '''How to update bbmri app''' =
    23== Export war & mysql file ==
     
    1213   1. Ask credentials for molgenis35, molgenis14 from Pieter or Morris.
    1314   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:./]
    1516   1. Ssh to the server:
    1617     * ssh [mailto:molgenis@molgenis35.target.rug.nl molgenis AT molgenis14.target.rug.nl]
     
    2829   * The war file is in /usr/share/tomcat6/webapps/biobanks.war
    2930   * 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
    3234 * You can check the tomcat & mysql service with:
    3335   * sudo service tomcat6 status