{{lastupdated_at}} by {{lastupdated_by}} {{>toc}} h1. Owncloud cli cheatsheet h2. Architecture * Owncloud by default is installed to /var/www/owncloud * The apache conf file is in /etc/apache2/conf-available/owncloud.conf ** by default this redirects any http[s[://[url]/owncloud to the owncloud directory ** I often change this to redirect / to owncloud if on subdomain or office fileserver * owncloud config file is in /var/www/owncloud/config/config.php ** note: if setting changes in the config file do not take, check the permissions for this file * the owncloud directory also has a detailed .htaccess file that is vital to the security of owncloud * The data directory can be found in the config file and is also the location of the owncloud.log file ** the data directory can and at office servers is often supplemented or replaced by local storage or SMB * the backend database is mysql which is used by default for everything. ** some larger installs (ex. NDWA) use redis instead of mysql for file locking. * caching is performed by memcached or redis