WONCLOUD9:
Https://download.owncloud.org/community/owncloud-9.1.1.zip
Installing the configuration database
#yum Install Mariadb-server mariadb
# Systemctl Start mariadb
# Systemctl Enable MARIADB
# mysql_secure_installation
Installation configuration Apache server, PHP
# yum Install httpd
# Systemctl Start httpd
# Systemctl Enable
# yum Install Centos-release-scl-y
# yum Install php55 php55-php php55-php-gd php55-php-mbstring php55-php-mysqlnd-y
# cp/opt/rh/httpd24/root/etc/httpd/conf.d/php55-php.conf/etc/httpd/conf.d/
# cp/opt/rh/httpd24/root/etc/httpd/conf.modules.d/10-php55-php.conf/etc/httpd/conf.modules.d/
# cp/opt/rh/httpd24/root/etc/httpd/modules/libphp55-php5.so/etc/httpd/modules/
# systemctl Restart httpd
# Unzip Owncloud-9.1.1.zip
# ls
info.php owncloud Owncloud-9.1.1.zip
New Database
# mysql-u Root-h 127.0.0.1-p
MariaDB [(None)]> show databases;
MariaDB [(None)]> CREATE Database ocld;
Query OK, 1 row Affected (0.00 sec)
MariaDB [(None)]> show databases;
MariaDB [(none)]> quit;
Modify Directory Permissions
Reference "https://doc.owncloud.org/server/9.1/admin_manual/installation/installation_wizard.html# Setting-strong-directory-permissions "
#chown-R Apache:apache/var/www/html/owncloud
#chmod 0770 owncloud
You can find your HTTP user in your HTTP server configuration files. Or You can use PHP Version and Information(look for the user/group line).
- The HTTP user and group in Debian/ubuntu is
www-data
.
- The HTTP user and group in Fedora/centos is
apache
.
- The HTTP user and group in Arch Linux are
http
.
- The HTTP user
wwwrun
in OpenSUSE are, and the HTTP group is www
.
Install OWNCLOUD9 on CentOS7