当前位置:网站首页>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 .
边栏推荐
- SQL server generates auto increment sequence number
- How big is the empty structure?
- Learn the principle of database kernel from Oracle log parsing
- The SQL response is slow. What are your troubleshooting ideas?
- 硬件開發筆記(十): 硬件開發基本流程,制作一個USB轉RS232的模塊(九):創建CH340G/MAX232封裝庫sop-16並關聯原理圖元器件
- void关键字
- leetcode:面试题 17.24. 子矩阵最大累加和(待研究)
- Installation and use of labelimg
- Data processing skills (7): MATLAB reads the data in the text file TXT with mixed digital strings
- Research and investment strategy report of China's VOCs catalyst industry (2022 Edition)
猜你喜欢
[linear algebra] determinant of order 1.3 n
Export MySQL table data in pure mode
config:invalid signature 解决办法和问题排查详解
Unity3d minigame-unity-webgl-transform插件转换微信小游戏报错To use dlopen, you need to use Emscripten‘s...问题
leetcode:面试题 17.24. 子矩阵最大累加和(待研究)
Attack and defense world ditf Misc
Sword finger offer question brushing record 1
pytorch_YOLOX剪枝【附代码】
Self made j-flash burning tool -- QT calls jlinkarm DLL mode
【数字IC手撕代码】Verilog无毛刺时钟切换电路|题目|原理|设计|仿真
随机推荐
Chapter 4: talk about class loader again
UDP programming
Adavit -- dynamic network with adaptive selection of computing structure
Unity3d minigame unity webgl transform plug-in converts wechat games to use dlopen, you need to use embedded 's problem
项目复盘模板
小程序系统更新提示,并强制小程序重启并使用新版本
Web APIs DOM time object
柔性数组到底如何使用呢?
Applet system update prompt, and force the applet to restart and use the new version
Mysql database basic operations DML
【无标题】
2022-07-05 使用tpcc对stonedb进行子查询测试
CCNA Cisco network EIGRP protocol
POJ 1258 Agri-Net
UVa 11732 – strcmp() Anyone?
Attack and defense world miscall
volatile关键字
The nearest common ancestor of binary (search) tree ●●
SQL Server生成自增序号
关于声子和热输运计算中BORN电荷和non-analytic修正的问题