r6: Ubuntu 20/22/24/26 support (compat-lib+rpath, libssh2-1.11 ssh2.so, my.cnf 11.x-safe, ufw)

This commit is contained in:
2026-08-14 04:19:29 +00:00
parent 219e39bcc0
commit 3183ddb61e
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -12,7 +12,7 @@ fallback.
1. Pre-flight checks — root, Ubuntu 20.04/22.04/24.04, x86_64, RAM/disk, re-install guard
2. Installs missing deps (`wget`, `unzip`, `tar`)
3. Downloads `XUI_1.5.13-r5.zip` (~659 MB, r5 runtime repack) from the Gitea mirror (falls back to GitHub)
3. Downloads `XUI_1.5.13-r6.zip` (~659 MB, r6 modern-OS repack (Ubuntu 20/22/24/26)) from the Gitea mirror (falls back to GitHub)
4. Verifies the SHA-256 checksum (on by default)
5. Extracts `install`, `database.sql`, `xui.tar.gz`
6. Runs the bundled `./install` **non-interactively** — auto-generates a valid
@@ -55,8 +55,8 @@ and the one-liner picks it up, no version bump needed.
The 661 MB release is hosted on our Gitea, publicly downloadable with **no auth**:
```
https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r5/XUI_1.5.13-r5.zip
sha256: 145a9651493712abfcb103f256e7641daeb04749fbbe34c06a948cef80b77b59 (r3: PHP 7.4.33, ionCube 15.5, GeoIP 2026-08-13 refresh, patched LB/proxy payloads; stock 1.5.13 + r2 kept for rollback)
https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r6/XUI_1.5.13-r6.zip
sha256: 3bc55deeab8196f259e238efd71308b0cdfdfda9076048d3ec0d4354c0b22b6e (r3: PHP 7.4.33, ionCube 15.5, GeoIP 2026-08-13 refresh, patched LB/proxy payloads; stock 1.5.13 + r2 kept for rollback)
```
Re-uploading later (e.g. a new version) — from any box with the Gitea token:
@@ -117,7 +117,7 @@ To pull a local copy anytime:
```bash
curl -L -o release/XUI_1.5.13.zip \
"https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r5/XUI_1.5.13-r5.zip"
"https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r6/XUI_1.5.13-r6.zip"
```
## Credentials
+3 -3
View File
@@ -16,11 +16,11 @@ set -euo pipefail
# ---------------------------------------------------------------------------
# Config
# ---------------------------------------------------------------------------
RELEASE_NAME="XUI_1.5.13-r5.zip"
RELEASE_NAME="XUI_1.5.13-r6.zip"
# Primary download source: self-hosted Gitea generic-package mirror (fast, under
# our control). Override with the XUI_URL env var to point elsewhere.
DEFAULT_URL="https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r5/${RELEASE_NAME}"
DEFAULT_URL="https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r6/${RELEASE_NAME}"
URL="${XUI_URL:-$DEFAULT_URL}"
# Fallback source: the upstream XUIPatch GitHub release. Tried automatically if
@@ -29,7 +29,7 @@ FALLBACK_URL="${XUI_FALLBACK_URL:-https://github.com/xuione/XUIPatch/releases/do
# Integrity check: known-good SHA-256 of XUI_1.5.13.zip. Verified before extract.
# Override/clear with the XUI_SHA256 env var (set to "" to skip).
EXPECTED_SHA256="${XUI_SHA256-145a9651493712abfcb103f256e7641daeb04749fbbe34c06a948cef80b77b59}"
EXPECTED_SHA256="${XUI_SHA256-3bc55deeab8196f259e238efd71308b0cdfdfda9076048d3ec0d4354c0b22b6e}"
WORKDIR="${XUI_WORKDIR:-/opt/xui_install}"