[Eisfair] caldav - S?==?utf-8?Q?erver
Frans de Vre
frans_de_vre at web.de
So Jul 15 15:41:17 CEST 2018
Baikal läuft hier wie schon erwähnt in ein VM in ein minimalistischer
Eisfair set-up d.h. base, apache, mariadb, msmtp
Ich hab die Installation im lokalen Wiki dokumentiert für eine ältere
Version (auf English) und stell sie hier jetzt ein:
CalDavserver VM
CalDav Installation
We use the most recent version 0.2.7 and for Thunderbird as connector
cardbook-7.2-tb.
Unpack Baikal an store it in /var/www/htdocs/caldav
chown -R wwwrun:nogroup /var/www/htdocs/caldav
Create a database 'baikal' with mysql
mysql
CREATE DATABASE baikal;
exit with \h
despite what the routine suggests, there is no user wwwrun created
automatically during the MariaDb installation.
thus create the user:wwwrun pwd:wwwrun, and grant him admin access
rights for both localhost and 127.0.0.1.
Check mysql-sock for this wwwrun user with the aid of a php script.
Create a new ENABLE_INSTALL file in /caldav/Specific with touch
(overwriting the old one)
Go to http://dav.mydomain.lan/caldav/index.php and the
installation-page should appear.
we specify the previously created 'caldav' database as
storage-object
and create the first user
Now everything should work like a charm. More on baikal can be found on
the Github account.
And on SoGo over here
http://www.rz.uni-osnabrueck.de/dienste/sogo/Kontakte/thunderbird.htm
Check also the *.md files that came with the package. There is
additional information regarding setup with virtual hosts etc.
Thunderbird
Address-book
http://dav.mydomain.com/card.php/addressbooks/username/default/
Calendar
http://dav.mydomain.com/cal.php/calendars/username/default
In my case:
http://caldav.xyz.lan/caldav/card.php/addressbooks/user01/default/
http://caldav.xyz.lan/caldav/cal.php/calendars/user01/default
Apache Configuration
APACHE2_PORT='80'
APACHE2_SERVER_ADMIN='webmaster at caldav.xyz.lan'
APACHE2_SERVER_NAME='caldav.xyz.lan'
APACHE2_DOCUMENT_ROOT='/var/www/htdocs'
APACHE2_DIR_2_ACTIVE='yes'
APACHE2_DIR_2_ALIAS='yes'
APACHE2_DIR_2_ALIAS_NAME='/caldav/'
APACHE2_DIR_2_PATH='/var/www/htdocs/caldav/'
APACHE2_DIR_2_AUTH_NAME=
APACHE2_DIR_2_AUTH_TYPE='Basic'
APACHE2_DIR_2_ACCESS_CONTROL_TYPE_ALL='yes'
APACHE2_DIR_2_CGI='none'
APACHE2_DIR_2_SSI='no'
APACHE2_DIR_2_VIEW_DIR_CONTENT='no'
APACHE2_DIR_2_WEBDAV='no'
MariaDB Configuration
# MariaDB-VERSION 2.7.1
START_MARIADB='yes'
MARIADB_NETWORK='no'
MARIADB_SEND_MAIL_FROM='mariadb at mail.xyz.lan'
#-----------------------------------------------------------------------
-------
# Backup settings
#-----------------------------------------------------------------------
-------
MARIADB_BACKUP_CRON_SCHEDULE='15 1 * * *'
MARIADB_BACKUP_TARGET='/data/mysql_backup'
MARIADB_BACKUP_N='1'
MARIADB_BACKUP_1_NAME=
MARIADB_BACKUP_1_ACTIVE='no'
MARIADB_BACKUP_1_FILE='mysql'
MARIADB_BACKUP_1_MAX='7'
MARIADB_BACKUP_1_FORCE='yes'
MARIADB_BACKUP_MOUNT=
MARIADB_BACKUP_UMOUNT=
#-----------------------------------------------------------------------
-------
# Special settings
#-----------------------------------------------------------------------
-------
MARIADB_DEFAULT_COLLATION='utf8_unicode_ci'
MARIADB_CONNECT_PORT='3306'
MARIADB_BIND_IP_ADDRESS=
MARIADB_MEMORY_OPT='medium'
MARIADB_THREAD_STACK_SIZE='256k'
MARIADB_MAX_ALLOWED_PACKET='1'
MARIADB_MAX_CONNECTIONS='200'
MARIADB_ACTIVATE_BINLOG='no'
MARIADB_MAX_BINLOG_SIZE='1024000'
Gruss /Frans
Mehr Informationen über die Mailingliste Eisfair