NextCloud is an open-source, file sharing, and collaboration platform that lets you store your files and access them on multiple devices such as PCs, smartphones, and tablets.As an interactive self-service platform like DropBox, we allow you to actively participate in various projects, manage your calendar, send and receive emails, and make video calls.
For Installing Nextcloud, its crucial ensure that LAMP is already installed in your centos 8 & php version is atleast php 7.2
LAMP is short form of Linux, Apache, Mariadb & php.
Step 1: Install Additional PHP Modules
Step 2: Create a NextCloud Database
Login as a root user to MySQL console and create a new database for Nextcloud.
Step 3 : Install NextCloud on CentOS 8
Unzip file to the /var/www/html/ path –
Create a directory to store the admin user data
Modify nextcloud’s directory permissions, so the Apache users can append data into it.
Step 4 : Setting Up SELinux and Firewall for NextCloud
To allow external users to access NextCloud from your server, you need to open the webserver port 80 :
Step 5 : Test the installation
Open your browser & type your server-ip-address as shown below: