For this you have to have ssh access configured and host setted up. Also you have to have credentials to the mysql database connection and database where will be intalles test tables.
Once you have all setted up and ready connect to your website using ssh and open your website root folder (usually its public_html or www).
Then launch one by one commands below.