搭建MTProto教程

in #mtproto5 years ago

搭建MTProto教程

部署服务器

如果你是mac系统,打开终端(Terminal),输入ssh root@ip其中“ip”替换成你VPS的ip, 按回车键,然后复制粘贴vps的密码,按回车键即可登录。粘贴密码时不会显示密码;

如果遇到WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!,则输入ssh-keygen -R "you server hostname or ip"

接下来分享一段一键部署服务器的代码,是中文版的,功能很强大,推荐大家使用;
斜体加粗部分为代码,大家直接全部复制,然后按回车键;

##一键部署MTproto代码
wget -N --no-check-certificate https://attachment-1251912510.cos.ap-shanghai.myqcloud.com/mtproxy_go.sh && chmod +x mtproxy_go.sh && bash mtproxy_go.sh
##备用下载地址:
wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/mtproxy_go.sh && chmod +x mtproxy_go.sh && bash mtproxy_go.sh

安装成功之后显示如下图,如果下次还想调出此界面,输入 bash mtproxy_go.sh

Sort:  

Congratulations @meks! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

Click here to view your Board

Support SteemitBoard's project! Vote for its witness and get one more award!

Hello @meks! This is a friendly reminder that you have 3000 Partiko Points unclaimed in your Partiko account!

Partiko is a fast and beautiful mobile app for Steem, and it’s the most popular Steem mobile app out there! Download Partiko using the link below and login using SteemConnect to claim your 3000 Partiko points! You can easily convert them into Steem token!

https://partiko.app/referral/partiko