Guides 11795 Published by Philipp Esselbach 0

The guide walks readers through installing Java on CentOS 9 Stream with minimal fuss, starting by checking the current installation and explaining why the default OpenJDK 11 may not suffice for modern applications. It then shows how to pull the latest LTS release of OpenJDK via dnf, switch between multiple Java versions using alternatives, and optionally configure environment variables in the user’s shell profile so JAVA_HOME is always set. For teams that require Oracle’s official distribution, step‑by‑step instructions are provided to download, unpack, link, and activate the JDK under /opt while ensuring it appears in the alternatives system. A concise troubleshooting section covers common errors such as missing executables, version mismatches after updates, and SELinux restrictions, and the final recap table distills the essential commands into a quick reference for busy developers.

Guides 11795 Published by Philipp Esselbach 0

This guide shows how to install the newest Go release on Debian 11 without relying on the outdated `apt` packages. It walks through removing old Go installs, downloading the official tarball from go.dev, extracting it into `/usr/local`, and appending that directory to your shell’s PATH so the compiler can be found. After verifying the version with `go version`, you can optionally create a GOPATH workspace in `~/go/src` for legacy tools and run a simple “Hello world” program to confirm everything works, even suggesting a `go mod init` if modules are needed. Finally, it recommends deleting the downloaded tarball to keep the system tidy and encourages users to enjoy coding with the latest features of Go on a lean Debian 11 setup.

Guides 11795 Published by Philipp Esselbach 0

The guide walks you through installing ModSecurity 3 on a fresh Ubuntu 22.04 system by first updating the OS, installing required build tools, cloning the ModSecurity source, and compiling it into /usr/local/modsecurity. It then shows how to download Nginx’s source, add the ModSecurity‑nginx connector as a dynamic module during configuration, compile Nginx, and install it with the appropriate paths. After installation you create a small module‑loading snippet, place the core ModSecurity configuration (including SecRuleEngine On), and enable the WAF in any server block via modsecurity on; modsecurity_rules_file directives. Finally, you restart Nginx, verify operation by checking error and audit logs, and optionally tune performance, rule sets, or set up automatic CRS updates.

Guides 11795 Published by Philipp Esselbach 0

On Ubuntu 22.04 the article explains how ZRAM compresses memory pages into a RAM‑based swap device, cutting disk I/O and keeping systems responsive when RAM is limited. It walks through installing zram-tools instead of the older zram-config package, then shows how to write a small config file that sets the swap size and create a systemd unit so it starts automatically on boot. The guide also provides commands for verifying that ZRAM is active and illustrates real‑world scenarios where an unexpected driver update caused heavy swapping until compression was enabled. Finally, it lists situations in which ZRAM offers little benefit, such as already fast NVMe storage or very low memory systems, reminding readers to evaluate whether the extra overhead outweighs its advantages.