← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 1169: Installation, removed dated content

 

------------------------------------------------------------
revno: 1169
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Tue 2014-08-05 15:58:25 +0200
message:
  Installation, removed dated content
modified:
  src/docbkx/en/dhis2_implementation_guide_installation.xml


--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription
=== 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.</para>
       <para>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 <code>chmod 0600 hibernate.properties</code> which ensures that
-        only the dhis user which owns the file is allowed to read or write to it.</para>
+        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:</para>
+      <screen>chmod 0600 hibernate.properties</screen>
     </section>
     <section>
       <title>Install Java</title>
@@ -435,8 +436,11 @@
       </important>
     </section>
     <section>
-      <title>Starting tomcat and nginx on boot-time</title>
-      <para>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 <code>tomcat</code> and paste the below content into it (adjust the HOME variable to your environment):</para>
+      <title>Starting tomcat on boot-time</title>
+      <para>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 <code>tomcat</code> and paste the below
+        content into it (adjust the HOME variable to your environment):</para>
       <screen>#!/bin/sh
 #Tomcat init script
 
@@ -460,11 +464,12 @@
         invoking:</para>
       <screen>sudo mv tomcat /etc/init.d
 sudo chmod +x /etc/init.d/tomcat</screen>
-      <para>Next make sure the tomcat and nginx init scripts will be invoked during system startup
-        and shutdown:</para>
-      <screen>sudo /usr/sbin/update-rc.d -f nginx defaults 80
-sudo /usr/sbin/update-rc.d -f tomcat defaults 81</screen>
-      <para>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 <code>defaults</code> with  <code>remove</code> and invoke the above commands again.</para>
+      <para>Next make sure the tomcat init script will be invoked during system startup and
+        shutdown:</para>
+      <screen>sudo /usr/sbin/update-rc.d -f tomcat defaults 81</screen>
+      <para>Tomcat will now be started at system startup and stopped at system shutdown. If you
+        later need to revert this you can replace <code>defaults</code> with <code>remove</code> and
+        invoke the above commands again.</para>
     </section>
     <section>
       <title>Making resources available with nginx</title>