mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
Update README.md
This commit is contained in:
parent
6ae80fc992
commit
572d912858
1 changed files with 35 additions and 26 deletions
29
README.md
29
README.md
|
@ -9,7 +9,6 @@
|
||||||
[](https://www.gnu.org/licenses/gpl-3.0.en.html)
|
[](https://www.gnu.org/licenses/gpl-3.0.en.html)
|
||||||
|
|
||||||
3x-ui panel supporting multi-protocol, **Multi-lang (English,Farsi,Chinese,Russian)**
|
3x-ui panel supporting multi-protocol, **Multi-lang (English,Farsi,Chinese,Russian)**
|
||||||
|
|
||||||
**If you think this project is helpful to you, you may wish to give a** :star2:
|
**If you think this project is helpful to you, you may wish to give a** :star2:
|
||||||
|
|
||||||
**Buy Me a Coffee :**
|
**Buy Me a Coffee :**
|
||||||
|
@ -24,11 +23,12 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.
|
||||||
|
|
||||||
# Install custom version
|
# Install custom version
|
||||||
|
|
||||||
To install your desired version you can add the version to the end of install command. Example for ver `v1.6.0`:
|
To install your desired version you can add the version to the end of install command. Example for ver `v1.6.1`:
|
||||||
|
|
||||||
```
|
```
|
||||||
bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v1.6.0
|
bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v1.6.1
|
||||||
```
|
```
|
||||||
|
|
||||||
# SSL
|
# SSL
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -37,7 +37,7 @@ certbot certonly --standalone --agree-tos --register-unsafely-without-email -d y
|
||||||
certbot renew --dry-run
|
certbot renew --dry-run
|
||||||
```
|
```
|
||||||
|
|
||||||
or you can use x-ui menu then number `16` (`SSL Certificate Management`)
|
You also can use `x-ui` menu then select `16. SSL Certificate Management`
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
|
|
||||||
|
@ -57,23 +57,24 @@ or you can use x-ui menu then number `16` (`SSL Certificate Management`)
|
||||||
- Support export/import database from panel
|
- Support export/import database from panel
|
||||||
|
|
||||||
# Manual Install & Upgrade
|
# Manual Install & Upgrade
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Click for Manual Install details</summary>
|
<summary>Click for Manual Install details</summary>
|
||||||
|
|
||||||
1. To download the latest version of the compressed package directly to your server, run the following command:
|
1. To download the latest version of the compressed package directly to your server, run the following command:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
wget https://github.com/MHSanaei/3x-ui/releases/latest/download/x-ui-linux-amd64.tar.gz
|
[[ "$(uname -m)" == "aarch64" ]] && XUI_ARCH="arm64" || XUI_ARCH="amd64"
|
||||||
|
wget https://github.com/MHSanaei/3x-ui/releases/latest/download/x-ui-linux-${XUI_ARCH}.tar.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: If your server's CPU architecture is `arm64`, modify the URL by substituting `amd64` with your respective CPU architecture.
|
|
||||||
|
|
||||||
2. Once the compressed package is downloaded, execute the following commands to install or upgrade x-ui:
|
2. Once the compressed package is downloaded, execute the following commands to install or upgrade x-ui:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
[[ "$(uname -m)" == "aarch64" ]] && XUI_ARCH="arm64" || XUI_ARCH="amd64"
|
||||||
cd /root/
|
cd /root/
|
||||||
rm -rf x-ui/ /usr/local/x-ui/ /usr/bin/x-ui
|
rm -rf x-ui/ /usr/local/x-ui/ /usr/bin/x-ui
|
||||||
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/
|
||||||
|
@ -82,14 +83,16 @@ systemctl daemon-reload
|
||||||
systemctl enable x-ui
|
systemctl enable x-ui
|
||||||
systemctl restart x-ui
|
systemctl restart x-ui
|
||||||
```
|
```
|
||||||
Note: If your server's CPU architecture is `arm64`, modify the `amd64` in `tar zxvf x-ui-linux-amd64.tar.gz` with your respective CPU architecture.
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
# Install with Docker
|
# Install with Docker
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Click for Docker details</summary>
|
<summary>Click for Docker details</summary>
|
||||||
|
|
||||||
1. Install Docker:
|
1. Install Docker:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
bash <(curl -sSL https://get.docker.com)
|
bash <(curl -sSL https://get.docker.com)
|
||||||
```
|
```
|
||||||
|
@ -119,9 +122,11 @@ Note: If your server's CPU architecture is `arm64`, modify the `amd64` in `tar z
|
||||||
--name 3x-ui \
|
--name 3x-ui \
|
||||||
ghcr.io/mhsanaei/3x-ui:latest
|
ghcr.io/mhsanaei/3x-ui:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
# Default settings
|
# Default settings
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Click for Default settings details</summary>
|
<summary>Click for Default settings details</summary>
|
||||||
|
|
||||||
|
@ -171,7 +176,7 @@ If you want to use routing to WARP follow steps as below:
|
||||||
2. Install WARP on **socks proxy mode**:
|
2. Install WARP on **socks proxy mode**:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -fsSL https://gist.githubusercontent.com/hamid-gh98/dc5dd9b0cc5b0412af927b1ccdb294c7/raw/install_warp_proxy.sh | bash
|
bash <(curl -sSL https://gist.githubusercontent.com/hamid-gh98/dc5dd9b0cc5b0412af927b1ccdb294c7/raw/install_warp_proxy.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Turn on the config you need in panel or [Copy and paste this file to Xray Configuration](./media/configs/traffic+block-ads+warp.json)
|
3. Turn on the config you need in panel or [Copy and paste this file to Xray Configuration](./media/configs/traffic+block-ads+warp.json)
|
||||||
|
@ -223,9 +228,11 @@ 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>
|
||||||
|
|
||||||
# API routes
|
# API routes
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Click for API routes details</summary>
|
<summary>Click for API routes details</summary>
|
||||||
|
|
||||||
|
@ -261,6 +268,7 @@ Reference syntax:
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
# Environment Variables
|
# Environment Variables
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Click for Environment Variables details</summary>
|
<summary>Click for Environment Variables details</summary>
|
||||||
|
|
||||||
|
@ -276,6 +284,7 @@ Example:
|
||||||
```sh
|
```sh
|
||||||
XUI_BIN_FOLDER="bin" XUI_DB_FOLDER="/etc/x-ui" go build main.go
|
XUI_BIN_FOLDER="bin" XUI_DB_FOLDER="/etc/x-ui" go build main.go
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
# A Special Thanks To
|
# A Special Thanks To
|
||||||
|
|
Loading…
Reference in a new issue