I wrote a script that installs Nextcloud package (an alternative to other disk services in the so-called cloud), in Debian 11 (Linux). To work it requires only a clean system, everything will install and configure itself (so that it works on the local network, the operation outside must be configured by the user).
Here is the link: Nextcloud Debian Installer