Install Almalinux 8

installimage

Choose
AlmaLinux 8 64-bit

RAID 1 = 1/2 DISK OR RAID 0 = FULL DISK
  • Use Software RAID 1
  • Select both SSDs: /dev/nvme0n1 and /dev/nvme1n1
Use this Partition Layout: (Or leave default)

DRIVE1 /dev/nvme0n1
DRIVE2 /dev/nvme1n1
SWRAID 1
SWRAIDLEVEL 1
BOOTLOADER grub
HOSTNAME your.hostname.com

PART swap swap 32G
PART /boot ext4 1024M
PART / ext4 all

Use F10 or Ctrl+X, then Y, Enter to install. Reboot reboot Creating WHM Mysql Profile
ssh root@your-server-ip

mkdir -p /root/cpanel_profile
nano /root/cpanel_profile/cpanel.config

Add this line:
mysql-version=8.0

Ctrl + X, then Y, then Enter 

Install WHM/Cpanel 
cd /home
curl -o latest -L https://securedownloads.cpanel.net/latest
sh latest --profile=/root/cpanel_profile

Confirm the version: 
mysql -V