@@ -46,17 +46,28 @@ Install xunlei
4646Usage: xunlei install [OPTIONS]
4747
4848Options:
49- --debug Enable debug
50- -U, --auth-user < AUTH_USER> Xunlei authentication username
51- -W, --auth-password < AUTH_PASSWORD> Xunlei authentication password
52- -h, --host < HOST> Xunlei Listen host [default: 0.0.0.0]
53- -p, --port < PORT> Xunlei Listen port [default: 5055]
54- --uid < UID> Xunlei UID permission [env: XUNLEI_UID= ]
55- --gid < GID> Xunlei GID permission [env: XUNLEI_GID= ]
56- -c, --config-path < CONFIG_PATH> Xunlei config directory [default: /opt/xunlei]
57- -d, --download-path < DOWNLOAD_PATH> Xunlei download directory [default: /opt/xunlei/downloads]
58- -m, --mount-bind-download-path < MOUNT_BIND_DOWNLOAD_PATH> Xunlei mount bind download directory [default: /xunlei]
59- -h, --help Print help
49+ --debug
50+ Enable debug [env: XUNLEI_DEBUG= ]
51+ -u, --auth-user < AUTH_USER>
52+ Xunlei authentication username [env: XUNLEI_AUTH_USER= ]
53+ -w, --auth-password < AUTH_PASSWORD>
54+ Xunlei authentication password [env: XUNLEI_AUTH_PASSWORD= ]
55+ -H, --host < HOST>
56+ Xunlei Listen host [env: XUNLEI_HOST= ] [default: 0.0.0.0]
57+ -P, --port < PORT>
58+ Xunlei Listen port [env: XUNLEI_PORT= ] [default: 5055]
59+ -U, --uid < UID>
60+ Xunlei UID permission [env: XUNLEI_UID= ]
61+ -G, --gid < GID>
62+ Xunlei GID permission [env: XUNLEI_GID= ]
63+ -c, --config-path < CONFIG_PATH>
64+ Xunlei config directory [default: /opt/xunlei]
65+ -d, --download-path < DOWNLOAD_PATH>
66+ Xunlei download directory [default: /opt/xunlei/downloads]
67+ -m, --mount-bind-download-path < MOUNT_BIND_DOWNLOAD_PATH>
68+ Xunlei mount bind download directory [default: /xunlei]
69+ -h, --help
70+ Print help
6071
6172❯ ./xunlei uninstall --help
6273Uninstall xunlei
@@ -90,9 +101,9 @@ Options:
90101### Ubuntu(Other Linux)
91102GitHub [ Releases] ( https://github.com/gngpp/xunlei/releases ) 中有预编译的 deb包/rpm包,二进制文件,以Ubuntu为例:
92103``` shell
93- wget https://github.com/gngpp/xunlei/releases/download/v3.11.2-30 /xunlei-embed-3.11.2-30 -aarch64-unknown-linux-gnu.deb
104+ wget https://github.com/gngpp/xunlei/releases/download/v3.11.2-31 /xunlei-embed-3.11.2-31 -aarch64-unknown-linux-gnu.deb
94105
95- dpkg -i xunlei_3.11.2-30_amd64 .deb
106+ dpkg -i xunlei_3.11.2-31_amd64 .deb
96107
97108# 安装和运行迅雷程序
98109xunlei install
@@ -117,11 +128,11 @@ docker run -it --rm --privileged -p 5055:5055 --name=xunlei \
117128GitHub [ Releases] ( https://github.com/gngpp/xunlei/releases ) 中有预编译的 ipk 文件, 目前提供了 aarch64/x86_64 等架构的版本,下载后使用 opkg 安装,以 nanopi r4s 为例:
118129
119130``` shell
120- wget https://github.com/gngpp/xunlei/releases/download/v3.11.2-30 /xunlei_3.11.2-30_aarch64_generic .ipk
121- wget https://github.com/gngpp/xunlei/releases/download/v3.11.2-30 /luci-app-xunlei_1.0.1-7-1_all.ipk
122- wget https://github.com/gngpp/xunlei/releases/download/v3.11.2-30 /luci-i18n-xunlei-zh-cn_1.0.1-7-1_all.ipk
131+ wget https://github.com/gngpp/xunlei/releases/download/v3.11.2-31 /xunlei_3.11.2-31_aarch64_generic .ipk
132+ wget https://github.com/gngpp/xunlei/releases/download/v3.11.2-31 /luci-app-xunlei_1.0.1-7-1_all.ipk
133+ wget https://github.com/gngpp/xunlei/releases/download/v3.11.2-31 /luci-i18n-xunlei-zh-cn_1.0.1-7-1_all.ipk
123134
124- opkg install xunlei_3.11.2-30_aarch64_generic .ipk
135+ opkg install xunlei_3.11.2-31_aarch64_generic .ipk
125136opkg install luci-app-xunlei_1.0.1-7-1_all.ipk
126137opkg install luci-i18n-xunlei-zh-cn_1.0.1-7-1_all.ipk
127138```
0 commit comments