Alma Linux 9.1,virtualmin,PostgreSQL,Nginx

Experimenting with the shiny new Alma Linux 9.1.

My VPS host only had 9.0 so do the upgrade
dnf clean all && dnf upgrade -y

dnf install glibc-all-langpacks
localectl set-locale LANG=en_GB.UTF-8
timedatectl set-timezone Europe/London

# install PostgreSQL
dnf install postgresql-server
postgresql-setup --initdb
systemctl start postgresql
systemctl enable postgresql

# Going to install Virtualmin as a control panel so need to set a root password for logging in
passwd

dnf install wget
wget https://software.virtualmin.com/gpl/scripts/install.sh
# If you want Nginx instead of Apache by default install LEMP
/bin/sh install.sh --bundle LEMP

Virtualmin should show you the URL for logging in with your root account.
Go through Post-Installation Wizard

Set Run MariaDB no
Set Run PostgreSQL database server? yes

Click Re-check and refresh configuration
Newer versions of PHP (8.1) and Ruby (3.1) are available
dnf install @php
dnf install @ruby