Pour cela, on va suivre l'install par
https://nextcloud.com/install/
https://nextcloud.com/install/#instructions-server