openVZ Darwin Calendar Server (DCS) Released!

Guy

Renowned Member
Jan 15, 2009
121
1
83
m0guy.com
Hi all,

I've just published an openVZ, centos 5 based build of Darwin Calendar server, this is version 3.0 of the calendar/contact server written by Apple. They have not yet finalised it so this openVZ must also be treated as BETA.

It's very simple to setup, download the openVZ put it in your templates directory: /var/lib/vz/template/cache/

Create a new openVZ system, and before starting it you need to allow it to access a loopback device. If you've not done this before just follow these simple steps


  • ssh as root to your proxmox system
    find a free loopback device: losetup -f
    allow your new virtual access to it: vzctl set <VID> --devnodes loop0:rw --save

NOTE... VID is the ID of your new virtual system.

You can now start the virtual server and you should be able to connect to it straight away, https://<IP>:8843/ or https://<IP>:8443 with a web browser...You'll see some RAW XML.

login as admin, passwd: aTai7aeg

Now that it's responding you can go ahead and reconfigure it.../etc/caldavd/ is where all the configuration files are. Go ahead and add accounts to accounts.xml, make sure UID and GUID are unique. uuidgen is good for that.

to start/stop the services:

service dcs stop
service dcs start


Now try pointing a calDAV or cardDAV client at it, eg apple's ical.app or addressbook.app?

For more information:

http://www.rho.cc
http://calendarserver.org
 
All the calendar data is stored in the file /calData.dsk which is mounted automatically on boot via the loopback device.

I've created this as a 1Gb filesystem, if you plan to have lots of users then you might look to make this bigger. It needs to have the user_xattr. Iif you want to upgrade or move the calendar data you just need to copy your settings from /etc/caldavd and this file, calData.dsk.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!