[Webcalendar] WebCal installation frustations

Rob Janssen r.janssen a t uw.nl
Wed, 14 Sep 2005 21:53:43 +0200


Bob Puff a t NLE schreef:

> That would be true if the installer worked 100% of the time, but there 
> are often settings in there that are not immediately apparent that 
> need to be tweaked.  Plus, not to mention that the docs are only valid 
> for Apache (1), and need the mods I described in an earlier email to 
> work with Apache2.
>
> Bob

I agree that there sometimes are subtle things that could go wrong.  I 
am a longtime user (and it has been long since I last installed it), but 
when reading the mail on this list it is clear to me that the single 
error that is made by most of the beginners is to unpack the 
distribution in the webserver directory and trying to get the resulting 
file tree working.
This is not the correct approach.  The downloaded file must be unpacked 
somewhere else, the install.pl and webcalconfig.pm adapted to local 
situation, and then the install.pl must be run.
It will make some changes to the files while copying them to the 
specified location, and those are essential.

At first it can be overwhelming (less for me because there was less to 
configure in the first versions and I have moved on with an ever more 
complex webcal).

For SuSE you could start by doing this:
- change all /usr/local/apache to /srv/www in the install.pl
- change the server name from localhost to what it is
- change the username from nobody to wwwrun

now run it: perl install.pl
Then see what you have got under /srv/www and if it seems reasonable.
(when there already is a lot of website there be a bit careful, i.e. 
backup that directory first)
Make the apache config changes and see if it works.

When you need to make changes, edit the install.pl and/or 
webcalConfig.pm in the unpack directory (I keep it in my homedir) and 
install again.
Re-installing will not erase the calendar data.

Rob