trojan搭建
主要参考
配置域名(freenom和cloudfare相关的设置)
主要配置freenom即可,注意trojan不应该设置cloudfare:
centos安装依赖:unzip, zip, gcc, wget, curl
yum install curl wget
还要注意安装yum utils
参考 yum中途中断There are unfinished transactions remaining. You might consider running yum-complete-tra)
yum install yum-utils
yum clean all
yum-complete-transaction –cleanup-only
安装魔改bbr(如果是cloudcone的centos7.5版本可以跳过此步,这个rom默认开启bbr)
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
一键安装
atrandys大神的一键安装
具体的脚本可以去github切换至origin分支查看,下面这个是支持多系统的
curl -O https://raw.githubusercontent.com/atrandys/trojan/master/trojan_mult.sh && chmod +x trojan_mult.sh && ./trojan_mult.sh
Jrohy大神的一键安装+网页前端管理用户
#安装/更新
source <(curl -sL https://git.io/trojan-install)
#卸载
source <(curl -sL https://git.io/trojan-install) --remove
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.