Site Tools


linux:ubuntu:owncloud

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:ubuntu:owncloud [2018/02/20 16:14] lunetikklinux:ubuntu:owncloud [2018/02/28 13:46] lunetikk
Line 1: Line 1:
-====== Owncloud ======+====== ownCloud ====== 
 + 
 +===== What is ownCloud ===== 
 + 
 +[[https://de.wikipedia.org/wiki/OwnCloud|Wikipedia - ownCloud]]
  
 ===== Installation ===== ===== Installation =====
  
-Get the tarball from the official Site [[https://owncloud.org/download/|Owncloud]]+Get the tarball from the official Site [[https://owncloud.org/download/|ownCloud]]
  
 <code>wget https://download.owncloud.org/community/owncloud-10.0.6.tar.bz2</code> <code>wget https://download.owncloud.org/community/owncloud-10.0.6.tar.bz2</code>
Line 11: Line 15:
  
 If you use Ubuntu 14.04 you might have PHP5.5 in use. You need PHP5.6 to run this version of Owncloud.\\ If you use Ubuntu 14.04 you might have PHP5.5 in use. You need PHP5.6 to run this version of Owncloud.\\
-Install PHP5.6+Check your current PHP5 modules 
 +<code>dpkg -l |grep php5</code> 
 +The following are needed by owncloud 
 +<code>libapache2-mod-php5 php5-gd php5-json php5-mysql php5-curl php5-intl php5-mcrypt php5-imagick</code> 
 +Install PHP5.6, just remove the php-modules that you dont need (I included all I have)
 <code> <code>
 add-apt-repository ppa:ondrej/php add-apt-repository ppa:ondrej/php
Line 43: Line 51:
  
 </Directory> </Directory>
 +</code>
 +
 +Activate the following apache2 modules
 +
 +<code>
 +a2enmod rewrite
 +a2enmod headers
 +a2enmod env
 +a2enmod dir
 +a2enmod mime
 +service apache2 restart
 </code> </code>
  
Line 50: Line 69:
  
 coming soon.... coming soon....
 +
 +===== Maintenance and Upgrade =====
 +
 +[[https://doc.owncloud.org/server/8.0/admin_manual/maintenance/upgrade.html|ownCloud - Maintenance and Upgrade]]
 +
 +^ Command ^ Function ^
 +| sudo -u www-data php occ maintenance:mode --on | Turn on maintenance mode (display maintenance site) |
 +| sudo -u www-data php occ maintenance:mode --off | Turn off maintenance mode (display regular site) |
 +| sudo -u apache php occ upgrade | Upgrade the current extracted ownCloud directory to the version |
 +
 +===== Security =====
 +
 +[[https://scan.nextcloud.com/|Nextcloud Security Scan]]\\
 +
 +[[http://www.rojtberg.net/711/secure-owncloud-server/|Fail2ban for v9]]\\
 +
 +[[https://markustechsite.wordpress.com/2017/05/01/fail2ban-fuer-owncloud-10/|Fail2ban for v10]]\\
 +
 +[[https://doc.owncloud.org/server/9.1/admin_manual/configuration_server/config_sample_php_parameters.html#logging|ownCloud - Activate logging]]
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
linux/ubuntu/owncloud.txt · Last modified: 2018/04/03 13:14 by lunetikk