README 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Nextcloud is a safe home for all your data - community-driven, free and
  2. open source. Nextcloud gives you access to all your files wherever you
  3. are.
  4. Optional dependency: postgresql can be used as the server's database.
  5. SlackBuild defaults
  6. This SlackBuild uses the following defaults:
  7. * DOCROOT=/srv/httpd/htdocs
  8. * PHPUSER=apache
  9. * PHPGROUP=apache
  10. You can change the defaults at build time:
  11. # DOCROOT=/your/preferred/directory \
  12. PHPUSER=youruser \
  13. PHPGROUP=yourgroup \
  14. ./nextcloud-server.SlackBuild
  15. Configuration
  16. (1) Add the following in /etc/httpd/httpd.conf
  17. Alias /nextcloud "/srv/httpd/htdocs/nextcloud/"
  18. <Directory "/srv/httpd/htdocs/nextcloud">
  19. Options +FollowSymlinks
  20. AllowOverride All
  21. <IfModule mod_dav.c>
  22. Dav off
  23. </IfModule>
  24. SetEnv HOME "/srv/httpd/htdocs/nextcloud"
  25. SetEnv HTTP_HOME "/srv/httpd/htdocs/nextcloud"
  26. </Directory>
  27. (2) In /etc/httpd/httpd.conf, enable mod_rewrite and PHP by uncommenting
  28. "LoadModule rewrite_module ..." and "Include /etc/httpd/mod_php.conf",
  29. then restart httpd.
  30. (3) You need to complete setup by visiting this page:
  31. http://localhost/nextcloud/