I have been setting up the DHIS 2 application and development environment on Ubuntu 8.10 in order to test things properly in a linux environment as well. Just wanted to share the experience which has been really convenient and nice: Almost everything you need can be found in the Synaptic Package manager, just go there, search for and install:
maven2
bzr
eclipse
postgresql
mysql-server
Firefox is already installed. The only hickup was Tomcat, which version in the package repo is just broken. Just install the one from the official site instead:
I have DHIS 2 running on Ubuntu 8.10 and Fedora 10.
Lars recommends to download tomcat from the official tomcat site.
OK. But beaware that for a really heavy production environment you must compile the jsvc as it is documented on $CATALINA_HOME/bin/jsvc.tar.gz file. If you dont you will loose on performance.
For people that prefer to use 8.10 tomcat version... It works too. It sounds little strange to be broken.
One more note: Pay attenyion to apparmor in case you decide to change the database folder of mysql. You must stop it or learn to configure it.
Caveman
Lars Helge �verland wrote:
···
I have been setting up the DHIS 2 application and development environment on Ubuntu 8.10 in order to test things properly in a linux environment as well. Just wanted to share the experience which has been really convenient and nice: Almost everything you need can be found in the Synaptic Package manager, just go there, search for and install:
Firefox is already installed. The only hickup was Tomcat, which version in the package repo is just broken. Just install the one from the official site instead:
- Download manually from Apache Download Mirrors and put anywhere, eg /usr/local/tomcat6.
- Put the attached tomcat file in /etc/init.d/, chmod 755 it, then start with /etc/init.d/tomcat start
I have DHIS 2 running on Ubuntu 8.10 and Fedora 10.
Lars recommends to download tomcat from the official tomcat site.
OK. But beaware that for a really heavy production environment you must
compile the jsvc as it is documented on $CATALINA_HOME/bin/jsvc.tar.gz file.
If you dont you will loose on performance.
For people that prefer to use 8.10 tomcat version... It works too. It sounds
little strange to be broken.
One more note: Pay attenyion to apparmor in case you decide to change the
database folder of mysql. You must stop it or learn to configure it.
Yes we hit an SELinux snag putting mysql data on its own partition on
CentOS server in HISP India office ... "stop it" was easier than
"learn to configure it". One day they will have a proper sysadmin who
will do it nicely.
Caveman
Lars Helge Řverland wrote:
I have been setting up the DHIS 2 application and development environment
on Ubuntu 8.10 in order to test things properly in a linux environment as
well. Just wanted to share the experience which has been really convenient
and nice: Almost everything you need can be found in the Synaptic Package
manager, just go there, search for and install:
Firefox is already installed. The only hickup was Tomcat, which version in
the package repo is just broken. Just install the one from the official site
instead:
- Download manually from Apache Download Mirrors and put
anywhere, eg /usr/local/tomcat6.
- Put the attached tomcat file in /etc/init.d/, chmod 755 it, then start
with /etc/init.d/tomcat start
This is my environment as well. Mind you I probably wouldn't go for
8.10 in a production environment anyway. Better to stick with the
8.04 LTS or the upcoming 9.04. But for development it is great.
Bob
···
2009/3/20 Orvalho Joaquim Augusto <orvaquim@gmail.com>:
2009/3/20 Orvalho Joaquim Augusto <orvaquim@gmail.com>:
I have DHIS 2 running on Ubuntu 8.10 and Fedora 10.
Lars recommends to download tomcat from the official tomcat site.
OK. But beaware that for a really heavy production environment you must
compile the jsvc as it is documented on $CATALINA_HOME/bin/jsvc.tar.gz file.
If you dont you will loose on performance.
For people that prefer to use 8.10 tomcat version... It works too. It sounds
little strange to be broken.
One more note: Pay attenyion to apparmor in case you decide to change the
database folder of mysql. You must stop it or learn to configure it.
Yes we hit an SELinux snag putting mysql data on its own partition on
CentOS server in HISP India office ... "stop it" was easier than
"learn to configure it". One day they will have a proper sysadmin who
will do it nicely.
Caveman
Lars Helge Řverland wrote:
I have been setting up the DHIS 2 application and development environment
on Ubuntu 8.10 in order to test things properly in a linux environment as
well. Just wanted to share the experience which has been really convenient
and nice: Almost everything you need can be found in the Synaptic Package
manager, just go there, search for and install:
Firefox is already installed. The only hickup was Tomcat, which version in
the package repo is just broken. Just install the one from the official site
instead:
- Download manually from Apache Download Mirrors and put
anywhere, eg /usr/local/tomcat6.
- Put the attached tomcat file in /etc/init.d/, chmod 755 it, then start
with /etc/init.d/tomcat start
This is my environment as well. Mind you I probably wouldn't go for
8.10 in a production environment anyway. Better to stick with the
8.04 LTS or the upcoming 9.04. But for development it is great.
I think it is great to see this discussion BUT I have two comments:
Most importantly, we need to caputure all the great knowledge and experimentation in the network on the WIKI, in addition to lively discussion here. So please transfer your HOWTO’s to pages like this one:
I think it is quite fine to discuss these things on the NEW list: dhis2-devs@lists.launchpad.net. But I don’t think it’s a good idea for using the old dhis-dev@hisp.info. Also, we have set up dhis-implementers@googlegroups.com which could be used for this kind of discussion.
2) I think it is quite fine to discuss these things on the NEW list: dhis2-devs@lists.launchpad.net <mailto:dhis2-devs@lists.launchpad.net>. But I don't think it's a good idea for using the old dhis-dev@hisp.info <mailto:dhis-dev@hisp.info>. Also, we have set up dhis-implementers@googlegroups.com <mailto:dhis-implementers@googlegroups.com> which could be used for this kind of discussion.
Knut
2009/3/20 Bob Jolliffe <bobjolliffe@gmail.com <mailto:bobjolliffe@gmail.com>>
Except I'm using a mix of emacs and netbeans
2009/3/20 Bob Jolliffe <bobjolliffe@gmail.com
<mailto:bobjolliffe@gmail.com>>:
> 2009/3/20 Orvalho Joaquim Augusto <orvaquim@gmail.com
<mailto:orvaquim@gmail.com>>:
>> I have DHIS 2 running on Ubuntu 8.10 and Fedora 10.
>>
>> Lars recommends to download tomcat from the official tomcat site.
>>
>> OK. But beaware that for a really heavy production environment
you must
>> compile the jsvc as it is documented on
$CATALINA_HOME/bin/jsvc.tar.gz file.
>> If you dont you will loose on performance.
>>
>> For people that prefer to use 8.10 tomcat version... It works
too. It sounds
>> little strange to be broken.
>>
>> One more note: Pay attenyion to apparmor in case you decide to
change the
>> database folder of mysql. You must stop it or learn to configure it.
>
> Yes we hit an SELinux snag putting mysql data on its own partition on
> CentOS server in HISP India office ... "stop it" was easier than
> "learn to configure it". One day they will have a proper
sysadmin who
> will do it nicely.
>
>> Caveman
>>
>> Lars Helge Řverland wrote:
>>>
>>> I have been setting up the DHIS 2 application and development
environment
>>> on Ubuntu 8.10 in order to test things properly in a linux
environment as
>>> well. Just wanted to share the experience which has been really
convenient
>>> and nice: Almost everything you need can be found in the
Synaptic Package
>>> manager, just go there, search for and install:
>>>
>>> - maven2
>>> - bzr
>>> - eclipse
>>> - postgresql
>>> - mysql-server
>>>
>>> Firefox is already installed. The only hickup was Tomcat, which
version in
>>> the package repo is just broken. Just install the one from the
official site
>>> instead:
>>> - Download manually from Apache Download Mirrors and put
>>> anywhere, eg /usr/local/tomcat6.
>>> - Put the attached tomcat file in /etc/init.d/, chmod 755 it,
then start
>>> with /etc/init.d/tomcat start
>
> This is my environment as well. Mind you I probably wouldn't go for
> 8.10 in a production environment anyway. Better to stick with the
> 8.04 LTS or the upcoming 9.04. But for development it is great.
>
> Bob
>
>>>
>>> Lars
>>>
>>
>