9

电脑技术:CentOS上用x-ui搭建Trojan简明教程

 2 years ago
source link: https://www.taholab.com/26010
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

CentOS最简单,出问题情况最少,故选择CentOS。


第1步,将域名解析到服务器。

第2步,重置系统,需要崭新干净的系统,不易出错。

第3步,安装必须的运行环境包:

yum update -y
yum install -y curl
yum install -y socat

第4步,一键安装代码:

bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

第5步,输入x-ui,申请SSL,得到证书文件,找到文件路径。这期间需要cloudflare的API以及cloudflare的账户邮箱。API获取位置见下面两图。证书位置见第3图。

2023-01-15_143130.jpg

2023-01-15_143035.jpg

2023-01-15_143458.jpg

第6步,进入x-ui面板,添加节点,输入域名,cer路径和key路径

2023-01-15_143617.jpg

参考文章:

X-ui:支持多协议多用户的 xray 面板

</div


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK