You can add the repository key to apt. Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information). Run the following shell commands as root to trust the repository:
wget -nv https://download.owncloud.org/download/repositories/stable/Debian_8.0/Release.key -O Release.key apt-key add - < Release.key
Run the following shell commands as root to add the repository and install from there:
sh -c "echo 'deb http://download.owncloud.org/download/repositories/stable/Debian_8.0/ /' >> /etc/apt/sources.list.d/owncloud.list" apt-get update apt-get install owncloud
Make the following modifications to config.php, which allows access to ownCloud from WAN, LAN, and the server. “netbios name” is the local machine name within the LAN:
'trusted_domains' => array ( 0 => 'localhost',1 => 'wwww.domain.com',2 => 'netbios name' ),
Cron job:
sudo crontab -u www-data -e
15 * * * php -f /var/www/owncloud/cron.php
After installation, convert database to MySQL or MariaDB:
php occ db:convert-type --all-apps mysql oc_user localhost owncloud
<VirtualHost *:443> ServerName cloud.owncloud.com <IfModule mod_headers.c> Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload" </IfModule> </VirtualHost>
'datadirectory' => '/data',
'memcache.local' => '\OC\Memcache\APCu',
'logtimezone' => 'Asia/Seoul',
'appstore.experimental.enabled' => true,
Modify the copyright text and display in the footer by creating “default.php” in /themes/your-theme-name/. Copy “default.php” from /lib/private/, rename the class to “OC_Theme”, and modify as needed. Functions which do not change the output do not need to be repeated in the theme default.php file.
Activate the theme in /config/config.php by adding:
'theme' => 'mytheme',
'filesystem_check_changes' => 1,