Hello there.
After struggling a lot, I was finally able to make a local installation of nextcloud.
I followed these guides, and got helped by the following questions:
https://docs.nextcloud.com/server/20/admin_manual/installation/source_installation.html#
https://docs.nextcloud.com/server/20/admin_manual/installation/example_ubuntu.html
https://help.nextcloud.com/t/not-found-the-requested-url-was-not-found-on-this-server/66078/4
https://help.nextcloud.com/t/solved-nextcloud-installation/20546/7
There are some more but the forum won’t let me share them.
However, when I go to localhost/nextcloud on the browser, I get the following:
Error
No database drivers (sqlite, mysql, or postgresql) installed.
PHP module zip not installed.
Please ask your server administrator to install the module.
PHP module dom not installed.
Please ask your server administrator to install the module.
PHP module XMLWriter not installed.
Please ask your server administrator to install the module.
PHP module XMLReader not installed.
Please ask your server administrator to install the module.
PHP module libxml not installed.
Please ask your server administrator to install the module.
PHP module mbstring not installed.
Please ask your server administrator to install the module.
PHP module GD not installed.
Please ask your server administrator to install the module.
PHP module SimpleXML not installed.
Please ask your server administrator to install the module.
PHP module cURL not installed.
Please ask your server administrator to install the module.
PHP modules have been installed, but they are still listed as missing?
Please ask your server administrator to restart the web server.
Any ideas of what could be happening?
Thanks