Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var 3 년 전
..
README 53cd87a242 network/nextcloud-server: Updated for version 12.0.4. 6 년 전
nextcloud-server.SlackBuild 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var 3 년 전
nextcloud-server.info 7dc98e09ac Updated to latest upstream 18.0.4 3 년 전
slack-desc 4522ca84fa network/nextcloud-server: Added (nextcloud sync & share server). 7 년 전

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/"

Options +FollowSymlinks
AllowOverride All

Dav off

SetEnv HOME "/srv/httpd/htdocs/nextcloud"
SetEnv HTTP_HOME "/srv/httpd/htdocs/nextcloud"


(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/