|
|
(43 intermediate revisions by 9 users not shown) |
Line 1: |
Line 1: |
| [[http://owncloud.org/ 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! | | #REDIRECT [[Nextcloud]] |
| | | {{Obsolete|OwnCloud is deprecated in favor of [[Nextcloud|Nextcloud]]}} |
| == 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/config
| |
| * /usr/share/webapps/owncloud/apps
| |
| * /var/lib/owncloud/data
| |
| | |
| # chown -R lighttpd.lighttpd /etc/owncloud/config
| |
| # 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
| |
| | |
| == 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:
| |
| | |
| [[http://owncloud.org/sync-clients/ ownCloud Sync clients]] | |