Install OWNCLOUD9 on CentOS7

Source: Internet
Author: User
Tags owncloud arch linux

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.