Okay

I found where the .deb is

Thanks



________________________________
 From: Bob Jolliffe <[email protected]>
To: dhis2-devs <[email protected]> 
Sent: Friday, May 17, 2013 7:12 PM
Subject: [Dhis2-devs] dhis2-tools debian package
 


Well I've been taking much too long over this, but the package finally shaping 
up to the point that people can start taking a look and hopefully giving 
feedback.

dhis2-tools deb is an ubuntu package which contains a (growing) number of small 
scripts for setting up and managing dhis2 instances on an ubuntu server.  The 
idea being that it should be very easy to setup dhis2 using best practice 
settings consistently and easily in a matter of 2 or 3 minutes  as well as to 
provide clear instruction/training to fledgling system administrators to manage 
the most common operations.  

There is a short and very amateur and rushed youtube video here which shows the 
basic steps of going from a blank linode to a running dhis2 instance - 
http://www.youtube.com/watch?v=pGG4dr7CRFk.  I'll make a better one soon but am 
in a hurry right now,

There are many features under the hood, including :
- automatically setting up cron jobs for backup, @reboot, logrotate etc (oops, 
in fact logrotate still needs to be fixed)
- easily tunable setenv.sh for adjusting memory usage
- support for more than one dhis2 instance on one machine
- automatic nginx caching of dhis2 static files 
etc

dhis2-* commands can easily be combined into scripts for completely automatic 
installs for things like virtual server configuration on demand and disaster 
recovery.

Most commands have simple man pages already but they should be extended and I 
will complete the rest shortly.

Outstanding issues and missing bits:
- currently the name of the instance is also expected to be the name of the 
database.  I've always just done it that way but it is probably too inflexible. 
 I'll break that dependency when I get the chance.
- there is currently no assistance for optimizing those important postgres 
parameters.  So that must still be done manually, including all the kernel 
sysctl setting etc.  will be easy enough to do, but no time left today.  We 
have a good head start with Jason's earlier script.

The source code is available here 
https://code.launchpad.net/~bobjolliffe/+junk/dhis2-tools (type make on ubuntu 
to generate the deb).  You can also find a copy here 
http://dhis2.com/downloads#tools.  For some reason the install.sh which I used 
in the youtube vid is not downloading properly from dhis2.org - I am sure it is 
a permissions thing.  Its very small so I attach again here.

A word of caution - do not run this on a production system right yet!  It might 
clobber your carefully worked out nginx settings.  If you are trying it out, do 
so on a blank linode or vm.

Cheers
Bob


_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to