OwnCloud: Difference between revisions

From Alpine Linux
(symlink added)
m (typo)
Tag: New redirect
 
(36 intermediate revisions by 7 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
* /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
 
Link owncloud installation to web server directory:
 
  # ln -s /usr/share/webapps/owncloud /var/www/localhost/htdocs/owncloud
 
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:
 
[[http://owncloud.org/sync-clients/ ownCloud Sync clients]]
 
[[http://owncloud.org/support/android/ Android client]]
 
[[Category:Server]]

Latest revision as of 23:15, 20 December 2021

Redirect to:

This material is obsolete ...

OwnCloud is deprecated in favor of Nextcloud (Discuss)