Owncloud installieren: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 5: | Zeile 5: | ||
mysql -u root -p | mysql -u root -p | ||
mysql> create database if not exists <database name>; | mysql> create database if not exists <database name>; | ||
create user 'onwcloud'@'%' identified by '<password>'; | mysql> create user 'onwcloud'@'%' identified by '<password>'; | ||
grant usage on *.* to 'owncloud'@'%' identified by '<password>'; | mysql> grant usage on *.* to 'owncloud'@'%' identified by '<password>'; | ||
grant all privileges on owncloud.* to 'owncloud'@'%'; | mysql> grant all privileges on owncloud.* to 'owncloud'@'%'; | ||
create user 'onwcloud'@'localhost' identified by '<password>'; | mysql> create user 'onwcloud'@'localhost' identified by '<password>'; | ||
grant usage on *.* to 'owncloud'@'localhost' identified by '<password>'; | mysql> grant usage on *.* to 'owncloud'@'localhost' identified by '<password>'; | ||
grant all privileges on owncloud.* to 'owncloud'@'localhost'; | mysql> grant all privileges on owncloud.* to 'owncloud'@'localhost'; | ||
flush privileges; | mysql> flush privileges; | ||
mysql> quit; | |||
</pre> | </pre> | ||
Version vom 10. April 2016, 09:33 Uhr
Installation
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