How to Mine Zcash on Amazon EC2

@Austin-Williams can you please help me use xenoncat solver like here: https://forum.zcashcommunity.com/t/xenoncats-solver-integrated-into-nheqminer/ ?
What commands should I change in your guide ?

Thank you anyway for your help