mtg-dist
Binary dist script for mtg ( https://github.com/9seconds/mtg ).

Note
Update: mtg 1.0+ support MTProto2.0, this script will choose the FakeTLS mode to serve by default. Re-run the install script to upgrade to the latest version. By upgrading to MTProto2.0, the secret would starts with ee, please be noticed.

Install
bash <(wget -qO- https://git.io/mtg.sh)
Uninstall
systemctl stop mtg && systemctl disable mtg
rm -f /usr/local/bin/mtg /lib/systemd/system/mtg.service /etc/mtg.conf
Compile
The binary bin/mtg is directly compile from mtg repo. It's for linux/amd64 only.

./makebin.sh builds self-extract script using makeself.

Last modification:March 24th, 2021 at 08:56 pm
如果觉得我的文章对你有用,请随意赞赏