Update README.md

This commit is contained in:
Hamidreza Ghavami
2023-05-31 04:27:25 +04:30
parent dbbdbee737
commit 7a6f5eef28

View File

@@ -32,7 +32,7 @@ xray panel supporting multi-protocol, **Multi-lang (English,Farsi,Chinese,Russia
# Install & Upgrade to latest version # Install & Upgrade to latest version
``` ```sh
bash <(curl -Ls https://raw.githubusercontent.com/alireza0/x-ui/master/install.sh) bash <(curl -Ls https://raw.githubusercontent.com/alireza0/x-ui/master/install.sh)
``` ```
@@ -40,21 +40,23 @@ bash <(curl -Ls https://raw.githubusercontent.com/alireza0/x-ui/master/install.s
To install your desired version you can add the version to the end of install command. Example for ver `0.5.2`: To install your desired version you can add the version to the end of install command. Example for ver `0.5.2`:
``` ```sh
bash <(curl -Ls https://raw.githubusercontent.com/alireza0/x-ui/master/install.sh) 0.5.2 bash <(curl -Ls https://raw.githubusercontent.com/alireza0/x-ui/master/install.sh) 0.5.2
``` ```
## Manual install & upgrade ## Manual install & upgrade
1. First download the latest compressed package from https://github.com/alireza0/x-ui/releases , generally choose Architecture `amd64` 1. First download the latest compressed package from https://github.com/alireza0/x-ui/releases, generally choose Architecture `amd64`
2. Then upload the compressed package to the server's `/root/` directory and `root` rootlog in to the server with user 2. Then upload the compressed package to the server's `/root/` directory and `root` rootlog in to the server with user
> If your server cpu architecture is not `amd64` replace another architecture > If your server cpu architecture is not `amd64` replace another architecture
``` ```sh
ARCH=$(uname -m)
[[ "${ARCH}" == "s390x" ]] && XUI_ARCH="s390x" || [[ "${ARCH}" == "aarch64" || "${ARCH}" == "arm64" ]] && XUI_ARCH="arm64" || XUI_ARCH="amd64"
cd /root/ cd /root/
rm x-ui/ /usr/local/x-ui/ /usr/bin/x-ui -rf rm x-ui/ /usr/local/x-ui/ /usr/bin/x-ui -rf
tar zxvf x-ui-linux-amd64.tar.gz tar zxvf x-ui-linux-${XUI_ARCH}.tar.gz
chmod +x x-ui/x-ui x-ui/bin/xray-linux-* x-ui/x-ui.sh 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 x-ui/x-ui.sh /usr/bin/x-ui
cp -f x-ui/x-ui.service /etc/systemd/system/ cp -f x-ui/x-ui.service /etc/systemd/system/
@@ -212,6 +214,7 @@ Reference syntax:
- Check server status - Check server status
- Check depleted users - Check depleted users
- Receive backup by request and in periodic reports - Receive backup by request and in periodic reports
- Multi language bot
</details> </details>
# Common problem # Common problem
@@ -224,7 +227,7 @@ First install the latest version of x-ui on the server where v2-ui is installed,
> Please `Close v2-ui` and `restart x-ui`, otherwise the inbound of v2-ui will cause a `port conflict with the inbound of x-ui` > Please `Close v2-ui` and `restart x-ui`, otherwise the inbound of v2-ui will cause a `port conflict with the inbound of x-ui`
``` ```sh
x-ui v2-ui x-ui v2-ui
``` ```