1.同步时间
CentOS 7
yum install -y ntpsystemctl enable ntpdntpdate -q 0.rhel.pool.ntp.orgsystemctl restart ntpd
Debian 9 / Ubuntu 16
apt-get install -y ntpsystemctl enable ntpsystemctl restart ntp
或者(时间同步为上海)
rm -rf /etc/localtimeln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtimentpdate time.nist.gov
2.一键安装
mkdir /home/mtproxy && cd /home/mtproxycurl -s -o mtproxy.sh https://raw.githubusercontent.com/ellermister/mtproxy/master/mtproxy.sh && chmod +x mtproxy.sh && bash mtproxy.sh