Skip to content
forked from vaxilu/x-ui

xray panel with multi-protocol multi-user support

License

Notifications You must be signed in to change notification settings

hatarist/x-ui-english

 
 

Repository files navigation

x-ui

инглиш мазафака ду ю спик ит

xray panel with multi-protocol multi-user support

Features

  • System status monitoring
  • Support multi-user multi-protocol, web page visualization operation
  • Supported protocols: vmess, vless, trojan, shadowsocks, dokodemo-door, socks, http
  • Support to configure more transmission configurations
  • Traffic statistics, limit traffic, limit expiration time
  • Customizable xray configuration templates
  • Support https access panel (bring your own domain name + ssl certificate)
  • For more advanced configuration items, see the panel for details

Build

git clone https://github.com/hatarist/x-ui-english
cd x-ui-english
go build main.go
mv main /usr/local/bin/x-ui

¯_(ツ)_/¯

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用户登录服务器

如果你的服务器 cpu 架构不是amd64,自行将命令中的amd64替换为其他架构

cd /root/
rm x-ui/ /usr/local/x-ui/ /usr/bin/x-ui -rf
tar zxvf x-ui-linux-amd64.tar.gz
chmod +x x-ui/x-ui x-ui/bin/xray-linux-* x-ui/x-ui.sh
cp x-ui/x-ui.sh /usr/bin/x-ui
cp -f x-ui/x-ui.service /etc/systemd/system/
mv x-ui/ /usr/local/
systemctl daemon-reload
systemctl enable x-ui
systemctl restart x-ui

使用docker安装

此 docker 教程与 docker 镜像由Chasing66提供

  1. 安装docker
curl -fsSL https://get.docker.com | sh
  1. 安装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 .

建议系统

  • CentOS 7+
  • Ubuntu 16+
  • Debian 8+

常见问题

从 v2-ui 迁移

首先在安装了 v2-ui 的服务器上安装最新版 x-ui,然后使用以下命令进行迁移,将迁移本机 v2-ui 的所有 inbound 账号数据至 x-ui,面板设置和用户名密码不会迁移

迁移成功后请关闭 v2-ui并且重启 x-ui,否则 v2-ui 的 inbound 会与 x-ui 的 inbound 会产生端口冲突

x-ui v2-ui

issue 关闭

各种小白问题看得血压很高

Stargazers over time

Stargazers over time

Packages

No packages published

Languages

  • JavaScript 88.7%
  • HTML 5.1%
  • Go 4.5%
  • Shell 1.4%
  • CSS 0.3%
  • Dockerfile 0.0%