This script provided by vaxilu - v0.0.1 of this repo just translate to English of x-ui v0.3.2 This project Translate Just for test (Thanks from Google translate)
Xray web UI Panel - support user management system and multiprotocol proxy server
- System Status Monitoring
- Support multi-user and multi-protocol,web page visualization operation
- Supported protocols: vmess,vless,trojan,shadowsocks,dokodemo-door,socks,http
- Support for configuring more transport configurations
- Traffic statistics,limit traffic,limit expiration time
- Customizable xray configuration template
- Support https access panel (self-provided domain name + ssl certificate)
- Support one-click SSL certificate application and automatic renewal
- For more advanced configuration items,see Panel
bash <(curl -Ls https://raw.githubusercontent.com/jvdi/xray-ui/master/install.sh)
- First download the latest package from https://github.com/jvdi/xray-ui/releases ,usually choose the
amd64
architecture - Then upload this compressed package to
/root/
the directory ,and useroot
the user to log in to the server
If your server cpu architecture is not
amd64
replace with other architectures
cd /root/
rm xray-ui/ /usr/local/xray-ui/ /usr/bin/xray-ui -rf
tar zxvf xray-ui-linux-amd64.tar.gz
chmod +x xray-ui/xray-ui xray-ui/bin/xray-linux-* xray-ui/xray-ui.sh
cp xray-ui/xray-ui.sh /usr/bin/xray-ui
cp -f xray-ui/xray-ui.service /etc/systemd/system/
mv xray-ui/ /usr/local/
systemctl daemon-reload
systemctl enable xray-ui
systemctl restart xray-ui
This docker tutorial and docker image is provided by Chasing66 and Translate by Mohammad Javidi dockerize xray-ui
- Install docker
curl -fsSL https://get.docker.com | sh
- Install xray-ui
mkdir xray-ui && cd xray-ui
docker run -itd --network=host \
-v $PWD/db/:/etc/xray-ui/ \
-v $PWD/cert/:/root/cert/ \
--name xray-ui --restart=unless-stopped \
javidi/xray-ui:latest
Build your own image
docker build -t xray-ui .
# in root of project
go build
# move it xray-ui file to last compress file and replace it
tar -czvf xray-ui-linux-amd64.tar.gz xray-ui/
This feature and tutorial is provided by FranzKafkaYu
The script has a built-in SSL certificate application function. To apply for a certificate using this script,the following conditions must be met:
- Know the Cloudflare registered email address
- Know Cloudflare Global API Key
- The domain name has been resolved to the current server through cloudflare
How to get Cloudflare Global API Key:
You only need to input ,Domain Name
,Mail
,API KEY
the schematic diagram is as follows:
Precautions:
- This script uses DNS API for certificate request
- By default,Let'sEncrypt is used as the CA party
- The certificate installation directory is the /root/cert directory
- The certificates applied for by this script are all wild domain name certificates
This feature and tutorial is provided by FranzKafkaYu
xray-ui supports daily traffic notifications and panel login reminders via Tg bot. To use Tg bot,you need to apply for it yourself. You can refer to the blog link for the specific application tutorial. Instructions:Set the bot-related parameters in the panel background,including
- Telegram Robot Token
- Telegram Bot ChatId
- Telegram robot cycle running time,using crontab syntax
Reference syntax.
- 30 * * * * * * // Notify on the 30ths of every minute
- @hourly // Hourly notification
- @daily // Daily notification (at 00:00 am sharp)
- @every 8h // Notify every 8 hours
Telegram Notification Content.
- Node traffic usage
- Panel login reminder
- Node expiration reminder
- Traffic alert reminders
More features are being planned...
- CentOS 7+
- Ubuntu 16+
- Debian 8+
First install the latest version of xray-ui on the server where v2-ui is installed,then use the following command to migrate all inbound account data
from v2-ui to xray-ui,panel settings and username and password will not be migrated
.
After successful migration,please
shutdown v2-ui
andrestart xray-ui
,otherwise the inbound of v2-ui will have aport conflict
with the inbound of xray-ui
Xray-ui v2-ui