Binary dist script for mtg ( https://github.com/9seconds/mtg ).
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.
bash <(wget -qO- https://raw.githubusercontent.com/lynkco01/mtg-dist/master/install.sh)
systemctl stop mtg && systemctl disable mtg
rm -f /usr/local/bin/mtg /lib/systemd/system/mtg.service /etc/mtg.conf
The binary bin/mtg
is directly compile from mtg repo. It's for linux/amd64
only.
./makebin.sh
builds self-extract script using makeself
.