Owncloud

ownCloud is a free, open source, Dropbox-like file synchronization and cloud service. Since it can be setup and hosted on private servers it has no set limit on storage capacity or the number of connected users.

Features

 * File storage in conventional directory structures or via WebDAV;
 * Encryption of user files;
 * Synchronization of ownCloud Client running Windows (Windows XP, Vista, 7 and 8), Mac OS X (10.6 or better), or Linux;
 * Calendar (also as CalDAV);
 * Task scheduler;
 * Address book (also as CardDAV);
 * Music streaming (through Ampache);
 * User and group administration (via OpenID or Lightweight Directory Access Protocol);
 * Sharing of content across groups or public URLs;
 * Online text editor with syntax highlighting and code folding;
 * Bookmarking;
 * URL shortening Suite;
 * Photo gallery;
 * Video viewer;
 * Portable Document Format viewer (using PDF.js);
 * Viewer for OpenDocument Files (.odt, .odp, .ods);
 * Firefox Sync/Mozilla Sync hosting — Mozilla Firefox users can store all history, form data, bookmarks etc. in an ownCloud server;
 * External storages such as Dropbox, GoogleDrive, or Amazon S3 can be mounted to an ownCloud installation;
 * Customizable with one-click application install;
 * Logging Module: supports logging of file-related actions, logs, who accessed what, when and from where. Only available ownCloud Business, Enterprise and Education Editions.

Requirements
The following will be needed in order for ownCloud to function properly:


 * A web server - (Apache, Lighttpd or Nginx);
 * webapp-config - to easily install ownCloud Server to an vhost directory;
 * PHP 5.4.9 or greater - for owncloud-5.0.13-r1 and up.

Building and Installation
If  USE will be enabled, so do before the install. The following is a list of possible USE flags.

Install ownCloud:

Installing ownCloud server in the vhost directory via webapp-config
Requires the package webapp-config command :

If  USE is enabled, this command will install the ownCloud server version 5.0.13-r1 for the domain   to the directory  which will (normally) be located in

Make sure that this directory is added as a vhosts directory.

Updating ownCloud server in the vhost directory via webapp-config
This command will update the installed ownCloud server which is located in the directory to the version 5.0.14

Removing ownCloud server from the vhost directory via webapp-config
This command will remove the installed ownCloud server version 5.0.14 which is located in the directory.

Activate ownCloud Cronjobs (for more information):
*/15 *  *  *  * php -f /var/www/mydomain.com/htdocs/cloud/cron.php

Enable APCu
Then restart the php-fpm service:

To verify if apc is working, copy in the  folder

Open it with a preferred web browser.

Disable Integrity Check
[//github.com/owncloud/core/issues/24218 Currently], the integrity checker complains when there is a .webapp file in the root of the OwnCloud installation directory. This file is generated, and required, by the webapp-config tool used to install all web apps on Gentoo. One possible temporary solution to this is to disable integrity check. This can be accomplished by adding the following to :

ownCloud client
Install the client by emerging the following package: