| 7 | == Notes from watching Nitesh upgrade our dev version |
| 8 | |
| 9 | 1. Our customisations are in the file {{{/local/os_v20/app/plugin-dir/os-le-1.0.0.jar}}}. This file can be copied between installations. |
| 10 | 2. He copied the build zip file (linked in the page above) into the directory {{{/local/os_v20/installable}}} and unzipped it. |
| 11 | 3. He then ran the {{{install.sh}}} script from within the unzipped directory. |
| 12 | 4. He ran the script using {{{nohup}}} so that the output for the installation is stored in the file {{{nohup.out}}}. |
| 13 | 5. The full command was: |
| 14 | |
| 15 | {{{ |
| 16 | nohup ./install.sh -dhost localhost -dport 3306 -dname os_v21 -duser {db user name} -dpass {db password name} -dtype mysql -ahome /local/os_v20/app -ahost localhost -aport 8280 -adtype upgrade -adatadir /local/os_v20/app/os-data -aplugindir /local/os_v20/app/plugin-dir & |
| 17 | }}} |
| 18 | |
| 19 | 6. He then ran {{{chmod 777 *}}} in the app OpenSpecimen directory and the {{{app/lib}} directory. |
| 20 | 7. He then : |
| 21 | |
| 22 | {{{ |
| 23 | unset JAVA_TOOL_OPTIONS |
| 24 | export JAVA_HOME=/opt/java |
| 25 | export JRE_HOME=/opt/java/jre |
| 26 | }}} |
| 27 | |
| 28 | 8. He then ran {{{/local/os_v20/app/bin/catalina.sh start}}} |
| 29 | |
| 30 | These later steps are documented in the script {{{/local/os_v20/run_osv20.sh}}} |
| 31 | |