From 269529fb1e3366c999af61c029d8ce4d3181239d Mon Sep 17 00:00:00 2001 From: Steven Spencer Date: Thu, 13 Jan 2022 11:39:59 -0600 Subject: [PATCH 1/2] Nextcloud update * document was originally written to use the Remi repository, but with the PHP 7.4 module available under Rocky Linux, this is no longer required * changed to use the module for 7.4 * changed the packages, as the php names changed due to not using Remi and most are covered under either php-common or php-process --- .../cms/cloud_server_using_nextcloud.md | 37 +++++++------------ 1 file changed, 13 insertions(+), 24 deletions(-) diff --git a/docs/guides/cms/cloud_server_using_nextcloud.md b/docs/guides/cms/cloud_server_using_nextcloud.md index 284dc22655..0fe89b99a5 100644 --- a/docs/guides/cms/cloud_server_using_nextcloud.md +++ b/docs/guides/cms/cloud_server_using_nextcloud.md @@ -21,60 +21,49 @@ Nextcloud offers an open source cloud with security and flexibility in mind. Not ## Installing And Configuring Repositories -For this installation, we will require two repositories. We need to install the EPEL (Extra Packages for Enterprise Linux) and the Remi Repository for PHP 7.4 (version 7.3 or 7.4 is required and Rocky Linux provides 7.2.x). +For this installation, we need to install the EPEL (Extra Packages for Enterprise Linux). To install the EPEL run: `dnf install epel-release` -And then once installed, run an update to make sure you are at the very latest epel version: +And then once installed, run an update to make sure you are at the very latest EPEL version: `dnf update` -To install the Remi repository run: - -`dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm` - -Run the following to see a list of php modules that can be enabled: +Rocky Linux comes with PHP 7.2 enabled, but we need PHP 7.4. This is now a module. `dnf module list php` Which should give you output like this: ``` -CentOS Linux 8 - AppStream -Name Stream Profiles Summary -php 7.2 [d] common [d], devel, minimal PHP scripting language -php 7.3 common [d], devel, minimal PHP scripting language -php 7.4 common [d], devel, minimal PHP scripting language - -Remi's Modular repository for Enterprise Linux 8 - x86_64 -Name Stream Profiles Summary -php remi-7.2 common [d], devel, minimal PHP scripting language -php remi-7.3 common [d], devel, minimal PHP scripting language -php remi-7.4 common [d], devel, minimal PHP scripting language -php remi-8.0 common [d], devel, minimal PHP scripting language +Rocky Linux 8 - AppStream +Name Stream Profiles Summary +php 7.2 [d] common [d], devel, minimal PHP scripting language +php 7.3 common [d], devel, minimal PHP scripting language +php 7.4 common [d], devel, minimal PHP scripting language Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled ``` We want to grab the newest PHP that Nextcloud is compatible with, which at this moment is 7.4, so we will enable that module by doing: -`dnf module enable php:remi-7.4` +`dnf module enable php:7.4` -To see how this changes the output of the module list, run that command again and you will see the "[e]" next to remi-7.4: +To see how this changes the output of the module list, run that command again and you will see the "[e]" next to 7.4: `dnf module list php` And the output again is the same except for this line: -`php remi-7.4 [e] common [d], devel, minimal PHP scripting language` +`php 7.4 [e] common [d], devel, minimal PHP scripting language` ## Installing Packages -We need a lot of packages installed. Some of these may already be installed with your default Rocky Linux installation, but make sure by running the following command the following: +We need a number of packages installed. Some of these may already be installed with your default Rocky Linux installation, but make sure by running the following: -`dnf install httpd mariadb-server vim wget zip unzip libxml2 openssl php74-php php74-php-ctype php74-php-curl php74-php-gd php74-php-iconv php74-php-json php74-php-libxml php74-php-mbstring php74-php-openssl php74-php-posix php74-php-session php74-php-xml php74-php-zip php74-php-zlib php74-php-pdo php74-php-mysqlnd php74-php-intl php74-php-bcmath php74-php-gmp` +`dnf install httpd mariadb-server vim wget zip unzip libxml2 openssl php php-common php-gd php-json php-mbstring php-process php-xml php-zip php-pdo php-mysqlnd php-intl php-bcmath php-gmp` ## Configuring Packages And Directories From a4ca848a51cc803bb8127f8890f69fc3f9676d59 Mon Sep 17 00:00:00 2001 From: Steven Spencer Date: Thu, 13 Jan 2022 11:44:34 -0600 Subject: [PATCH 2/2] Nextcloud update meta * forgot to update meta --- docs/guides/cms/cloud_server_using_nextcloud.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/guides/cms/cloud_server_using_nextcloud.md b/docs/guides/cms/cloud_server_using_nextcloud.md index 0fe89b99a5..200d2da5e3 100644 --- a/docs/guides/cms/cloud_server_using_nextcloud.md +++ b/docs/guides/cms/cloud_server_using_nextcloud.md @@ -1,3 +1,10 @@ +--- +title: Cloud Server Using Nextcloud +author: Steven Spencer +contributors: Ezequiel Bruni +update: Jan-13-2022 +--- + # Cloud Server Using Nextcloud ## Prerequisites And Assumptions