Updated Installation (markdown)

master
Martin Kruliš 2 years ago
parent be74f247ed
commit 5857ae73e8

@ -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 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). 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: install the following:
* Apache 2.4 (httpd service), configure it, install SSL certificates, and open * Apache 2.4 (httpd service), configure it, install SSL certificates, and open
firewall for HTTPS firewall for HTTPS
* MariaDB (10.3 or newer); it is also recommended to secure the DB properly * MariaDB (10.3 or newer); it is also recommended to secure the DB properly
(set root password etc.) (set root password etc.)
* PHP 7.4 (7.3 is no longer supported and we have not fixed issues of PHP 8.x yet) * PHP 8.1 (older versions are no longer supported)
* Node.js 12.x or newer (14.x recommended, 16.x not working yet) * Node.js 18.x
A few tips for installing the database: A few tips for installing the database:
``` ```
@ -53,13 +53,13 @@ GRANT ALL PRIVILEGES ON `recodex`.* TO 'recodex'@'localhost';
Configuring the PHP repository: Configuring the PHP repository:
``` ```
# dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-8.rpm # 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: Installing Node.js:
``` ```
# dnf -y install curl # 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 # dnf -y install nodejs
``` ```
@ -600,12 +600,12 @@ you have already done this).
``` ```
# dnf -y install curl # 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 # dnf -y install nodejs
``` ```
You may check the right version is installed by typing `node -v`, which should 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 #### PHP
@ -615,7 +615,7 @@ you have already done this).
``` ```
# dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-8.rpm # 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 # dnf install php-cli
``` ```

Loading…
Cancel
Save