Dhis installation

Hello everyone
Does somebody know easy way to install Dhis2 on Ubuntu?
Thank

2 Likes

Hi @drdicko,

Welcome to the DHIS2 Community; Great to have you here with us!

FOr installation of DHIS2 on Ubuntu, Kindly follow the instructions on this thread: Installing DHIS2 on a Windows Local Server - there are instructions for Ubuntu on the blogpost link

Let us know how it goes.

Best,
James.

1 Like

Hello James,
Thanks for the help. I follow these two instructions but at the end I have “404 erreur”.
I use Ubuntu 19.04.

Thank

1 Like

A few things that are troublesome:
– make sure you’re using Java 8 (jdk or jre)
– make sure DHIS2 looks for the set environment variables by including “-E” when starting your instance. e.g “sudo -E CATALINA_HOME/bin/startup.sh”
if you don’t, it’ll look for dhis.conf in /opt/dhis/
– check that postgres is running with “/etc/inid.t/postgres status” if it’s not running then do “sudo /etc/inid.t/postgres start”

1 Like

Hi @drdicko,

Were you successful with this?

Sorry James,
It didnt work.

Thank

1 Like

kindly check out some installation instructions shared here: Dhis.war deployment issue by @MohsinAnsari and let us know how it goes. Cc: @julhas.

Best,
James.