Installation on laptop not working DHIS2-server-tools

Hi Community!

I am new to DHIS 2, but Iam eager to know a a lot of things about dhis2 lxc

containers.

I have installed DHIS2 on my laptop following these steps through dhis2-server-tools

Step 1 — Grab the deployment tools from github

  • Access the server and clone the deployment tools in your prefered directory by invoking below command
git clone https://github.com/dhis2/dhis2-server-tools

Step 2 — Create hosts file

  • Create the hosts file using the already existing template, hosts.template.
    Use the command below if you are in the directory you cloned the tools in.
cp dhis2-server-tools/deploy/inventory/{hosts.template,hosts}

Step 3 — Set fqdn, email, and timezone

  • Edit dhis2-server-tools/deploy/inventory/hosts file and set fqdn, and email if you have any (you can leave them empty if you do not have).
  • Set your preferred timezone, you can leave other settings to their set defaults.
vim dhis2-server-tools/deploy/inventory/hosts

Below is an example screenshot NOTE: When the installation is on a single host with LXD, ensure your lxd_network is unique and not overlapping with any of your host network.

Step 4 — The Install

  • Run deploy.sh script from within dhis2-server-tools/deploy/ directory.
cd dhis2-server-tools/deploy/
sudo ./deploy.sh

But I am facing these problems:

I cannot access DHIS 2 via Browser using on my laptop: http://172.19.2.11:8080/dhis

Apart form point 1, How can access the database psql cli to rum some queries?

I would be grateful if any help was provided. I think Iam doing things incorrectly

Thanks

cc: @Gassim and @bobj

Hi @fernando

For development purposes and an installation on Windows, I have found using Docker the quickest: How to spin up a DHIS2 local instance | DHIS2 Developer Portal

u dont need the port in the browser, just do http://192.168.0.10/hmis , u can first test if u have appache well installed by checking http://192.168.0.10

Hi @mutali,

Apache is working

Even after removing the port, it shows this site can not be reached.

Thanks