To get the binary version of ivata groupware up and running, first off you'll need to download it.
For Windows, you need the package called something
like ivatagroupware-install-{version}-win32.zip.
For UNIX-style platforms, you need the package called
something like
ivatagroupware-install-{version}.tar.gz.
If you're interested in getting the source code and building your own, look here.
It's possible to install ivata groupware on most operating systems which support Java, but we have tested it works on the following:
Windows Support
On Windows platforms, we use the excellent
hMailServer for mail and
to check users.
The install process was tested on
Windows XP, but it should be possible to install on
other Windows flavors. If you try this and have success/failure,
please, please
let us know.
GNU/Linux Support
On supported GNU/Linux platforms, we use sudo scripts to add/remove
users. The script (setupSudo.pl) will help you
set this up.
Other flavors of GNU/Linux or UNIX
In the past, we've also had ivata groupware running
happily on Red Hat, Debian (Sarge
and Potato) and Gentoo.
If you install Perl and the other packages listed
below, these instructions should really apply to any flavor of UNIX.
Please do let us know
how you get on.
To install ivata groupware on Windows, you need the following:
Remember to download and install the Java JDK, App Server, and hMailServer from the above sources before installing ivata groupware!
After that, the following steps will get you up and running.
c:\WINDOWS\system32\drivers\etc\lmhosts
with an editor like notepad:
notepad c:\WINDOWS\system32\drivers\etc\lmhosts
127.0.0.1 mydomainname
ivatagroupware-install-{version}-win32.zip
to a convenient place, like C:\install. To unzip the
file, use a program like WinZip,
or you can use the jar program from the
Java JDK you should
already have downloaded. For example, enter these commands into
a command prompt (DOS) console:
c:
mkdir install
cd install
{\path\to\java\bin\}jar -xvf {\path\to\download\}ivatagroupware-install-0.10-win32.zip
jcom.dll file to a location on your path
For recent versions of Apache Tomcat you
must copy the file to the bin
directory of your tomcat installation (probably something like
C:\Program Files\Apache Software Foundation\Tomcat xx\bin).
On other app servers, copy to the place where other libraries or
binaries are stored.).
c: cd c:\install\ivatagroupware-0.11 copy jcom.dll "C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin"
c: cd c:\install\ivatagroupware-0.11 copy ivatagoupware-0.11.war c:\Program Files\Apache Group\Tomcat4\webapps\ivatagroupware.war
common/lib in the tomcat directory.
/setup.action, e.g.
http://localhost:8080/ivatagroupware/setup.action
if you called the WAR file ivatagroupware.war.
You need all of the following installed and running:
You will need to install the Bundle::Expect Perl module. All versions of Linux we have tested had packages for this on CD, or we could find packages via the web (e.g. rpmseek.com).
If your OS supplier doesn't provide perl Expect as a package, these generic instructions will show you how to install Bundle::Expect over the net. Of course, you'll need Perl installed before you start ;-)
Then enter the following into a terminal:
perl -MCPAN -e shell
The first time you do this, it will ask several questions and ask
about download options, etc.
Work through the questions and, eventually, you will be
presented with a cpan> prompt. Enter
'install Bundle::Expect; at the prompt:
install Bundle::Expect
cpan> prompt.
You need to install Perl and the necessary modules like this:
apt-get install perl perl-modules libterm-readkey-perl libexpect-perl
Using Debian Package tomcat4
There is a tomcat4 package which comes with Debian,
however I found there were some issues with it. If
you use that you will need to change the attribute
unpackWars to true.
Look for a line like this:
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="false">
/etc/tomcat4/server.xml, and change it to look like:
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
After you've completed the pre-install steps above for your OS,
follow these steps.
su - root
ivatagroupware-install-{version}.tar.gz
to /usr/local. For example:
cd /usr/local gunzip -c /path/to/ivatagroupware-install-0.11.tar.gz | tar -xv
cd /usr/local ln -sf ivatagroupware-0.11 ivatagroupware
cd /usr/local/ivatagroupware vi setupSudo.config
setupSudo.config (change the value of
USER_APP_SERVER), and the user exists on your system.
For example:
useradd tomcat
cd /usr/local/ivatagroupware perl setupSudo.pl
ivata on your local IMAP server:
useradd ivata
passwd ivata
maildirmake /home/ivata/Maildir chown -R ivata:ivata /home/ivata
cd /usr/local/ivatagroupware cp ivatagoupware-0.11.war /usr/local/tomcat/webapps/ivatagroupware.war
common/lib in the tomcat directory.
/usr/local/ivatagroupware).ivata is not set up in the IMAP mail
server. Test using another IMAP client (such as Thunderbird)
and check the mail logs (usually /var/log/mail.xxx)
for errors.
/setup.action, e.g.
http://localhost:8080/ivatagroupware/setup.action
if you called the WAR file ivatagroupware.war.
The ivata groupware package now contains Hypersonic SQL and can create a working database on the file system for you. The setup screen will start automatically the first time you start ivata groupware and guide you through this process. This means you don't need any database system at all before you get started.
If you do want to use a different database system, however, you'll be happy to hear ivata groupware doesn't contain vendor-specific SQL code and will work with any RDBMS supported by its persistence layer, Hibernate - for a full list, look here.
For some of these, we have created scripts to create a start schema
and data. To use one of these, create a blank
database, then use the scripts called schema-current.sql
and data-current.sql in turn, from the directory shown
for your DB below:
| database | script dir |
|---|---|
| DB2 | db/db2 |
| DB2 (AS/400) | db/db2as400 |
| Hypersonic SQL | db/hypersonic |
| MySQL | db/mysql |
| Oracle | db/oracle |
| PostgreSQL | db/hypersonic |
| SAP DB | db/sapdb |
| MS SQL Server | db/sqlserver |
| Sybase | db/sybase |