当前位置:网站首页>Use ECs to set up an agent
Use ECs to set up an agent
2022-07-06 22:33:00 【User 6256742】
do not know why Github、MDN And other websites are gradually added GFW The list of , Buy outside V** The service has gradually become unstable . Therefore, for those who often use overseas services for study and work , It is very necessary to use ECs to build an agent . This article uses x-ui Set the proxy on the ECS .
Port open
First , We need to open all ports in the security group provided by the cloud service provider
Take Alibaba cloud as an example , Tencent and other cloud servers are similar
Be careful : If you use the pagoda Linux The panel needs to open the port in the security .
Program installation
Use Xshell Tools , pagoda Linux Just use the terminal in
Run the following commands in sequence :
CentOS:
yum update -y
yum install -y curl
yum install -y socat
Ubuntu:
apt update -y
apt install -y curl
apt install -y socat
Run... When finished :
bash <(curl -Ls https://raw.githubusercontent.com/sprov065/x-ui/master/install.sh)
The installer will start automatically after ( It will take some time ), And because the download source is GitHub Therefore, the download may fail . It is recommended not to download at night , And I tried many times after the download failed .
After successful installation, you will be asked to set the corresponding IP Port number , And the account and password used for login of the management system .
If the port number you set is 4567, Yours IP yes 11.11.11. Then use after the program is set 11.11.11:4567 Sign in .
According to the information set above, we can enter the user name and password we set on this page to log in .
The system configuration
After logging into the system successfully, you can see such a panel , Show the basic information of the server .
Create a proxy in the inbound list on the left :
The default is to use IP Visit , We can set TLS Certificate to map the domain name, just enter the key pair of the domain name and certificate :
After setting, we can click the QR code in the operation , Scan or directly copy the connection in the device we usually use .
It is recommended to use :Clash To connect to the agent ,Clash This software defaults to the English version , If you need Chinese, you can find a tutorial by yourself .
!!! Statement : This tutorial is used to set up agents on ECs , As for the purpose of setting the proxy and what kind of server to set the proxy on , Please abide by the laws of Chinese Mainland .
边栏推荐
- UDP programming
- NPDP认证|产品经理如何跨职能/跨团队沟通?
- SQL server generates auto increment sequence number
- CocosCreator+TypeScripts自己写一个对象池
- Daily question 1: force deduction: 225: realize stack with queue
- The ceiling of MySQL tutorial. Collect it and take your time
- 重磅新闻 | Softing FG-200获得中国3C防爆认证 为客户现场测试提供安全保障
- UDP编程
- 【无标题】
- NPDP certification | how do product managers communicate across functions / teams?
猜你喜欢
rust知识思维导图xmind
pytorch_ Yolox pruning [with code]
剪映+json解析将视频中的声音转换成文本
Adavit -- dynamic network with adaptive selection of computing structure
RESNET rs: Google takes the lead in tuning RESNET, and its performance comprehensively surpasses efficientnet series | 2021 arXiv
如何用程序确认当前系统的存储模式?
labelimg的安装与使用
signed、unsigned关键字
LeetCode 练习——剑指 Offer 26. 树的子结构
【数字IC手撕代码】Verilog无毛刺时钟切换电路|题目|原理|设计|仿真
随机推荐
go多样化定时任务通用实现与封装
Sword finger offer question brushing record 1
Inno Setup 打包及签名指南
使用云服务器搭建代理
新手程序员该不该背代码?
【数字IC手撕代码】Verilog无毛刺时钟切换电路|题目|原理|设计|仿真
如何用程序确认当前系统的存储模式?
2022-07-05 stonedb sub query processing parsing time analysis
Jafka来源分析——Processor
基於 QEMUv8 搭建 OP-TEE 開發環境
General implementation and encapsulation of go diversified timing tasks
OpenCV VideoCapture. Get() parameter details
Plafond du tutoriel MySQL, bien collecté, regardez lentement
UDP programming
12、 Start process
【雅思口语】安娜口语学习记录part1
Improving Multimodal Accuracy Through Modality Pre-training and Attention
CocosCreator+TypeScripts自己写一个对象池
signed、unsigned关键字
Aardio - 封装库时批量处理属性与回调函数的方法