Hi
I would recommend you to give openlitespeed 1 click script a try which is similar to the LAMP stack, https://openlitespeed.org/kb/1-click-install/
You can also try https://docs.litespeedtech.com/cloud/images/ from marketplace.
Then remove the wordpress, install Mautic, and it should...