{"id":153,"date":"2010-06-23T09:22:34","date_gmt":"2010-06-23T16:22:34","guid":{"rendered":"http:\/\/www.dreness.com\/blog\/?p=153"},"modified":"2019-12-07T17:10:19","modified_gmt":"2019-12-08T00:10:19","slug":"calendarserver-on-ubuntu-10-0-4-desktop","status":"publish","type":"post","link":"https:\/\/dreness.com\/blog\/archives\/153","title":{"rendered":"CalendarServer on Ubuntu 10.0.4 Desktop"},"content":{"rendered":"<p>&#8220;Why should I read this silly article when I can just install the CalendarServer .deb?!&#8221;, you might be thinking. That&#8217;s easy. That deb is release 1.2, which is like a million years old or something. Lots of great stuff has been added since then, such as shared calendars and the integration of the formerly separate AddressBook server.<\/p>\n<p>The concept here is to use apt to satisfy as many of the CalendarServer dependencies as possible, then let the &#8216;run&#8217; script do the rest. I&#8217;ve tested this numerous times, and it works pretty flawlessly. I&#8217;ll have more detailed content later, but I just wanted to get the quick steps out there for any bleeding edgers out there&#8230;<\/p>\n<p>1) edit \/etc\/fstab to enable xattrs by adding the &#8220;user_xattr&#8221; option.<\/p>\n<p>e.g. (all on one line):<\/p>\n<p>UUID=8f2bb850-0e8f-4d81-bba5-fb93ef9b9990 \/\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ext4\u00a0\u00a0\u00a0 errors=remount-ro,<strong>user_xattr<\/strong> 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1<\/p>\n<p>after doing the above you need to reboot, or &#8220;sudo\u00a0mount \/ -o remount&#8221;<\/p>\n<p>2) sudo apt-get build-dep postgresql<\/p>\n<p>3) sudo apt-get install python-setuptools python-xattr python-twisted subversion curl<\/p>\n<p>4) svn co\u00a0<a href=\"https:\/\/github.com\/apple\/ccs-calendarserver\/tree\/master\/\">http:\/\/svn.macosforge.org\/repository\/calendarserver\/CalendarServer\/trunk<\/a> CalendarServer<\/p>\n<p>5) cd CalendarServer ; .\/run -s<\/p>\n<p>&#8230; at this point, if all goes well, you should be prompted with a message indicating that there is no config file. Run the suggested command to use the sample config file. You can then start the server with run -d, and run the protocol tests using the &#8216;testserver&#8217; script.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Why should I read this silly article when I can just install the CalendarServer .deb?!&#8221;, you might be thinking. That&#8217;s easy. That deb is release 1.2, which is like a million years old or something. Lots of great stuff has &hellip; <a href=\"https:\/\/dreness.com\/blog\/archives\/153\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-153","post","type-post","status-publish","format-standard","hentry","category-bitbucket"],"_links":{"self":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts\/153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/comments?post=153"}],"version-history":[{"count":5,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts\/153\/revisions"}],"predecessor-version":[{"id":1024,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts\/153\/revisions\/1024"}],"wp:attachment":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/media?parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/categories?post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/tags?post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}