Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md « centos - github.com/nextcloud/server-packages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 020b396916799a5adca13bf7347c7be35db0ce20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Nextcloud
=========


End of Life Notice
------------------
NextCloud 14 is stated to be End of Life as of September 2019

Past the EoL date there will no longer be security or maintenance fixes
provided.  It is important to plan accordingly.

Also NextCloud does not support skipping major versions.  To keep the
database schema current, it is important to run the upgrade (such as 
through the OCC CLI) for each major version.


About
-----

This repository can be used to build a very basic RPM suited for CentOS 7.
It uses Apache 2.4 with PHP-FPM to avoid conflicts with existing 
PHP 5.4 applications.  This also allows running Apache with a 
multi-threaded MPM while using mod_php a multi-threaded MPM is 
not recommended.

The package has been built following official Nextcloud documentation and
guidelines about strong directory permissions. See: https://docs.nextcloud.org/
and https://help.nextcloud.com if you get in trouble.

After the installation, the administrator should take care of the following:

* check Apache configuration and restart the httpd daemon
* if needed, install and configure MariaDB/MySQL database
* configure Nextcloud following the official documentation


Building RPM
------------

Before building the RPM, you should make sure that rpm-build and
rpmdevtools packages are installed.  This can be done by running:

  yum -y install rpm-build rpmdevtools

Then download the required source files by running:

  spectool -g -R nextcloud.spec

And finally building the nextcloud RPM by running:

  rpmbuild -bb nextcloud.spec


Dependencies
------------

The following dependencies are installed:

* Apache HTTP server
* PHP required packages (from SCL)
* PHP recommended packages (php-intl)
* PHP packages for builtin apps (php-ldap)
* PHP packages for MariaDB/MySQL connection

You need to enable EPEL and SCL repositories.

On CentOS this can be done by running:

  yum -y install epel-release centos-release-scl

On Red Hat Enterprise Linux run:

  yum -y install epel-release
  yum-config-manager --enable rhel-server-rhscl-7-rpms

The administrator can enable extra features installing following RPMs 
(from centos-sclo-sclo repository):

* sclo-php71-php-smbclient
* rh-php71-php-imap


SELinux
-------

It's all on your own, please follow official documentation if you have 
SELinux enabled (which is the default on CentOS 7).


Alternatives RPMs
-----------------

If PHP-FPM doesn't fit your environment, please see also @mbevc1 packages:

https://github.com/mbevc1/nextcloud