NextCloud on CentOS

1. install and start the apache server

2. install php

3.set the php memory limit

4. enable php cache

5. install the database server

6.configure the mariadb server

7. create the database

8. install redis

9. download the nextcloud, check the checksum and install it

10. set the SELinux contexts

11. define the apache virtual host for service

12. install the certboot

13. enable firewall

14. generate the certificate