bash <(curl -Ls https://raw.githubusercontent.com/NidukaAkalanka/x-ui-english/master/install.sh)
- First update your system
- Then download the latest compressed package from https://github.com/NidukaAkalanka/x-ui-english/releases/latest, generally choose
amd64
architecture - Upload the compressed package to the
/root/
directory of the server, and use theroot
user to log in to the server and run following commands
If your server cpu architecture is not
amd64
, replaceamd64
in the command with another architecture
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-amd64 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
This docker tutorial and docker image are provided by Chasing66
- Install docker
curl -fsSL https://get.docker.com | sh
- Install 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 your own image
docker build -t x-ui .