dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #00635
Re: Challenges Deploying DHIS2 to a Remote Host
In general, you will need to add something like
export DHIS2_HOME=/home/dhis2user/conf/hibernate.settings
to your .bash_profile.
However, this must be the same user as the tomcat user (which is not
likely although possible).
Using Tomcat 5 is not advisable due to poor performance and memory issues.
It should run on any operating system, including any flavor of Linux.
Regards,
Jason
On Tue, Oct 25, 2011 at 4:56 PM, <stephocay@xxxxxxxxx> wrote:
> Thank you Jason,
>
> I am also wondering dhis2 runs toncat 5.* version. Where exactly do I put environment variable for DHIS2_HOME. The account I am using has previlleges to add some environment settings using .bash_profile. I am not sure though if dhis is able to find such settings.
>
> And may be to ask, does dhis work only on Ubuntu? Or even other Linux versions?
>
> Doing some background studies to see it work. Any solution on other Linux version will be of great help.
>
> Stephen
> ------Original Message------
> From: Jason Pickering
> To: Ocaya Stephen
> Cc: dhis2-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Dhis2-users] Challenges Deploying DHIS2 to a Remote Host
> Sent: Oct 25, 2011 5:35 PM
>
> Hi Stephen,
>
> This really depends a lot on your hosting company.
>
> In general, it is best to use a hosting company which provides you
> direct access to the server (Amazon, Linode ) with enough privileges
> to modify and control the environment of the server itself, such as
> setting enviornment variables, scripts for backup jobs, etc. I am not
> aware of anyone else using this type of hosting arrangement. If you
> look at the implementation guide, there are quite detailed
> instructions for Ubuntu, on a remote host, but assuming you have been
> granted quite a bit of privileges on the server.
>
> Regards,
> Jason
>
>
>
> On Tue, Oct 25, 2011 at 3:34 PM, Ocaya Stephen <stephocay@xxxxxxxxx> wrote:
>> Dear All, I am facing some bit of a challenge Deploying my DHIS2.war
>> application to a Hosting Company. May be I missed some of the steps
>> involved. It tells me that deployment was done (I used filezilla to load the
>> war file and it automatically deployed the application BUT NOT STARTED). The
>> Challenge now is to configure it to link to my hibernate properties and
>> thereafter the database connection.
>>
>> Anystep is appreciated
>>
>>
>>
>> Stephen
>>
>> --
>>
>> You can do anything, but not everything.
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> Sent from my BlackBerry® smartphone provided by Airtel Uganda.
References