[CentOS] Installing owncloud on CentOS 7 server

Fri Jun 19 15:58:56 UTC 2020
H <agents at meddatainc.com>

On 06/19/2020 11:28 AM, H wrote:
> On 06/19/2020 07:30 AM, Alexander Dalloz wrote:
>> Am 19.06.2020 um 01:08 schrieb H:
>>> I transitioning an owncloud installation from a C6 server to a new C7 server and used yum install owncloud to install it on the C7 server. I expected /var/www/owncloud to be generated but alas not. Quick Googling just showed examples of installing from the latest owncloud repository but not using yum.
>>>
>>> Have I missed something obvious when using yum to install?
>> rpm -qlv <packagename>
>>
>> shows you what you have installed into which locations on the system. Would have answered your question wihout googling from random resources.
>>
>> Alexander
>>
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> https://lists.centos.org/mailman/listinfo/centos
> Thank you, it installed to /usr/share, not what I expected. I may go with nextcloud instead, though.
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos

Btw, the link I am following on the net, https://computingforgeeks.com/install-nextcloud-on-centos-with-php-apache-mariadb/, for installing nextcloud is installing it to /var/www/html/nextcloud whereas some links I saw for owncloud installed it to /var/www/owncloud, ie one level higher. BTW, I have php 7.2 from SCL, not using Remi's repo as used in the link.

Are there any (security) arguments for using one or the other location?