ownCloudの設定
/var/www/owncloud/config/config.php に、以下のように設定します。
'trusted_domains' => array ( 0 => 'localhost', 1 => '192.168.10.8', 2 => '192.168.10.13', ),
メンテナンスモードからの復帰は以下のようにします。
'maintenance' => false,
ownCloud 用のユーザーとデータベースを MariaDB に登録します。 |
root@dlp:~#
mysql -u root -p
Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 40 Server version: 10.0.25-MariaDB-0ubuntu0.16.04.1 Ubuntu 16.04 Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> create database owncloud;
Query OK, 1 row affected (0.00 sec) MariaDB [(none)]> grant all privileges on owncloud.* to owncloud@'localhost' identified by 'password';
Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> exit
Bye |
Views: 43