Owncloud installieren: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 10: Zeile 10:
<pre>
<pre>
unzip owncloud-8.2.2.zip
unzip owncloud-8.2.2.zip
sudo mv owncloud-8.2.2 /var/www/owncloud/
sudo mv owncloud /var/www/owncloud/
sudo chown -R www-data:www-data /var/www/owncloud/
sudo chown -R www-data:www-data /var/www/owncloud/
</pre>
</pre>

Version vom 10. April 2016, 09:45 Uhr

Installation

Download:

wget https://download.owncloud.org/community/owncloud-8.2.2.zip

In Apache Wurzelverzeichnis verschieben

unzip owncloud-8.2.2.zip
sudo mv owncloud /var/www/owncloud/
sudo chown -R www-data:www-data /var/www/owncloud/

Datenbank erstellen:

mysql -u root -p
mysql> create database if not exists <database name>;
mysql> create user 'onwcloud'@'%' identified by '<password>';
mysql> grant usage on *.* to 'owncloud'@'%' identified by '<password>'; 
mysql> grant all privileges on owncloud.* to 'owncloud'@'%';
mysql> create user 'onwcloud'@'localhost' identified by '<password>';
mysql> grant usage on *.* to 'owncloud'@'localhost' identified by '<password>'; 
mysql> grant all privileges on owncloud.* to 'owncloud'@'localhost';
mysql> flush privileges;
mysql> quit;

Konfiguration

Links

Zurück zu Ubuntu