Some large apps, such as texteditor and videoviewer are in separate package:

Some large apps, such as texteditor and videoviewer are in separate package:

{{cmd|apk add owncloud-texteditor owncloud-videoviewer}}

{{cmd|apk add owncloud-texteditor owncloud-videoviewer}}

−

−

=== Folder permissions ===

−

The web server user needs to have ownership on some dirs. This is fixed by running the following commands:

−

{{cmd|chown -R lighttpd.lighttpd /etc/owncloud

−

chown -R lighttpd.lighttpd /usr/share/webapps/owncloud/apps

−

chown -R lighttpd.lighttpd /var/lib/owncloud/data}}

−

{{note|Each time you upgrade {{pkg|owncloud}} you need to remember to fix the permissions as described above.}}

= Configure and use ownCloud =

= Configure and use ownCloud =

Revision as of 17:12, 30 July 2014

ownCloud is WedDAV-based solution for storing and sharing on-line your data, files, images, video, music, calendars and contacts. You can have your ownCloud instance up and running in 5 minutes with Alpine!

Webserver

Next thing is to choose, install and configure a webserver. In this example we will install lighttpd but you are free to install any other webserver of your choise as long as it supports php and FastCGI.

Publish owncloud

Other settings

Hardening

Consider updating the variable url.access-deny in /etc/lighttpd/lighttpd.conf for additional security. Add "config.php" to the variable (that's where the database is stored) so it looks something like this: