Attached is pdf of the man pages which get installed with dhis2-tools. There are a few additional tools, notably dhis2-backup and dhis2-restoredb which I still have to create pages for. But it does make setting up and managing dhis2 pretty straightforward. Basically to create an instance called “dhis”:
install some prerequisites (this is the only complicated bit - I do all of this in a short script)
Basically a couple of simple commands (with man pages) to do basic mangaement. Lots of difficult magic happening behind the scenes related to automatically setting up nightly backups, security, tomcat tuned caching etc.
I need to put the deb back on to dhis2.org downloads and fix some minor bugs and complete docs … I’ll update my youtube video soon. Of course you can assemble the package yourself from the source (under tools in repo) but not everyone will have the deb toolchain installed.
After installing, before you can start managing, installing etc you have to become (or create) a dhis2 admin user. Like this:
sudo dhis2-create-admin bobj
Converts me (bobj) to a dhis2-admin. Basicaly adds me to dhis2-admin group and gives me superuser access to database. The idea being that you can create dhis2-admin users who don’t ever need to have full root privileges. Some finer tuning would still be good here.
Attached is pdf of the man pages which get installed with dhis2-tools. There are a few additional tools, notably dhis2-backup and dhis2-restoredb which I still have to create pages for. But it does make setting up and managing dhis2 pretty straightforward. Basically to create an instance called “dhis”:
install some prerequisites (this is the only complicated bit - I do all of this in a short script)
Basically a couple of simple commands (with man pages) to do basic mangaement. Lots of difficult magic happening behind the scenes related to automatically setting up nightly backups, security, tomcat tuned caching etc.
I need to put the deb back on to dhis2.org downloads and fix some minor bugs and complete docs … I’ll update my youtube video soon. Of course you can assemble the package yourself from the source (under tools in repo) but not everyone will have the deb toolchain installed.