Listing 1:
sudo apt install samba
sudo mkdir /srv/clonezilla_samba
sudo chown -R nobody:nogroup
/srv/clonezilla_samba/
sudo chmod -R ugo+rwx /srv/
clonezilla_samba/
sudo smbpasswd -a gebruikersnaam
sudo nano /etc/samba/smb.conf
sudo systemctl restart smbd
sudo mkdir /srv/clonezilla_nfs
sudo chown nobody:nogroup
/srv/clonezilla_nfs
sudo apt install nfs-kernel-server
echo ‘/srv/clonezilla_nfs
*(rw,sync,all_squash,no_subtree_
check,anonuid=65534,anongid
=65534)’ | sudo tee -a /etc/
exports
sudo systemctl restart

nfs-kernel-server
sudo apt install apache2
sudo a2enmod dav
sudo a2enmod dav_fs
sudo mkdir /var/www/html/
clonezilla
sudo mkdir -p /usr/local/apache/
sudo chown -R www-data:wwwdata
/usr/local/apache
sudo chown -R www-data:wwwdata
/var/www/html/clonezilla
sudo nano /etc/apache2/confavailable/
webdav_clonezilla.conf
sudo a2enconf webdav_clonezilla
sudo systemctl restart apache2

Listing 2:
[clonezilla]
create mask = 0664
directory mask = 02775
force create mode = 0664
force directory mode
= 02775
force group = nogroup
force user = nobody
guest ok = Yes
guest only = Yes
path = /srv/clonezilla_
samba
read only = No