ronny I heavily recommend you to implement aaPanel in CentOS 8 instead of ubuntu. In my case, I faced several issues trying to install everything in Ubuntu.
I'm completely new in regards to CentOS but there is no much to deal with it since aaPanel can be installed just with few commands. Everything else can be handled through the aaPanel interface once it's running.
Believe me, you will avoid a headache.
Also, you should use the one-click to install the whole environment, it's shown the first time when aaPanel loads letting you choose between LAMP and LNMP. If you close that and try to install everything one by one (I mean Apache/Nginx, MySQL, PHP, etc) you probably will face some issues that will need manual intervention.
FYI, I'm not an experienced aaPanel user, but that's how I had a production server running in less than 24 hours