Nextcloud: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
Line 30: Line 30:


Actual repo files are here: http://download.owncloud.org/download/repositories/stable/CentOS_6_PHP56/
Actual repo files are here: http://download.owncloud.org/download/repositories/stable/CentOS_6_PHP56/
Restart the web server (this restarts the httpd-2.2)
<pre>
service httpd restart
</pre>
Open https://daqshare.triumf.ca/owncloud/index.php
* enter username "admin", password "admin"
* push "finish install" (or whatever it was)
* you will be logged in as admin user
* ...
* follow instructions at https://doc.owncloud.org/server/8.2/admin_manual/contents.html
Missing items:
* redirect to https
* set HSTS header
* test email

Revision as of 17:37, 26 December 2015

owncloud

Links

Installation

On el6, update php from 5.3 to 5.6:

rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
yum remove php-common
yum install "php56w*" --exclude "php56w-conflicting" --exclude php56w-mysqlnd

From https://download.owncloud.org/download/repositories/stable/owncloud/ follow instructions for CentOS6 with php5.6: CentOS_6_PHP56 owncloud-8.2.2-1

Note: this will install php5.6 and httpd-2.4 from el6 software collections.

rpm --import https://download.owncloud.org/download/repositories/stable/CentOS_6_PHP56/repodata/repomd.xml.key
wget http://download.owncloud.org/download/repositories/stable/CentOS_6_PHP56/ce:stable.repo -O /etc/yum.repos.d/ce:stable.repo
yum clean expire-cache
yum install owncloud

Actual repo files are here: http://download.owncloud.org/download/repositories/stable/CentOS_6_PHP56/

Restart the web server (this restarts the httpd-2.2)

service httpd restart

Open https://daqshare.triumf.ca/owncloud/index.php

Missing items:

  • redirect to https
  • set HSTS header
  • test email