This guide is for home/hobby users. There is settings here not optimal for a production environment.
Add kernel parameter to enable cgroup v1
edit /etc/default/grub
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=0"
Turn off mitigations kernel parameter (optional:performance over security)
edit /etc/default/