Install MongoDB on virtual machine (bare metal hypervisor)


I am currently trying to install MongoDB 6 on an Ubuntu guest machine.
It is a bare metal hypervisor (running Ubuntu) and the virtualisation is handled by QEMU.

I’ve read here that there is an issue (mine is the “core dump” issue), and that there are some workarounds, but I am not sure how to implement these.
Could anyone point me in the right direction (I’ve not found any clear instructions in how to do this)?

My concern also, is that I won’t be able to install Mongo on a VPS, due to these restrictions.