Friday, December 17, 2021

How To Setup Radicale On Ubuntu 18.04 LTS

Radicale is a small but powerful CalDAV (calendars, todo-lists) and CardDAV (contacts) server, that:
Shares calendars through CalDAV, WebDAV and HTTP.
Shares contacts through CardDAV, WebDAV and HTTP.
Supports events, todos, journal entries and business cards.
Works out-of-the-box, no installation nor configuration required.
Can warn users on concurrent editing.
Can limit access by authentication.
Can secure connections.
Works with many CalDAV and CardDAV clients.
Is GPLv3-licensed free software.
Offcial Website: https://radicale.org/
___________________________________________________________________________________________________________________________________________________
Our Server Specification-    
Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit   |            IP address- 192.168.1.50                 | Hostname :www.yourdomain.com
___________________________________________________________________________________________________________________________________________________
lsb_release -cd  ; getconf LONG_BIT ; whoami ; hostname -f ; hostname -I ; apt-get update ; apt install -y build-essential software-properties-common curl wget nano git net-tools lsb-release apt-transport-https python3-pip python3-pkg-resources

python3 -m pip install --upgrade radicale
python3 -m pip install --upgrade passlib bcrypt

useradd --system --home-dir / --shell /sbin/nologin radicale
mkdir -p /var/lib/radicale/collections && chown -R radicale:radicale /var/lib/radicale/collections
chmod o-x /var/lib/radicale/collections/ && mkdir /etc/radicale && touch /etc/radicale/config

gedit /etc/systemd/system/radicale.service &>/dev/null
[Unit]
Description=A simple CalDAV (calendar) and CardDAV (contact) server
After=network.target
Requires=network.target

[Service]
ExecStart=/usr/bin/env python3 -m radicale
Restart=on-failure
User=radicale
# Deny other users access to the calendar data
UMask=0027
# Optional security settings
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
NoNewPrivileges=true
ReadWritePaths=/var/lib/radicale/collections

[Install]
WantedBy=multi-user.target

touch /etc/radicale/users ; chown radicale:radicale /etc/radicale/users ; chmod 400 /etc/radicale/users
systemctl enable radicale.service ; systemctl start radicale.service

http://127.0.0.1:5232
admin admin


No comments:

Post a Comment