← Back to team overview

dhis2-users team mailing list archive

Re: Setting up a computer as a server

 

On Thu, Mar 24, 2011 at 8:19 AM, Ola Hodne Titlestad <olati@xxxxxxxxxx> wrote:
> Hi,
>
> Stephen has already been installing several offline instances of DHIS 2
> using the installer (with java,postgres, dhis live). I guess what he is
> asking here is how a server set up (accessible over Internet or a local
> network)  will be different from such offline installs.
>
> Knut, didn't you write this up somewhere?

Well, I think Jason's point is that there isn't really much difference
between a desktop and a server installation as long as you go with
Tomcat and Postgresql and you are only running one instance of DHIS2.
Of course, there are issues around how to make a nicer URL and how to
make the server available on (exposed to) the internet. But as long as
you have a local area network, all you only have know  the address of
the server (on Windows, open a command window and type ipconfig). You
can then access the DHIS2 from any machine on the network by pointing
the browser to http://192.168.X.X:8080/dhis (replace the XX).

My earlier write-up was for a Ubuntu server, Jason has incorporated
this in chapter 2.1.4 of the user manual.

> We should expand the installation chapter in the implementation guide to
> include more on this topic, e.g. specifics of a Windows server setup.

Agree that there is more to be added, like how to make the server
visible on the internet, and some security considerations. Also
reverse proxy using Apache in combination with Tomcat, mulitiple
instances on the same server, database clustering and load balancing.
Anything else?

Knut

> Ola
> ---------
>
> ----------------------------------
> Ola Hodne Titlestad (Mr)
> HISP
> Department of Informatics
> University of Oslo
>
> Mobile: +47 48069736
> Home address: Vetlandsvn. 95B, 0685 Oslo, Norway. Googlemaps link
>
>
> On 24 March 2011 04:01, Jason Pickering <jason.p.pickering@xxxxxxxxx> wrote:
>>
>> Hi Stephen,
>> There are many different ways to setup DHIS2 depending on your exact
>> requirements. You will need to install a database system.  There are
>> two possible choices for a multi-user environment, either Postgresql
>> or MySQL. I would recommend to go with Postgresql unless you have a
>> reason not too. You will need to ensure the latest copy of Java is
>> installed on both computers.
>>
>> You can read more about the process in the user manual
>>
>> http://www.dhis2.com/doc/snapshot/en/user/dhis2_user_manual_en.pdf
>>
>> You can also try an experimental installer, which will install Java,
>> Postgresql, and an empty database for DHIS2 available here
>>
>> http://dhis2.net/ DHIS2-2.1-windows-live-JRE-en.exe
>>
>> Good luck and let us know how it goes.
>>
>> Regards,
>> Jason
>>
>>
>>
>>
>> On 3/23/11, Stephen Gbanyan <mambu9@xxxxxxxxx> wrote:
>> > Hi Knut,
>> >
>> > There are two machines and one has Windows 2003 and the other Windows
>> > 2008.
>> >
>> > Thanks
>> >
>> > Stephen
>> >
>> >
>> > On 3/23/11, Knut Staring <knutst@xxxxxxxxx> wrote:
>> >> Hi Stephen,
>> >>
>> >> What would be the operating system on this machine?
>> >>
>> >> Knut
>> >>
>> >> On Wed, Mar 23, 2011 at 3:21 PM, Stephen Gbanyan <mambu9@xxxxxxxxx>
>> >> wrote:
>> >>> Hi All,
>> >>>
>> >>> In our Malaria Control Program there is currently a server in which I
>> >>> would like to have the dhis install on.  The idea is for the data
>> >>> clerks to just log onto that machine and do the data entry and also
>> >>> for managers to access key information for management use. I would
>> >>> highly appreciate if you could guide me through the process to have
>> >>> their machine setup a a server.
>> >>>
>> >>> Thanks
>> >>>
>> >>> Stephen
>> >>>
>> >>> _______________________________________________
>> >>> 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
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Cheers,
>> >> Knut Staring
>> >>
>> >
>> > _______________________________________________
>> > 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
>> >
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.pickering@xxxxxxxxx
>> tel:+260974901293
>>
>> _______________________________________________
>> 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
>
>



-- 
Cheers,
Knut Staring



References