Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorial:adm:server_preparation [2022/03/21 12:59] fiserp [Basic system setup] |
tutorial:adm:server_preparation [2024/01/10 10:35] koulaj [Java - CentOS8] |
||
---|---|---|---|
Line 11: | Line 11: | ||
* It is possible to use Debian (we tested on Stretch) or other distributions, | * It is possible to use Debian (we tested on Stretch) or other distributions, | ||
* PostgreSQL 12.x - installed from OS packages. | * PostgreSQL 12.x - installed from OS packages. | ||
- | * Java 11 - installed from OS packages. | + | * Java 11 (Java 21 for CzechIdM 13.1.0+) |
* Apache Tomcat 9.0.x - installed manually into ''/ | * Apache Tomcat 9.0.x - installed manually into ''/ | ||
* Apache HTTPd 2.4.x - installed from OS packages. Can be replaced by nGinx. | * Apache HTTPd 2.4.x - installed from OS packages. Can be replaced by nGinx. | ||
Line 223: | Line 223: | ||
</ | </ | ||
+ | |||
+ | For CzechIdM 13.1.0+: | ||
+ | |||
+ | < | ||
+ | dnf install -y java-21-openjdk-headless java-21-openjdk-devel | ||
+ | |||
+ | </ | ||
+ | |||
===== Tomcat ===== | ===== Tomcat ===== | ||
Line 397: | Line 405: | ||
<user username=" | <user username=" | ||
</ | </ | ||
+ | |||
</ | </ | ||
Line 413: | Line 422: | ||
| | ||
</ | </ | ||
+ | |||
</ | </ | ||
Line 420: | Line 430: | ||
<code bash> | <code bash> | ||
systemctl restart tomcat | systemctl restart tomcat | ||
+ | |||
</ | </ | ||
Line 431: | Line 442: | ||
<code bash> | <code bash> | ||
rm -rf / | rm -rf / | ||
+ | |||
</ | </ | ||
Line 439: | Line 451: | ||
<code xml> | <code xml> | ||
<Server port=" | <Server port=" | ||
+ | |||
</ | </ | ||
Line 481: | Line 494: | ||
< | < | ||
</ | </ | ||
+ | |||
</ | </ | ||
Line 486: | Line 500: | ||
=== Rotating Tomcat logs === | === Rotating Tomcat logs === | ||
- | Default Tomcat logger | + | Default Tomcat logger |
<file txt tomcat> | <file txt tomcat> | ||
Line 498: | Line 512: | ||
compress | compress | ||
} | } | ||
+ | |||
</ | </ | ||
Line 519: | Line 534: | ||
</ | </ | ||
+ | |||
====== Apache httpd as a reverse proxy ====== | ====== Apache httpd as a reverse proxy ====== |