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.
555
555
555