summaryrefslogtreecommitdiff
path: root/network/nextcloud-server/README
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2017-10-16 23:49:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-16 23:49:14 +0700
commit4522ca84fa21e30042e23ce8cab661aed8ef4447 (patch)
tree03928d48339f78b409b83ca1e598a0391ba8a0c9 /network/nextcloud-server/README
parent357518a8d7ae18be94aa6e5cb2e1537a5e19da37 (diff)
downloadslackbuilds-4522ca84fa21e30042e23ce8cab661aed8ef4447.tar.gz
network/nextcloud-server: Added (nextcloud sync & share server).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/nextcloud-server/README')
-rw-r--r--network/nextcloud-server/README43
1 files changed, 43 insertions, 0 deletions
diff --git a/network/nextcloud-server/README b/network/nextcloud-server/README
new file mode 100644
index 0000000000..c5692ee7ad
--- /dev/null
+++ b/network/nextcloud-server/README
@@ -0,0 +1,43 @@
+Nextcloud is a safe home for all your data - community-driven, free & 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=root
+* 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/