From 5857ae73e80055823f5970ccfa999266eafa93f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kruli=C5=A1?= Date: Wed, 28 Sep 2022 13:34:20 +0200 Subject: [PATCH] Updated Installation (markdown) --- Installation.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Installation.md b/Installation.md index b0067f0..f9b734a 100644 --- a/Installation.md +++ b/Installation.md @@ -28,14 +28,14 @@ use ACLs unless you explicitly disable them. However, if you are using more obscure FS, make sure ACLs are in place (ReCodEx will work without ACLs, but all recodex-core CLI commands would have to be executed under `apache` user). -After minimal installation of CentOS 8 (with enabled EPEL and Power Tools repos) +After minimal installation of CentOS 8 compatible system like Alma or Rocky (with enabled EPEL and Power Tools repos) install the following: * Apache 2.4 (httpd service), configure it, install SSL certificates, and open firewall for HTTPS * MariaDB (10.3 or newer); it is also recommended to secure the DB properly (set root password etc.) -* PHP 7.4 (7.3 is no longer supported and we have not fixed issues of PHP 8.x yet) -* Node.js 12.x or newer (14.x recommended, 16.x not working yet) +* PHP 8.1 (older versions are no longer supported) +* Node.js 18.x A few tips for installing the database: ``` @@ -53,13 +53,13 @@ GRANT ALL PRIVILEGES ON `recodex`.* TO 'recodex'@'localhost'; Configuring the PHP repository: ``` # dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-8.rpm -# dnf module enable php:remi-7.4 +# dnf module enable php:remi-8.1 ``` Installing Node.js: ``` # dnf -y install curl -# curl -sL https://rpm.nodesource.com/setup_14.x | bash - +# curl -sL https://rpm.nodesource.com/setup_18.x | bash - # dnf -y install nodejs ``` @@ -600,12 +600,12 @@ you have already done this). ``` # dnf -y install curl -# curl -sL https://rpm.nodesource.com/setup_14.x | bash - +# curl -sL https://rpm.nodesource.com/setup_18.x | bash - # dnf -y install nodejs ``` You may check the right version is installed by typing `node -v`, which should -report version of Node.js (starting with 14). +report version of Node.js (starting with 18). #### PHP @@ -615,7 +615,7 @@ you have already done this). ``` # dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-8.rpm -# dnf module enable php:remi-7.4 +# dnf module enable php:remi-8.1 # dnf install php-cli ```