SabreDAV is a popular open-source framework for WebDAV, CardDAV, and CalDAV server implementation for PHP. In this tutorial, we will guide you on how to install SabreDAV on Void Linux.
You will need to have the following before proceeding:
sudo xbps-install -S
sudo xbps-install -y php php-curl php-dom php-mbstring php-sqlite3
sudo xbps-install -y httpd
sudo nano /etc/httpd/conf/httpd.conf
# Add these lines at the end of the file:
<IfModule mod_alias.c>
AliasMatch ^/sabredav(?:/(.*))?$ "/usr/share/sabredav/public/.well-known/carddav/$1"
</IfModule>
<Directory "/usr/share/sabredav/public/.well-known/carddav">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
Require all granted
Dav on
</Directory>
sudo mkdir -p /usr/share/sabredav/public/.well-known/carddav/
cd /usr/share/sabredav/public/.well-known/carddav/
sudo wget https://github.com/sabre-io/SabreDAV/releases/download/4.0.1/sabre/dav/4.0.1/sabre-dav-4.0.1.zip
sudo unzip sabre-dav-4.0.1.zip
sudo mv sabre-dav-4.0.1/* .
sudo rmdir sabre-dav-4.0.1
sudo chown -R http:http /usr/share/sabredav/
sudo service httpd start
sudo ln -s /etc/sv/httpd/ /var/service/
Congratulations! You have successfully installed SabreDAV on Void Linux.
SabreDAV is an excellent solution for individuals, businesses, and organizations looking to implement a WebDAV, CardDAV, or CalDAV server. In this tutorial, we’ve shown you how to install SabreDAV on Void Linux. With SabreDAV, you can efficiently implement a WebDAV server for file sharing, collaboration, and other productivity needs.
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!