教程地址:https://v2rayssr.com/teach-vless.html
连接主机...
连接主机成功
[root@LA0 ~]# apt update –y # Debian/Ubuntu
-bash: apt: 未找到命令
[root@LA0 ~]# apt install –y curl socat #Debian/Ubuntu
-bash: apt: 未找到命令
[root@LA0 ~]# bash <(curl –Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh) #X-ui
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: xn--ls-31t; 未知的错误
100 6975 100 6975 0 0 4013 0 0:00:01 0:00:01 --:--:-- 9950
架构: amd64
开始安装
已加载插件:fastestmirror
Determining fastest mirrors
epel/x86_64/metalink | 5.1 kB 00:00:00
- epel: d2lzkl7pfhq30w.cloudfront.net
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
软件包 wget-1.14-18.el7_6.1.x86_64 已安装并且是最新版本
软件包 curl-7.29.0-59.el7_9.2.x86_64 已安装并且是最新版本
软件包 2:tar-1.26-35.el7.x86_64 已安装并且是最新版本
无须任何处理
Failed to stop x-ui.service: Unit x-ui.service not loaded.
检测到 x-ui 最新版本:0.3.2,开始安装
警告: 时间戳与 -O 结合使用没有任何效果。
参阅手册来获取详细信息。
--2024-11-25 21:28:12-- https://github.com/vaxilu/x-ui/releases/download/0.3.2/x-ui-linux-amd64.tar.gz
正在解析主机 github.com (github.com)... 140.82.116.4
正在连接 github.com (github.com)|140.82.116.4|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://objects.githubusercontent.com/github-production-release-asset-2e65be/368390355/e19f3b66-cba1-4a80-9a63-b38f1521114f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241125%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241125T132812Z&X-Amz-Expires=300&X-Amz-Signature=734ff45c8c7ed0e7e74ed36884b863f244539cebb96ef790d17383874d70d876&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dx-ui-linux-amd64.tar.gz&response-content-type=application%2Foctet-stream [跟随至新的 URL]
--2024-11-25 21:28:12-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/368390355/e19f3b66-cba1-4a80-9a63-b38f1521114f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241125%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241125T132812Z&X-Amz-Expires=300&X-Amz-Signature=734ff45c8c7ed0e7e74ed36884b863f244539cebb96ef790d17383874d70d876&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dx-ui-linux-amd64.tar.gz&response-content-type=application%2Foctet-stream
正在解析主机 objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.111.133, ...
正在连接 objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:16509803 (16M) [application/octet-stream]
正在保存至: “/usr/local/x-ui-linux-amd64.tar.gz”
100%[====================================================================================>] 16,509,803 4.33MB/s 用时 3.6s
2024-11-25 21:28:16 (4.40 MB/s) - 已保存 “/usr/local/x-ui-linux-amd64.tar.gz” [16509803/16509803])
x-ui/
x-ui/x-ui
x-ui/bin/
x-ui/x-ui.sh
x-ui/x-ui.service
x-ui/bin/geoip.dat
x-ui/bin/geosite.dat
x-ui/bin/xray-linux-amd64
--2024-11-25 21:28:18-- https://raw.githubusercontent.com/vaxilu/x-ui/main/x-ui.sh
正在解析主机 raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8003::154, 2606:50c0:8002::154, 2606:50c0:8000::154, ...
正在连接 raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8003::154|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:15922 (16K) [text/plain]
正在保存至: “/usr/bin/x-ui”
100%[====================================================================================>] 15,922 --.-K/s 用时 0s
2024-11-25 21:28:18 (51.4 MB/s) - 已保存 “/usr/bin/x-ui” [15922/15922])
出于安全考虑,安装/更新完成后需要强制修改端口与账户密码
确认是否继续?[y/n]:y
请设置您的账户名:admin
您的账户名将设定为:admin
请设置您的账户密码:czmCdh6762616@¥%201
您的账户密码将设定为:czmCdh6762616@¥%201
请设置面板访问端口:10216
您的面板访问端口将设定为:10216
确认设定,设定中
set username and password success
账户密码设定完成
set port 10216 success面板端口设定完成
Created symlink from /etc/systemd/system/multi-user.target.wants/x-ui.service to /etc/systemd/system/x-ui.service.
x-ui v0.3.2 安装完成,面板已启动,
x-ui 管理脚本使用方法:
x-ui - 显示管理菜单 (功能更多)
x-ui start - 启动 x-ui 面板
x-ui stop - 停止 x-ui 面板
x-ui restart - 重启 x-ui 面板
x-ui status - 查看 x-ui 状态
x-ui enable - 设置 x-ui 开机自启
x-ui disable - 取消 x-ui 开机自启
x-ui log - 查看 x-ui 日志
x-ui v2-ui - 迁移本机器的 v2-ui 账号数据至 x-ui
x-ui update - 更新 x-ui 面板
x-ui install - 安装 x-ui 面板
x-ui uninstall - 卸载 x-ui 面板
[root@LA0 ~]# start
-bash: start: 未找到命令
您在 /var/spool/mail/root 中有新邮件
[root@LA0 ~]#
[root@LA0 ~]# 16
-bash: 16: 未找到命令
[root@LA0 ~]# 11. 查看 x–ui 状态
-bash: 11.: 未找到命令
[root@LA0 ~]# x–ui 面板管理脚本
-bash: x–ui: 未找到命令
[root@LA0 ~]# 1
-bash: 1: 未找到命令
[root@LA0 ~]# x-ui start - 启动 x-ui 面板
[INF] 面板已运行,无需再次启动,如需重启请选择重启
您在 /var/spool/mail/root 中有新邮件
[root@LA0 ~]# x-ui status - 查看 x-ui 状态
● x-ui.service - x-ui Service
Loaded: loaded (/etc/systemd/system/x-ui.service; enabled; vendor preset: disabled)
Active: active (running) since 一 2024-11-25 21:30:08 CST; 40min ago
Main PID: 1057 (x-ui)
CGroup: /system.slice/x-ui.service
├─1057 /usr/local/x-ui/x-ui
└─1070 bin/xray-linux-amd64 -c bin/config.json
11月 25 21:30:08 LA0.com systemd[1]: Started x-ui Service.
11月 25 21:30:08 LA0.com x-ui[1057]: 2024/11/25 21:30:08 x-ui 0.3.2
11月 25 21:30:08 LA0.com x-ui[1057]: 2024/11/25 21:30:08 INFO - web server run http on [::]:10216
您在 /var/spool/mail/root 中有新邮件
[root@LA0 ~]#