We have Mattermost running on Debian 7 in a VM on ESXi
For Mattermost there is really no difference whether the underlying OS is installed on physical hardware directly or on virtualized hardware.
If you have questions regarding installation / operation of ESXi am afraid this is not the best place for that.
Let me know if I can help you any further.