slackbuilds/network/nextcloud-server
David Spencer 29d32c9a60
network/nextcloud-server: Updated for version 13.0.7.
This is a downgrade from 14.0.0, which depends on php7.
Thanks (and sorry!) to Jason Graham.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2018-10-21 06:47:03 +07:00
..
README network/nextcloud-server: Updated for version 12.0.4. 2018-01-06 06:55:19 +07:00
nextcloud-server.SlackBuild network/nextcloud-server: Updated for version 13.0.7. 2018-10-21 06:47:03 +07:00
nextcloud-server.info network/nextcloud-server: Updated for version 13.0.7. 2018-10-21 06:47:03 +07:00
slack-desc

README

Nextcloud is a safe home for all your data - community-driven, free and
open source. Nextcloud gives you access to all your files wherever you
are.


Optional dependency: postgresql can be used as the server's database.


SlackBuild defaults

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

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


Configuration

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

  Alias /nextcloud "/srv/httpd/htdocs/nextcloud/"
  <Directory "/srv/httpd/htdocs/nextcloud">
      Options +FollowSymlinks
      AllowOverride All
      <IfModule mod_dav.c>
        Dav off
      </IfModule>
      SetEnv HOME      "/srv/httpd/htdocs/nextcloud"
      SetEnv HTTP_HOME "/srv/httpd/htdocs/nextcloud"
  </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) You need to complete setup by visiting this page:

  http://localhost/nextcloud/