Welcome to the Community,
rather than installing ESXi directly on hardware, I'd recommend you consider to create a virtual lab which lets you setup multiple hosts, vCenter Server , ...
Take a look at e.g. Building the Ultimate vSphere Lab for how this can be done (including recommendations for hardware).
André