mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-21 22:27:10 +02:00
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
|
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, **and after every upgrade**, you need to complete
|
||
|
setup by visiting this page:
|
||
|
|
||
|
http://localhost/owncloud/
|