Fedora 41 nextcloud install

A question please.

Fedora 41 creates data and apps in /var/lib/nextcloud.

most documents installation is in /var/www/html.
should I move ,my installation to var/www/html or create links.
thanks.

By the way, I am well versed with Unix and system admin side and comfortable as a root user.

Hi @akap

If you have installed the nextcloud package via dnf from the Fedora repos, I would leave the directories as they are unless you know exactly what you are doing and what the possible side effects might be, e.g. when updating Nextcloud via dnf.

Another and probably better option would be not to use the package from the Fedora repos, and instead manually set up a LAMP stack, download the zip or tarball from here, extract it (e.g., to /var/www/html/nextcloud/), and then configure Apache manually.

The following example is based on CentOS 8, so it may not be a perfect match for a current version of Fedora, but it should still give a general idea of how a manual installation might work: Nextcloud installation on CentOS 8.

1 Like

Thanks bb77. will follow your helpful installation notes.
I will follow them
Thanks again

1 Like

Thanks BB7 your suggestion worked a treat. It is now also working as http://example.com . which I was trying before and not hhttp://example.com/nextcloud. I have installed certbot bay have not manage to do hpps yet. Ny quick suggestions. as to whee the required config files will be.

Thanks for your suggestion

akap

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.