思绪的空中生活

telegram代理服务器安装mtproto
mt工具箱里的科学上网不智能,gfwlist模式很多网站都无效,暂时没找到解决办法。最近开始用的telegram也...
扫描右侧二维码阅读全文
23
2018/09

telegram代理服务器安装mtproto

mt工具箱里的科学上网不智能,gfwlist模式很多网站都无效,暂时没找到解决办法。最近开始用的telegram也不能愉快的聊天,有现成工具就搭了个mtproto

逗逼一键脚本

#CentOS 7 / Debian 7+ / Ubuntu 14.04 + 
wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/mtproxy.sh && chmod +x mtproxy.sh && bash mtproxy.sh

阿里云centos7亲测失败,顺便贴个错误日志,Debian8成功安装

[信息] 开始安装/配置 依赖...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No packages marked for update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package 1:openssl-devel-1.0.2k-12.el7.x86_64 already installed and latest version
Package zlib-devel-1.2.7-17.el7.x86_64 already installed and latest version
Package git-1.8.3.1-14.el7_5.x86_64 already installed and latest version
Package net-tools-2.0-0.22.20131004git.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update
cp: ‘/usr/share/zoneinfo/Asia/Shanghai’ and ‘/etc/localtime’ are the same file
[信息] 开始下载/安装...
Cloning into 'MTProxy'...
remote: Enumerating objects: 183, done.
remote: Total 183 (delta 0), reused 0 (delta 0), pack-reused 183
Receiving objects: 100% (183/183), 293.80 KiB | 281.00 KiB/s, done.
Resolving deltas: 100% (74/74), done.
cc  -O3 -std=gnu11 -Wall -mpclmul -march=core2 -mfpmath=sse -mssse3 -fno-strict-aliasing -fno-strict-overflow -fwrapv -DAES=1 -DCOMMIT=\"f9158e3129efd4ccdc291aefb840209791226a77\" -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -iquote common -iquote . -c -MP -MD -MF dep/mtproto/mtproto-proxy.d -MQ objs/mtproto/mtproto-proxy.o -o objs/mtproto/mtproto-proxy.o mtproto/mtproto-proxy.c
make: cc: Command not found
make: *** [objs/mtproto/mtproto-proxy.o] Error 127
[错误] MTProxy 编译失败!
另外,如果在上面几行看到 xxxxx option "-std=gnu11" 字样,说明是系统版本过低,请尝试更换系统重试!
rm -rf objs dep objs/bin || true

image

参考:https://doub.io/shell-jc7/

相关文章:

  • Padavan开启frp
  • DigitalOcean使用587端口通过gmail发邮件
  • 华文电视-中港澳台海外直播app
  • 将telegram IP添加到gfwlist中
  • 小米路由器r2d配置v2ray
  • Last modification:September 23rd, 2018 at 06:20 pm
    If you think my article is useful to you, please feel free to appreciate

    2 comments

    1. 梓梓梓蓝

      make: cc: Command not found 说明你没安装 gcc

      执行 yum install gcc -y 就可以了。

      1. 思绪的空中生活
        @梓梓梓蓝

        感谢,解决问题了。
        https://t.me/proxy?server=47.88.223.151&port=25534&secret=dd840c17efdbc9a7cd5a32a05e94128135

    Leave a Comment