How to setup hardware environment