Installation guide for ownCloud 7.-0, OBSOLETE.
echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/ /' >> /etc/apt/sources.list.d/owncloud.list apt-get update apt-get install owncloud wget http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/Release.key apt-key add - < Release.key
Make the following modifications to your settings file, which allows access to ownCloud from WAN, LAN, and the server. “lanname” is the local machines name served to clients within the LAN:
'trusted_domains' => array ( 0 => 'localhost',1 => 'wwww.domain.com',2 => 'lanname' ),
Note that while you enter “user” as login, the real username for MySQL login and others is “oc_user”. I needed to modify the permissions manually to make this work.
You might want to move the default data directory to a path within your home directory. To do so, rename /var/www/owncloud/data and establish a symlink:
ln -s /home/user/cloud /var/www/owncloud/data
Afterwards, copy all files from the default location, including the hidden files.
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',
The live upgrade did not work for me, I had to do a clean install and then resync all the data again.
# apt-get update # apt-get remove owncloud owncloud-server owncloud-config-apache # apt-get install owncloud owncloud-server owncloud-config-apache
After installation, open the web interface and select MySQL database, then click Install.
The Notes app does not belong to oc8, as it is replaced with ownNotes. However, as of today, there is no iOS app yet. To install the previous Notes app, go to ownCloud's apps directory, then:
# apt-get update # apt-get install git # cd /var/www/owncloud/apps # git clone https://github.com/owncloud/notes.git
To update the Notes app:
# cd /var/www/owncloud/apps/notes # git pull --rebase origin master
See ownCloud / Notes