OwnCloud/Installation

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "OwnCloud Installation =Requirements= LAMP stack. *MariaDB 10+ *httpd 2.4+ with prefork and mod_php *PHP 7.4+ *512MB RAM =Prerequisites= <nowiki>~$ ...")
 
(Setup MariaDB)
Line 20: Line 20:
  
 
=Setup MariaDB=
 
=Setup MariaDB=
  <nowiki>~$ service mariadb start
+
  <nowiki>~$ systemctl start mariadb.service
 
~$ mysql_secure_installation
 
~$ mysql_secure_installation
 
~$ sudo mysql -u root -p
 
~$ sudo mysql -u root -p

Revision as of 23:40, 16 April 2021

OwnCloud Installation

Contents

 [hide

Requirements

LAMP stack.

  • MariaDB 10+
  • httpd 2.4+ with prefork and mod_php
  • PHP 7.4+
  • 512MB RAM

Prerequisites

~$ sudo yum install -y epel-release
~$ sudo yum install -y httpd mariadb-server php php-gd php-intl php-mbstring php-process php-xml

Setup Repo

~$ sudo rpm --import https://download.owncloud.org/download/repositories/stable/CentOS_7/repodata/repomd.xml.key
~$ sudo curl -L https://download.owncloud.org/download/repositories/stable/CentOS_7/ce:stable.repo -o /etc/yum.repos.d/ownCloud.repo
~$ sudo yum clean expire-cache

Install OwnCloud

~$ sudo yum install -y owncloud

Setup MariaDB

~$ systemctl start mariadb.service
~$ mysql_secure_installation
~$ sudo mysql -u root -p
mariadb> CREATE DATABASE owncloud;
mariadb> GRANT ALL ON owncloud.* to 'owncloud'@'localhost' IDENTIFIED BY 'set_database_password';
mariadb> FLUSH PRIVILEGES;
mariadb> exit

Configure OwnCloud using the GUI

https://fqdn/owncloud

Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki