安装命令:
curl -fsSL "https://alist.nn.ci/v3.sh" -o v3.sh && bash v3.sh
安装完成后记住账号密码,打开 IP:5244 登录
面板管理命令:
使用命令:alist 或者 alist-manager
接下来我们使用系统服务自启动:
nano /etc/systemd/system/alist.service
复制下面代码:
[Unit]
Description=AList
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/alist
ExecStart=/opt/alist/alist server
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target
然后:
# 重新加载服务配置
# 启用服务自启动
# 启动服务
# 查看服务状态
systemctl daemon-reload
systemctl enable alist
systemctl start alist
systemctl status alist