rm -rf /opt/alist/*
cd /opt/alist
wget https://github.com/AlistGo/alist/releases/download/v3.41.0/alist-linux-arm-7.tar.gz
tar zxvf alist.tar.gz
chmod +x alist
./alist admin set 新密码
systemctl restart alist
我的上面这个命令不好用了,没有下面这个文件
vim /usr/lib/systemd/system/alist.service
[Unit]
Description=alist
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/alist/
ExecStart=/opt/alist/alist server
Restart=on-failure
[Install]
WantedBy=multi-user.target
启动: systemctl start alist
关闭: systemctl stop alist
配置开机自启: systemctl enable alist
取消开机自启: systemctl disable alist
状态: systemctl status alist
重启: systemctl restart alist
如果hinas主页的图标超链接白屏的问题
将/opt/alist/data/config.json编辑这个文件,把"site_url": ""改为"site_url": "/alist"
参考:alist手动安装指南