{"id":81,"date":"2011-08-03T07:58:42","date_gmt":"2011-08-02T19:58:42","guid":{"rendered":"http:\/\/www.templesoft.co.nz\/blog\/?p=81"},"modified":"2026-04-08T08:19:30","modified_gmt":"2026-04-07T20:19:30","slug":"creating-your-own-calendar-server","status":"publish","type":"post","link":"https:\/\/templesoft.co.nz\/journal\/?p=81","title":{"rendered":"Creating your own calendar server."},"content":{"rendered":"<h2>&#8220;I love my little calendar girl&#8221;<\/h2>\n<p style=\"text-align: justify;\">Ever since I first put together my own e-mail server, I&#8217;ve been looking for something to &#8220;round-out&#8221; the offering with centralised calendar functionality using the <strong>CalDAV<\/strong> protocol &#8211; my own &#8220;Groupware&#8221; solution so to speak! The criteria was fairly simple: I wanted it to serve of the Linux platform (Ubuntu &#8211; no surprises there I guess), it should support <strong>CalDAV<\/strong>, show busy time when sending invites to internal users and work with a variety of clients.<\/p>\n<p style=\"text-align: justify;\">I started down the path of using a Debian port of Apple&#8217;s iCal server, often referred to on the net as &#8220;<strong>caldavd<\/strong>&#8220;, but the install became to bloated and complex. Trying to resolve dependencies was becoming a nightmare, and the hand editing of the config files was time consuming.<\/p>\n<p style=\"text-align: justify;\">I stumbled across <strong>DAViCal<\/strong> while looking for alternatives to caldavd &#8211; as luck would have it it was written by a fellow kiwi named <a href=\"http:\/\/andrew.mcmillan.net.nz\/\">Andrew McMillan<\/a>, so with patriotic fervor I set about installing it. It works great, and what&#8217;s better it meets all of my criteria!<\/p>\n<p style=\"text-align: justify;\">So without further ado, here&#8217;s what I started with as my base spec for this build:<\/p>\n<ul>\n<li>An HP Proliant Microserver (with built in RAID0\/1 controller)<\/li>\n<li>2 x Seagate Barracuda 160GB SATA drives<\/li>\n<li>2GB RAM<\/li>\n<li>Ubuntu 10.04 LTS 64-bit<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">My intention from the start was to use this server with clients using Mozilla Thunderbird 5.0 with the Lightning 1.0b5 add-in. ( NOTE 20-4-2012: This is now Thunderbird 11.01 and Lightning 1.3 )<\/p>\n<h2 style=\"text-align: justify;\">Base install<\/h2>\n<p style=\"text-align: justify;\">Installation was basically a &#8220;follow the prompts&#8221; procedure. I interrupted the network detection to define a fixed IP address, the install detected the RAID card and configured accordingly, and when prompted the only additional software I installed was the &#8220;open-ssh&#8221; server (so I can access and configure from my own PC using PuTTY).<\/p>\n<p style=\"text-align: justify;\">After the first boot I made sure everything was up-to-date by installing the latest patches\/security updates.<\/p>\n<pre style=\"text-align: justify;\">sudo aptitude update\r\nsudo aptitude safe-upgrade<\/pre>\n<p style=\"text-align: justify;\">Once completed I was ready to start the install of the other core server. As a point of note here, because this install uses PostgreSQL, and all my other servers use MySQL, I opted to have it on a separate machine. From what I&#8217;ve read (provided the load isn&#8217;t to heavy for the spec of the machine) it&#8217;s OK to have both on the same server if you wish.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;I love my little calendar girl&#8221; Ever since I first put together my own e-mail server, I&#8217;ve been looking for something to &#8220;round-out&#8221; the offering with centralised calendar functionality using the CalDAV protocol &#8211; my own &#8220;Groupware&#8221; solution so to speak! The criteria was fairly simple: I wanted it to serve of the Linux platform&#8230;  <a class=\"excerpt-read-more\" href=\"https:\/\/templesoft.co.nz\/journal\/?p=81\" title=\"Read Creating your own calendar server.\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[62,64,66,73,65,63,70,69,71,72,67,68,19],"class_list":["post-81","post","type-post","status-publish","format-standard","hentry","category-technical-resource","tag-caldav","tag-caldavd","tag-calendar","tag-cron","tag-davical","tag-ical","tag-lightning","tag-mozilla","tag-pg_dump","tag-pg_dumpall","tag-postgresql","tag-thunderbird","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/templesoft.co.nz\/journal\/index.php?rest_route=\/wp\/v2\/posts\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/templesoft.co.nz\/journal\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/templesoft.co.nz\/journal\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/templesoft.co.nz\/journal\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/templesoft.co.nz\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=81"}],"version-history":[{"count":9,"href":"https:\/\/templesoft.co.nz\/journal\/index.php?rest_route=\/wp\/v2\/posts\/81\/revisions"}],"predecessor-version":[{"id":180,"href":"https:\/\/templesoft.co.nz\/journal\/index.php?rest_route=\/wp\/v2\/posts\/81\/revisions\/180"}],"wp:attachment":[{"href":"https:\/\/templesoft.co.nz\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/templesoft.co.nz\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/templesoft.co.nz\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}