Darwin Caldav Server on Debian Sarge
Howto get Darwin Calendar Server running on Debian Sarge:
First, we have to install some packages:
aptitude install python2.4-dev libkrb5-dev attr subversion zope3 patch curl bzip2 sqlite3 python-pysqlite2
Because the Calendar Server needs extended filesystem attributes, we have to remount the partition, the server should run on with the option user_xattr:
mount -oremount,user_xattr /
You have to replace / with the appropriate partition.
We also have to add this option to /etc/fstab:
/dev/sda1 / ext3 errors=remount-ro,user_xattr 0 1
The next step is to install xattr and plistlib:
cd /usr/local/lib/python2.4/site-packages/
wget http://svn.python.org/view/python/trunk/Lib/plat-mac/plistlib.py
cd /opt/
mkdir CalDav
svn checkout http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk CalendarServer
cd CalendarServer/conf/; cp caldavd-test.plist caldavd-dev.plist
cd /opt/CalDav/
./run -s
The last command initiates a checkout of PyKerberos. PyKerberos must be patched:
cd /opt/CalDav/PyKerberos/
wget http://bastian-lemke.de/media/howto/PyKerberos.patch
patch -p0 < PyKerberos.patch
cd /opt/CalDav/
./run -s
Now, everything should work :-)
The CalDav server can be started with ./run
Geschrieben von Bastian
Kategorien: web, howtos, apple
zuletzt aktualisiert am 21.11.2007 um 08:23
