CentOS 7
Sponsored Link

Install NextCloud
Install NextCloud which is Cloud Storage Server.
[4] Install NextCloud.
# install from EPEL

[root@dlp ~]#
yum --enablerepo=epel -y install php-smbclient

[root@dlp ~]#
yum --enablerepo=epel -y install nextcloud
[root@dlp ~]#
vi /etc/httpd/conf.d/nextcloud.conf
# line 24: change (allow accesses from all)

<Directory /usr/share/nextcloud/>
    Include conf.d/nextcloud-auth-any.inc 

[root@dlp ~]#
systemctl restart httpd

[5] Create user and database for NextCloud 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 10
Server version: 5.5.52-MariaDB MariaDB Server

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 nextcloud;

Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]>
grant all privileges on nextcloud.* to nextcloud@'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)]>

[6] Access to the URL [http://(your hostname or IP address)/nextcloud/] 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] This screen is dispyaled at initial login.
[8] This is the NextCloud main page. It's possible to use NextCloud as cloud storage.
Matched Content