Difference between revisions of "OwnCloud"

From Wikislax
Jump to: navigation, search
(Installing OwnCloud)
Line 23: Line 23:
 
  > sudo -E -u apache /usr/bin/php /usr/local/owncloud/occ "\$@"
 
  > sudo -E -u apache /usr/bin/php /usr/local/owncloud/occ "\$@"
 
  > EOM
 
  > EOM
  #
+
  # chmod u+x $FILE
  
 
<br clear=all>
 
<br clear=all>
  
 
{{pFoot|[[Asterisk]]|[[Main Page]]|[[Desktop software]]}}
 
{{pFoot|[[Asterisk]]|[[Main Page]]|[[Desktop software]]}}

Revision as of 16:32, 18 January 2025

What is OwnCloud ?

OwnCloud is a file synchronization server. It affords keeping a hierarchy of files synchronized on different clients and operating systems.

Installing OwnCloud

OwnCloud is available as a PHP application relying on various databases. See the OwnCloud documentation for details. We will be using MySQL. download tarball then untar and install.

# tar -C /usr/local -xvf owncloud-complete-20240724.tar.bz2
# chown -R apache:apache owncloud
# cd /var/www/htdocs
# ln -s /usr/local/owncloud owncloud
# chown -R apache:apache owncloud

Create the occ helper script

# FILE="/usr/local/bin/occ"
# cat <<EOM >$FILE
> #! /bin/bash
> cd /usr/local/owncloud
> sudo -E -u apache /usr/bin/php /usr/local/owncloud/occ "\$@"
> EOM
# chmod u+x $FILE


Asterisk Main Page Desktop software