Owncloud

Requirements
We will need the following:


 * A running web server for example Apache, Lighttpd or Nginx
 * If you want to easily install Owncloud Server to an vhost directory
 * A running php version (>= 5.4.9 for owncloud-5.0.13-r1)

Building and Installation
Install :

Installation of owncloud server in your vhost directory via webapp-config
Requires the package :

If you have the vhosts USE flag enabled, than you can run:

to install the owncloud server version 5.0.13-r1 for the domain  to the directory  which is normally located in

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

Upadating of owncloud server in your 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 of owncloud server from your 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 APC
PHP_TARGETS="php5-4" emerge -av dev-php/pecl-apc

Then restart php-fpm /etc/init.d/php-fpm restart

If you want check if apc is working, copy apc.php in your www cp /usr/share/php/apc/apc.php /var/www/

and then open it with your preferred browser

Owncloud Client
USE="qt4"

emerge dev-libs/iniparser dev-ruby/sqlite3 net-libs/neon app-doc/doxygen dev-qt/qttest Optional cmocka

Then follow the guide: http://doc.owncloud.org/desktop/1.3/building.html

mkdir owncloud-build cd owncloud-build git clone http://git.csync.org/users/freitag/csync.git ocsync git clone http://github.com/owncloud/mirall.git

mkdir ocsync-build mkdir mirall-build

cd ocsync git checkout dav

cd ../ocsync-build cmake -DCMAKE_BUILD_TYPE="Debug" ../ocsync make sudo make install

cd ../mirall-build cmake -DCMAKE_BUILD_TYPE="Debug" ../mirall \ -DCSYNC_BUILD_PATH=../ocsync-build \ -DCSYNC_INCLUDE_PATH=../ocsync/src make sudo make install