Baikal configuration
From wikinotes
php-fpm
# /usr/local/etc/php-fpm.conf listen = /var/run/php-fpm.sock listen.owner = www listen.group = www liseten.mode = 0660sudo service php-fpm start
nginx
Baikal requires a webserver to serve it's content.
Generate a Self-Signed Certificate: Reference openssl.
mkdir -p /usr/local/etc/nginx/keys openssl req -new -x509 -nodes -newkey rsa:4096 \ -keyout /usr/local/etc/nginx/keys/server.key \ -out /usr/local/etc/nginx/keys/server.crt# /usr/local/etc/nginx/nginx.conf user www www; worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; server { listen 80; #server_name localhost; server_name morpheus; root /usr/local/www/baikal/html; index index.php; charset utf-8; location ~ /(\.ht|Core|Specific) { deny all; return 404; } location ~ ^(.+\.php)(.*)$ { try_files $fastcgi_script_name =404; fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_pass unix:/var/run/php-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; include /usr/local/etc/nginx/fastcgi_params; } } }# /etc/rc.conf nginx_enable="YES"sudo systemctl enable nginx
Baikal
Initial Setup
# Correct permissions touch /usr/local/www/baikal/Specific/ENABLE_INSTALL sudo chown -R www:www /usr/local/www/baikal
- You can now complete installation (or upgrade) from
http://{domain}
orhttp://{domain}/admin/index.php
.- If pompted, use digest instead of basic for your authorization scheme
NOTE:
vdirsyncer dropped support for digest, basic auth may be a better choice.
- You man now create a User, and their contacts/calendars now from the webUI.
Configuration Changes
- Login to the admin, and click the hamburber menu.
- You can change
- WebDAV authentication type
- Users, Calendars
- Database settings