First download the ngrok client : http://ngrok.ciqiuwl.cn/
Create a new folder mkdir /usr/local/xiaomiqiu on Linux
Then unzip the file to that directory and rename it
Go to the ngrok directory cd ngrok
Grant execution authorization chmod a+x ngrok
Then execute ./ngrok -config=ngrok .cfg -subdomain xxx 80 xxx is the prefix you mapped, and 80 is the port you mapped.