Static Ip Adress on VM?

Im new to Home Assistant.
Actually am running it as a VM on VMWare.
But how can I change the IP configuration from DHCP to a static address?
I found some guides here in the forums, but none of these guides seems to work.
Thanks a lot!