← Back to team overview

dhis2-users team mailing list archive

Re: Problem Install DHIS2

 

Hi Ali

Personally I prefer the 2nd way, nut that youtube video is a bit old.

Furst point (if you are installing dhis2 2.21) is that you really need
ubuntu 14.04 and java 8.  Second is that you no longer need to downoad
the deb file as in the video.  I would suggest:

1.  install ubuntu 14.04
2.  install dhis2-tools by running install.sh from
https://github.com/dhis2/dhis2-tools/blob/master/install.sh.  Or just
run (as root)

echo 'deb http://apt.dhis2.org/amd64 /' > /etc/apt/sources.list.d/dhis2.list
wget -O - http://apt.dhis2.org/keyFile |apt-key add -

apt-get update -y

# install the dhis2-tools deb
apt-get install dhis2-tools

3.  Probably install postgres and nginx with:
sudo apt-get install postgresql nginx

4.  Install java 8 with:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Follow instructions for creating instance etc from
https://www.dhis2.org/doc/snapshot/en/implementer/html/ch20.html

You might still need to tune postgresql for performace, but you shoyld
get up and running.

Cheers
Bob

On 5 December 2015 at 17:49, ali murtaza <aliphysic2003@xxxxxxxxx> wrote:
> I have to reinstall my ubuntu server, I want to repeat the steps from the
> beginning again, you think of where I should start?
> I found a few ways here.
> 1. https://www.dhis2.org/doc/snapshot/en/implementer/html/ch08.html
> 2. https://www.youtube.com/watch?v=pGG4dr7CRFk
>
> what do you think that could be my reference
>
> On Mon, Nov 23, 2015 at 3:16 PM, gerald thomas <gerald17006@xxxxxxxxx>
> wrote:
>>
>> When type localhost:8080; does the tomcat page appears?
>> What i think is missing is the config_dhis folder which contains the
>> hibernate file.
>> If this file does not exist please create it because it create the
>> connection between postgresql and tomcat.
>> Regards,
>> Gerald
>>
>> On Nov 23, 2015 08:10, "Hannan Khan" <hannank@xxxxxxxxx> wrote:
>>>
>>> Dear Ali
>>>
>>> The process describe in the manual is OK. so if you are facing problem
>>> can you please specify what is it. How much you progress. Did you installed
>>> tomcat? Is Tomcat running?
>>>
>>> Please specify, then I can guide you to solution.
>>>
>>> Regards
>>>
>>> Hannan Khan
>>> HISP Bangladesh
>>>
>>> On Mon, Nov 23, 2015 at 1:15 PM, Alex Tumwesigye <atumwesigye@xxxxxxxxx>
>>> wrote:
>>>>
>>>> Dear Ali,
>>>>
>>>> Please use the dhis2-tools package if you are running Linux/Unix.
>>>>
>>>> They are much easy to use.
>>>>
>>>> Alex
>>>>
>>>> On Mon, Nov 23, 2015 at 9:32 AM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>>>>
>>>>> Do you have Java 8?
>>>>>
>>>>> On Nov 23, 2015 10:05 AM, "ali murtaza" <aliphysic2003@xxxxxxxxx>
>>>>> wrote:
>>>>>>
>>>>>> regards
>>>>>> I am ali from Aceh
>>>>>> I've tried the steps for installation as below dhis28.3. Server
>>>>>> setup8.3.1. Creating a user to run DHIS28.3.2. Setting server time zone and
>>>>>> locale (optional)8.3.3. PostgreSQL installation8.3.4. PostgreSQL performance
>>>>>> tuning8.3.5. Database configuration8.3.6. File store configuration
>>>>>> (optional)8.3.7. Java installation8.3.8. Install Tomcat and DHIS28.3.9.
>>>>>> Running DHIS2but I'm still having problems
>>>>>> can you help me please..
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Alex Tumwesigye
>>>>
>>>> Technical Advisor - DHIS2 (Consultant),
>>>> Ministry of Health/AFENET
>>>> Kampala
>>>> Uganda
>>>>
>>>> IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
>>>>
>>>> IT Specialist (Servers, Networks and Security, Health Information
>>>> Systems - DHIS2 ) & Solar Consultant
>>>>
>>>> +256 774149 775, + 256 759 800161
>>>>
>>>> "I don't want to be anything other than what I have been - one tree hill
>>>> "
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


Follow ups

References