=== modified file 'src/docbkx/en/dhis2_implementation_guide_installation.xml' --- src/docbkx/en/dhis2_implementation_guide_installation.xml 2014-07-25 18:17:40 +0000 +++ src/docbkx/en/dhis2_implementation_guide_installation.xml 2014-08-05 13:58:25 +0000 @@ -167,9 +167,10 @@ this can however not be considered secure. A common mistake is to have a white-space after the last property value so make sure there is no white-space at the end of any line. Also remember that this file contains the - clear text password for your dhis2 database so needs to be protected from unauthorized - access. To do this invoke chmod 0600 hibernate.properties which ensures that - only the dhis user which owns the file is allowed to read or write to it. + clear text password for your DHIS 2 database so it needs to be protected from unauthorized + access. To do this invoke the following command which ensures that only the dhis user which + owns the file is allowed to read it: + chmod 0600 hibernate.properties
Install Java @@ -435,8 +436,11 @@
- Starting tomcat and nginx on boot-time - In certain situations a server might reboot unexpectedly. It is hence preferable to have Tomcat and nginx start automatically when the server starts. To achieve that the first step is to create init scripts. Create a new file called tomcat and paste the below content into it (adjust the HOME variable to your environment): + Starting tomcat on boot-time + In certain situations a server might reboot unexpectedly. It is hence preferable to have + Tomcat start automatically when the server starts. To achieve that the first step is to + create init scripts. Create a new file called tomcat and paste the below + content into it (adjust the HOME variable to your environment): #!/bin/sh #Tomcat init script @@ -460,11 +464,12 @@ invoking: sudo mv tomcat /etc/init.d sudo chmod +x /etc/init.d/tomcat - Next make sure the tomcat and nginx init scripts will be invoked during system startup - and shutdown: - sudo /usr/sbin/update-rc.d -f nginx defaults 80 -sudo /usr/sbin/update-rc.d -f tomcat defaults 81 - Tomcat and nginx will now be started at system startup and stopped at system shutdown. If you later need to revert this you can replace defaults with remove and invoke the above commands again. + Next make sure the tomcat init script will be invoked during system startup and + shutdown: + sudo /usr/sbin/update-rc.d -f tomcat defaults 81 + Tomcat will now be started at system startup and stopped at system shutdown. If you + later need to revert this you can replace defaults with remove and + invoke the above commands again.
Making resources available with nginx