AList 版本 V3 安装教程

AList 版本 V3 安装教程

安装目录:

/opt/usr/apps/alist/alist

官方帮助文档:

https://alist.nn.ci/zh/config/site.html#%E5%85%AC%E5%91%8A

首次登录出现

failed get storage: storage not found; please add a storage first

首次登录密码

    /opt/usr/apps/alist/alist server
    INFO[2023-xx-xx] reading config file: data/config.json
    INFO[2023-xx-xx] config file not exists, creating default config file
    INFO[2023-xx-xx] load config from env with prefix: ALIST_
    INFO[2023-xx-xx] init logrus...
    INFO[2023-xx-xx] Successfully created the admin user and the initial password is: XXXXXXXX

重置密码

$ /opt/usr/apps/alist/alist admin
INFO[2023-12-22 12:06:22] reading config file: data/config.json
INFO[2023-12-22 12:06:22] load config from env with prefix: ALIST_
INFO[2023-12-22 12:06:22] init logrus...
INFO[2023-12-22 12:06:22] Admin user's username: admin
INFO[2023-12-22 12:06:22] The password can only be output at the first startup, and then stored as a hash value, which cannot be reversed
INFO[2023-12-22 12:06:22] You can reset the password with a random string by running [alist admin random]
INFO[2023-12-22 12:06:22] You can also set a new password by running [alist admin set NEW_PASSWORD]

检查版本

$ /opt/usr/apps/alist/alist version
    Built At: 2023-xx-xx 
    Go Version: go1.xx.x linux/amd