Baïkal is a lightweight and open-source CalDAV and CardDAV server that allows users to sync their calendars, contacts, and tasks across different devices. In this tutorial, we will guide you through the steps to install Baïkal on Windows 11.
Before we proceed with the installation, make sure that the following prerequisites are met:
First, you need to download the Baïkal package from the official website at https://sabre.io/baikal/. Click on the "Download" button and save the file to your system.
Navigate to the directory where you have saved the Baïkal package and extract it to the Apache's document root directory. The default location for Apache document root is C:\Apache24\htdocs
. We suggest creating a new directory called baikal
and extract the files there.
C:\Apache24\htdocs\baikal
Now, we need to configure the Baïkal server. Open the Baïkal configuration file located in the config
directory and make the following changes:
Change the database settings according to your setup:
'DSN' => 'mysql:host=localhost;dbname=baikal',
'USERNAME' => 'root',
'PASSWORD' => '',
Change the URL settings as per your setup:
'BASE_URI' => '/baikal/',
'SSL_CERTIFICATE_PATH' => null,
'SSL_KEY_PATH' => null,
'SSL_KEY_PASSPHRASE' => null,
Save and close the file.
Baïkal requires a MySQL database to store its data. You can use any MySQL client to create a new database. Open your MySQL client and create a new database called baikal
.
CREATE DATABASE baikal;
Next, we need to import the Baïkal database schema to the newly created database. Open the Baïkal installation directory and navigate to the Sql
directory. Run the following command to import the schema:
mysql --user=username --password=password --host=localhost baikal < db_schema/mysql5.sql
Note: Replace username
and password
with your MySQL user credentials.
Now, the Baïkal server is configured and ready to use. Open your web browser and enter the following URL in the address bar:
http://localhost/baikal/html/
You should see the Baïkal login page. Enter the default username and password to login.
That's it! You have successfully installed Baïkal on your Windows 11 system. You can now start using Baïkal to sync your calendars, contacts, and tasks across devices.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!