xray panel with multi-protocol multi-user support
- 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
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)
- 首先从 https://github.com/vaxilu/x-ui/releases 下载最新的压缩包,一般选择
amd64
架构 - 然后将这个压缩包上传到服务器的
/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 镜像由Chasing66提供
- 安装docker
curl -fsSL https://get.docker.com | sh
- 安装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 的服务器上安装最新版 x-ui,然后使用以下命令进行迁移,将迁移本机 v2-ui 的所有 inbound 账号数据
至 x-ui,面板设置和用户名密码不会迁移
迁移成功后请
关闭 v2-ui
并且重启 x-ui
,否则 v2-ui 的 inbound 会与 x-ui 的 inbound 会产生端口冲突
x-ui v2-ui
各种小白问题看得血压很高