Guides 11792 Published by Philipp Esselbach 0

The article explains how to set up Apache Tomcat 10 on Ubuntu 21, focusing on a clean, modern installation that avoids common pitfalls such as outdated Java versions and permission issues. It walks readers through installing OpenJDK 17, creating a dedicated non‑root tomcat user, downloading the binary from Apache mirrors, and extracting it into /opt/tomcat while stripping the top‑level folder for cleanliness. After setting proper ownership and permissions, the guide creates a systemd service file that specifies Java home, PID location, and startup/shutdown scripts, then reloads systemd, enables, and starts the service. Finally it shows how to verify the server is running with a curl request, offers optional hardening tips for exposed deployments, and demonstrates deploying a WAR file into the webapps directory to get a working application up on localhost.

Guides 11792 Published by Philipp Esselbach 0

This quick‑start guide shows how to expose a CentOS 8 database with Oracle Application Express by installing APEX and ORDS without the usual headaches. It walks you through preparing the system, installing Java 11, grabbing the Instant Client, unzipping ORDS, running its wizard to create a data source and schema, and then setting up Apache as a reverse proxy for the Jetty server that ships with ORDS. After that it installs APEX into the new schema, verifies access via a browser URL, and lists common pitfalls such as wrong Java versions or missing Oracle HOME variables. Finally it offers optional hardening steps like enabling SELinux policies and creating a systemd service so that ORDS restarts automatically after reboots or crashes.

Guides 11792 Published by Philipp Esselbach 0

Here’s a concise walkthrough for setting up the ProFTPD FTP server on CentOS 8 or Rocky 8, starting with enabling EPEL and AppStream repositories before installing the package via dnf. The guide then shows how to enable and start the systemd service, open firewalld for port 21, edit /etc/proftpd.conf for anonymous access, passive ports, and logging, and reload the daemon afterward. A section demonstrates creating a dedicated FTP user with proper directory permissions and checking SELinux contexts if needed, followed by instructions for testing connectivity from another machine. Finally, it offers optional TLS configuration steps, including installing mod_tls and configuring certificates so that secure file transfers can be established.

Guides 11792 Published by Philipp Esselbach 0

The article explains the subtle but important distinction between invoking su with or without a dash, highlighting how the dash signals a login session that resets the environment variables. It outlines that running plain su preserves the current PATH and HOME, which can be handy for quick privileged actions but risky if legacy libraries are inadvertently used. A real‑world anecdote shows an administrator accidentally executing a script under their own path, causing a crash, whereas using  su – would have loaded root’s clean environment instead. Finally, the piece offers clear commands and warnings about common pitfalls, urging readers to experiment on a test VM to see how switching between these two forms can prevent accidental system damage.

Guides 11792 Published by Philipp Esselbach 0

This guide walks you through installing YOURLS on CentOS 8, beginning with updating the system and setting up a LAMP stack that includes Apache, PHP, and MariaDB. It then covers securing the database, creating a dedicated user and database for YOURLS, and cloning the application into Apache’s web root while carefully configuring ownership and permissions so the server can write cache files without exposing too much access. Next, you rename the sample configuration file, adjust the site URL and database credentials, create an Apache virtual host pointing to the YOURLS public directory, and finally complete the setup by running the web wizard that verifies the database connection and creates an admin account. The article wraps up with practical post‑install tweaks such as enabling PHP error logging, protecting the admin area with Basic Auth, and backing up the database regularly to keep your link shortener secure and reliable.

Guides 11792 Published by Philipp Esselbach 0

The guide walks through installing DRBD on two CentOS 8 nodes so that MySQL writes are mirrored across a networked block device, offering near‑zero downtime when one machine crashes. It details the prerequisite checklist, package installation, LVM thin pool configuration, and the creation of a DRBD resource with synchronous C protocol to keep data identical on both sides. After formatting and mounting the replicated volume at /var/lib/mysql, the tutorial shows how to point MySQL to it, verify synchronization status, and manage failover by promoting the surviving node as primary. The post also warns against common mistakes such as mis‑choosing the protocol or mismatched disk sizes, while giving optional tuning tips for read‑heavy workloads.