x-ui 支持多协议多用户的 xray 面板
本文最后更新于 81 天前,若内容或图片失效,请留言反馈。部分素材来自网络,若不小心影响到您的利益,请联系我们删除。

x-ui可视化面板搭建

前言

这可能是目前使用最多的 xray 搭建方式,搭建步骤简单,设置灵活。

Github 项目地址:https://github.com/vaxilu/x-ui/

功能介绍

  • 系统状态监控
  • 支持多用户多协议,网页可视化操作
  • 支持的协议:vmess、vless、trojan、shadowsocks、dokodemo-door、socks、http
  • 支持配置更多传输配置
  • 流量统计,限制流量,限制到期时间
  • 可自定义 xray 配置模板
  • 支持 https 访问面板(自备域名 + ssl 证书)
  • 支持一键SSL证书申请且自动续签
  • 更多高级配置项,详见面板

安装 & 升级

一键安装

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

手动安装&升级

  1. 首先从 https://github.com/vaxilu/x-ui/releases 下载最新的压缩包,一般选择 amd64 架构
  2. 然后将这个压缩包上传到服务器的 /root/ 目录下,并使用 root 用户登录服务器

使用 docker 安装

  1. 安装 docker

    curl -fsSL https://get.docker.com | sh
  2. 安装 x-ui

    mkdir x-ui && cd x-ui
    docker run -itd --network=host \
    -v $PWD/db/:/etc/x-ui/ \
    -v $PWD/cert/:/root/cert/ \
    --name x-ui --restart=unless-stopped \
    enwaiax/x-ui:latest

Build 自己的镜像

docker build -t x-ui .

SSL 证书申请

脚本内置 SSL 证书申请功能,使用该脚本申请证书,需满足以下条件:

  • 知晓 Cloudflare 注册邮箱
  • 知晓 Cloudflare Global API Key
  • 域名已通过 Cloudflare 进行解析到当前服务器

获取Cloudflare Global API Key的方法:

x-ui面板01

x-ui面板02

使用时只需输入 域名, 邮箱, API KEY 即可,示意图如下:

x-ui面板03

注意事项:

  • 该脚本使用 DNS API 进行证书申请
  • 默认使用 Let’sEncrypt 作为 CA 方
  • 证书安装目录为 /root/cert 目录
  • 本脚本申请证书均为泛域名证书
版权归属: E家之长
本文链接: https://www.5iehome.cc/archives/x-ui-installation.html
许可协议: 本文使用《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》协议授权

评论

  1. Windows Chrome 108.0.0.0
    5月前
    2023-1-10 10:01:55

    正需要,谢谢

  2. Windows Edge 108.0.1462.46
    1月前
    2023-5-07 2:31:28

    After reading your article, it reminded me of some things about gate io that I studied before. The content is similar to yours, but your thinking is very special, which gave me a different idea. Thank you. But I still have some questions I want to ask you, I will always pay attention. Thanks.

  3. Windows Edge 108.0.1462.46
    1月前
    2023-5-08 22:15:50

    Your article made me suddenly realize that I am writing a thesis on gate.io. After reading your article, I have a different way of thinking, thank you. However, I still have some doubts, can you help me? Thanks.

  4. Windows Edge 108.0.1462.46
    3周前
    2023-5-21 11:50:46

    I am a website designer. Recently, I am designing a website template about gate.io. The boss’s requirements are very strange, which makes me very difficult. I have consulted many websites, and later I discovered your blog, which is the style I hope to need. thank you very much. Would you allow me to use your blog style as a reference? thank you!

  5. Windows Edge 108.0.1462.46
    2周前
    2023-5-28 16:45:57

    The point of view of your article has taught me a lot, and I already know how to improve the paper on gate.oi, thank you. https://www.gate.io/pt-br/signup/XwNAU

  6. Windows Edge 108.0.1462.46
    1周前
    2023-5-30 7:38:42

    Can you be more specific about the content of your enticle? After reading it, I still have some doubts. Hope you can help me. https://www.binance.com/en/register?ref=P9L9FQKY

  7. Windows Edge 108.0.1462.46
    1周前
    2023-5-30 18:31:56

    The point of view of your article has taught me a lot, and I already know how to improve the paper on gate.oi, thank you. https://www.gate.io/signup/XwNAU

发送评论 编辑评论


上一篇
下一篇