slackbuilds_ponce/network/owncloud-server
David Spencer 23709ba875 network/owncloud-server: Updated for version 8.2.5.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
2016-05-27 07:23:48 +07:00
..
owncloud-server.info network/owncloud-server: Updated for version 8.2.5. 2016-05-27 07:23:48 +07:00
owncloud-server.SlackBuild network/owncloud-server: Updated for version 8.2.5. 2016-05-27 07:23:48 +07:00
README network/owncloud-server: Updated for version 8.1.2. 2015-09-05 18:24:48 +07:00
slack-desc

ownCloud gives you universal access to your files through a web interface
or WebDAV. It also provides a platform to easily view & sync your contacts,
calendars and bookmarks across all your devices and enables basic editing
right on the web.


SlackBuild defaults
-------------------

This SlackBuild uses the following defaults:
* DOCROOT=/srv/httpd/htdocs
* PHPUSER=root
* PHPGROUP=apache

You can change the defaults at build time:
# DOCROOT=/your/preferred/directory \
  PHPUSER=youruser \
  PHPGROUP=yourgroup \
  ./owncloud-server.SlackBuild


Configuration
-------------

(1) Add the following in /etc/httpd/httpd.conf

  <Directory "/srv/httpd/htdocs/owncloud">
      Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      Require all granted
  </Directory>

(2) In /etc/httpd/httpd.conf, enable mod_rewrite and PHP by uncommenting
"LoadModule rewrite_module ..." and "Include /etc/httpd/mod_php.conf",
then restart httpd.

(3) After installation, you must set up the names that clients will use to
access the server as "trusted domains".

You must also do this if you are upgrading an older owncloud installation.

To do this, you will need to edit /srv/httpd/htdocs/owncloud/config/config.php
as follows (please use your own server name instead of myserver.local or
owncloud.example.com):

    'trusted_domains' =>
    array (
      0 => 'localhost',
      1 => 'myserver.local',
      2 => 'owncloud.example.com',
    ),

(4) After installation, **and after every upgrade**, you need to complete
setup by visiting this page:

  http://localhost/owncloud/