CalendarServer

Differences between revisions 1 and 9 (spanning 8 versions)
Revision 1 as of 2008-01-11 13:03:07
Size: 3255
Editor: 26-191
Comment:
Revision 9 as of 2008-01-11 14:02:18
Size: 3196
Editor: 26-191
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
What is CalDAV?
Explain that here, together with an explanation between CalDAV and WebDAV/webcal, with a link to a page describing how to make that happen.
~+What is CalDAV? +~ [[BR]]
Explain that here, together with an explanation between CalDAV and WebDAV/webcal, with a link to a page describing how to make that happen. [[BR]]
Line 9: Line 9:
Install procedure for Ubuntu Server 7.10 ~+Install procedure for Ubuntu Server 7.10 +~
[[BR]] [[BR]]
Line 11: Line 12:
Installing Apple's iCal Server is fairly trivial once you know what to do. We do need to download some additional packages using apt-get, and we need to download some software using subversion. Most users will be familiar with apt-get, many with subversion. If you're not familiar with subversion, don't panic though. This guide will be a detailed, step by step howto, showing exactly which commands to enter and when. Installing Apple's iCal Server is fairly trivial once you know what to do. We do need to download some additional packages using apt-get, and we need to download some software using subversion. Most users will be familiar with apt-get, many with subversion. If you're not familiar with subversion, don't panic. This guide will be a detailed, step by step howto, showing exactly which commands to enter and when.
[[BR]] [[BR]]
Ready? [[BR]]
* Log into the server console or via ssh, so you can enter commands, and run sudo -s to get a root shell. [[BR]]
* Install subversion: apt-get install subversion [[BR]]
* Install some software: [[BR]]
apt-get install libkrb5-dev attr curl build-essential libssl-dev python-pysqlite2 bzip2 [[BR]]
* Install some more software: [[BR]]
apt-get install curl zope3 python-xml python-pyopenssl python-dateutil python-xattr python-pysqlite2 python-twisted python-vobject python-kerberos [[BR]]
Line 13: Line 22:
Ready?
* Log into the server console or via ssh, so you can enter commands, and run sudo -s to get a root shell.
* Install subversion: apt-get install subversion
* Execute the following commands. It's ok to simply copy and paste them. It's quite alot of packages, and it may take a while for all of them to download and install.

apt-get install libkrb5-dev
apt-get attr
apt-get install attr
apt-get install subversion
apt-get install curl
apt-get install build-essential
apt-get install libssl-dev
apt-get install python-pysqlite2
apt-get install bzip2
apt-get install curl
apt-get install zope3
apt-get install python-xml
apt-get install python-pyopenssl
apt-get install python-dateutil
apt-get install python-xattr
apt-get install python-pysqlite2
apt-get install python-twisted
apt-get install python-vobject
apt-get install python-kerberos

* We now need to edit our /etc/fstab file and add user_xattr to the partition containing the CalDAV server, / in this case. vim /etc/fstab.
My / before edit: UUID=94a96528-c889-45a1-bc98-d9d02ecdd59c / ext3 defaults,errors=remount-ro 0 1
After edit: UUID=94a96528-c889-45a1-bc98-d9d02ecdd59c / ext3 defaults,errors=remount-ro,user_xattr 0 1

* We must now remount the filesystem: mount -o remount /
* Make a directory for the server in /opt: mkdir /opt/iCalServer
* Let's download the server software itself using subversion:
svn checkout http://svn.macosforge.org/repository/calendarserver/CalendarServer/trunk CalendarServer
* Subversion created a directory for us, called CalendarServer. Let's change into it: cd CalendarServer
* And run a script to download some necessary packages, etc: ./run -s
* Ok. (Unless something is wrong and you got alot of errors, in which case, it's not ok) Our CalDAV server is almost ready for action. Let's copy the test configuration so we can get up as quickly as possible. Real configuration can wait:
cp conf/caldavd-test.plist conf/caldavd-dev.plist
* We do need to do some configuration though: vim conf/caldavd-test.plist
* We now need to edit our /etc/fstab file and add user_xattr to the options for the partition containing the CalDAV server, / in this case: vim /etc/fstab. [[BR]] [[BR]]
This is how my change looked like: [[BR]]
Before
: UUID=94a96528-c889-45a1-bc98-d9d02ecdd59c / ext3 defaults,errors=remount-ro 0 1 [[BR]]
After : UUID=94a96528-c889-45a1-bc98-d9d02ecdd59c / ext3 defaults,errors=remount-ro,user_xattr 0 1 [[BR]]
[[BR]] [[BR]]
* We must now remount the filesystem: mount -o remount / [[BR]]
* We'll install the server in /opt, so lets change into it: cd /opt [[BR]]
* Let's download the server software itself using subversion: [[BR]]
svn checkout http://svn.macosforge.org/repository/calendarserver/CalendarServer/trunk CalendarServer [[BR]]
* Subversion has downloaded alot of software, and created a directory for us, called CalendarServer. Let's change into it: cd CalendarServer [[BR]]
* And run a script to download some necessary packages, configure, etc: ./run -s [[BR]]
* Ok, our CalDAV server is almost ready for action. Let's copy the test configuration so we can get it up as quickly as possible. Real configuration can wait: [[BR]]
cp conf/caldavd-test.plist conf/caldavd-dev.plist [[BR]]
* We do need to do some configuration though: vim conf/caldavd-test.plist [[BR]] [[BR]]
Line 54: Line 39:
* Run the server: ./run
* That's it! :)
Line 59: Line 45:
Cam's blog: http://cam.moobox.org/blog/?p=5
Lenfis blog:http://blog.jl42.de/index.php?/archives/231-Installation-of-the-Apple-Calendar-Server-on-Ubuntu-Edgy.html
http://trac.macosforge.org/projects/calendarserver/wiki/

Cam's blog: [[BR]]
http://cam.moobox.org/blog/?p=5
[[BR]] [[BR]]
Lenfis blog: [[BR]] http://blog.jl42.de/index.php?/archives/231-Installation-of-the-Apple-Calendar-Server-on-Ubuntu-Edgy.html
[[BR]] [[BR]]
Calendar Server wiki: [[BR]]
http://trac.macosforge.org/projects/calendarserver/wiki/ [[BR]] [[BR]]

THIS PAGE IS NOT FINISHED. DON'T FOLLOW ANY ADVISE IN IT UNTIL THIS LINE IS REMOVED.

This page will explain how to install Apple's iCal Server on Ubuntu Server, though desktop variants should also work without any problems.

What is CalDAV? BR Explain that here, together with an explanation between CalDAV and WebDAV/webcal, with a link to a page describing how to make that happen. BR

Install procedure for Ubuntu Server 7.10 BR BR

Installing Apple's iCal Server is fairly trivial once you know what to do. We do need to download some additional packages using apt-get, and we need to download some software using subversion. Most users will be familiar with apt-get, many with subversion. If you're not familiar with subversion, don't panic. This guide will be a detailed, step by step howto, showing exactly which commands to enter and when. BR BR Ready? BR * Log into the server console or via ssh, so you can enter commands, and run sudo -s to get a root shell. BR * Install subversion: apt-get install subversion BR * Install some software: BR apt-get install libkrb5-dev attr curl build-essential libssl-dev python-pysqlite2 bzip2 BR * Install some more software: BR apt-get install curl zope3 python-xml python-pyopenssl python-dateutil python-xattr python-pysqlite2 python-twisted python-vobject python-kerberos BR

* We now need to edit our /etc/fstab file and add user_xattr to the options for the partition containing the CalDAV server, / in this case: vim /etc/fstab. BR BR This is how my change looked like: BR Before: UUID=94a96528-c889-45a1-bc98-d9d02ecdd59c / ext3 defaults,errors=remount-ro 0 1 BR After : UUID=94a96528-c889-45a1-bc98-d9d02ecdd59c / ext3 defaults,errors=remount-ro,user_xattr 0 1 BR BR BR * We must now remount the filesystem: mount -o remount / BR * We'll install the server in /opt, so lets change into it: cd /opt BR * Let's download the server software itself using subversion: BR svn checkout http://svn.macosforge.org/repository/calendarserver/CalendarServer/trunk CalendarServer BR * Subversion has downloaded alot of software, and created a directory for us, called CalendarServer. Let's change into it: cd CalendarServer BR * And run a script to download some necessary packages, configure, etc: ./run -s BR * Ok, our CalDAV server is almost ready for action. Let's copy the test configuration so we can get it up as quickly as possible. Real configuration can wait: BR cp conf/caldavd-test.plist conf/caldavd-dev.plist BR * We do need to do some configuration though: vim conf/caldavd-test.plist BR BR

ADD PRECISE DESCRIPTION OF NECESSARY EDIT FOR EXTERNAL CONNECTIONS AND FOR EVOLUTION USERS!

* Run the server: ./run * That's it! Smile :)

References:

Cam's blog: BR http://cam.moobox.org/blog/?p=5 BR BR Lenfis blog: BR http://blog.jl42.de/index.php?/archives/231-Installation-of-the-Apple-Calendar-Server-on-Ubuntu-Edgy.html BR BR Calendar Server wiki: BR http://trac.macosforge.org/projects/calendarserver/wiki/ BR BR

CalendarServer (last edited 2014-07-13 21:21:52 by 5ac9a5f8)