|
本帖最后由 superzjg 于 2022-12-22 22:06 编辑
都不能运行?那就有点蹊跷。
刚试了一个架构是arm64的op,可以运行。
root@OpenWrt:~# chmod 755 /mnt/sda/sky_packs/usr/bin/alist 这个命令是给可执行权限
root@OpenWrt:~# /mnt/sda/sky_packs/usr/bin/alist 直接运行会显示帮助
A file list program that supports multiple storage,
built with love by Xhofe and friends in Go/Solid.js.
Complete documentation is available at https://alist.nn.ci/
Usage:
alist [command]
Available Commands:
admin Show admin user's info
cancel2fa Delete 2FA of admin user
completion Generate the autocompletion script for the specified shell
help Help about any command
lang Generate language json file
restart Restart alist server by daemon/pid file
server Start the server at the specified address
start Silent start alist server with `--force-bin-dir`
stop Stop alist server by daemon/pid file
version Show current version of AList
Flags:
--data string config file (default "data")
--debug start with debug mode
--dev start with dev mode
--force-bin-dir Force to use the directory where the binary file is located as data directory
-h, --help help for alist
--no-prefix disable env prefix
Use "alist [command] --help" for more information about a command.
root@OpenWrt:~# /mnt/sda/sky_packs/usr/bin/alist server 默认server参数运行
INFO[2022-12-22 22:01:11] reading config file: data/config.json
INFO[2022-12-22 22:01:11] config file not exists, creating default config file
INFO[2022-12-22 22:01:11] load config from env with prefix: ALIST_
INFO[2022-12-22 22:01:11] init logrus...
INFO[2022-12-22 22:01:11] Successfully created the admin user and the initial password is: f0Ed3UKb 这里提示初始用户名和密码
INFO[2022-12-22 22:01:11] start server @ 0.0.0.0:5244
INFO[2022-12-22 22:01:11] Aria2 not ready. |
|