Juanga's Setup scripts for Enterprise Rocky Linux 9
This is a list of procedures that I have done under Red Hat Enterprise Linux 9
A minimal, updated installation of EL 9, takes 2.6 GB as of 2024-07-27
After installing the described stuff, OS takes > 5 GB
Disable SELINUX
Setup datetime sync
Setup nano text editor
Setup SSH login hardening
Setup banner for SSH login
Setup CSF firewall (with iptables instead of firewalld)
Setup lighttpd web server
Build from sources
With unix-sockets for HAProxy (localhost only)
With HTTP/2 and gzip/brotli compression
With maxminddb, a module for fast ip/location lookups,
Setup PHP 8
Setup Redis
Setup MariaDB 11.x
Setup HAProxy 3.0.x
Build from sources
for SSL offloading
for micro-cache
With unix-sockets for lighttpd
As envelope for Basic auth
with TLS v1.3 (faster and more secure than 1.2)
with QUIC (HTTP/3)
Setup certbot for getting SSL through Let's Encrypt
Tweak sysctl configuration
Tweak server limits
Setup BEANSTALKD jobqueue
Setup ReaR (Relax and Recover) for creating bare-metal ISO backups
Setup rsnapshot for backups
Setup lsyncd for mirroring (almost real-time)