Install ownCloud2016/06/19 |
Install ownCloud which is Cloud Storage Server.
|
|
[1] | |
[2] | |
[3] | |
[4] | Install ownCloud. |
root@dlp:~# wget https://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/Release.key root@dlp:~# apt-key add Release.key OK
root@dlp:~#
vi /etc/apt/sources.list.d/owncloud.list create new deb http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/ /
root@dlp:~#
vi /etc/apache2/conf-available/owncloud.conf create new (set access permission on "Require" line) Alias /owncloud /var/www/owncloud <Directory /var/www/owncloud> Require ip 127.0.0.1 10.0.0.0/24 </Directory> a2enconf owncloud root@dlp:~# systemctl restart apache2 |
[5] | Add user and database for ownCloud in 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)]>
MariaDB [(none)]> flush privileges; Query OK, 0 rows affected (0.00 sec) exit Bye |
[6] | Access to the URL "http://(your hostname or IP address)/owncloud/" from a client computer with Web browser. Then following screen is shown. Add an admin account for ownCloud, and also click "MySQL/MariaDB" in database section and input username or database name for MariaDB. If it's OK all, Click "Finish Setup" to proceed. |
[7] | Welcome is shown like follows if connection info to Database is correct one. |
[8] | This is ownCloud main page. It's possible to use ownCloud as cloud storage. |
Sponsored Link |