Difference between revisions of "OwnCloud"

From Alpine Linux
Jump to: navigation, search
(revert last change)
(add android client link)
Line 52: Line 52:
  
 
[[http://owncloud.org/sync-clients/ ownCloud Sync clients]]
 
[[http://owncloud.org/sync-clients/ ownCloud Sync clients]]
 +
 +
[[http://owncloud.org/support/android/ Android client]]
  
 
[[Category:Server]]
 
[[Category:Server]]

Revision as of 07:45, 16 October 2012

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!

Installation

Currently ownCloud is available only from edge/main repository (upcoming Alpine 2.5). So, make sure you have it in /etc/apk/repositories. We will install it together with PostgreSQL and lighttpd. SQLite and Apache are also supported (not tested though).

# apk add owncloud-pgsql lighttpd

The web server user needs to have ownership on the following dirs:

  • /etc/owncloud
  • /usr/share/webapps/owncloud/apps
  • /var/lib/owncloud/data
# chown -R lighttpd.lighttpd /etc/owncloud
# chown -R lighttpd.lighttpd /usr/share/webapps/owncloud/apps
# chown -R lighttpd.lighttpd /var/lib/owncloud/data

Make sure you have FastCGI enabled in /etc/lighttpd/lighttpd.conf:

include "mod_fastcgi.conf"

Consider adding the following line for additional security to the owncloud configuration file, where the password database is stored:

url.access-deny = ("config.php")

Start the web server and PostgreSQL:

# /etc/init.d/lighttpd start
# /etc/init.d/postgresql start

Create a Postgresql user and database for ownCloud:

# psql -U postgres
postgres=# CREATE USER owncloud WITH PASSWORD '<%STRONG_PASSWORD%>';
postgres=# CREATE DATABASE owncloud;
postgres=# GRANT ALL ON DATABASE owncloud TO owncloud;
postgres=# \q

If you need any third party plugins, install the 3rdparty package:

 # apk add owncloud-plugins

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

 # apk add owncloud-texteditor owncloud-videoviewer

Finish Installation and Go!

Point your browser at http://<%MY_SERVER_IP%>/owncloud and follow the on-screen instructions to complete the installation, supplying the PostgreSQL user and password created before.

Clients

There are clients available for many platforms, Android included:

[ownCloud Sync clients]

[Android client]