一键安装脚本教程链接:https://alist.nn.ci/zh/guide/install/script.html
直接安装的脚本命令:
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install
更新 Alsit 命令:
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s update
卸载 Alsit 命令:
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s uninstall
Alist 的安装路径:默认安装在 /opt/alist 中
其他操作命令:
启动: systemctl start alist
关闭: systemctl stop alist
状态: systemctl status alist
重启: systemctl restart alist
Docker 里安装 Alsit:
一键安装脚本教程链接:
https://alist.nn.ci/zh/guide/install/docker.html# 开发版本
docker run -d --restart=unless-stopped -v /etc/alist:/opt/alist/data -p 5244:5244 -e PUID=0 -e PGID=0 -e UMASK=022 --name="alist" xhofe/alist
ocker-compose:
version: '3.3'
services:
alist:
image: 'xhofe/alist'
container_name: alist
volumes:
- '/etc/alist:/opt/alist/data'
ports:
- '5244:5244'
environment:
- PUID=0
- PGID=0
- UMASK=022
restart: unless-stopped
部署后就可以在浏览器内地址栏内输入:IP 地址:5244 端口号,打开管理界面了。
挂载阿里云盘:https://alist.nn.ci/zh/guide/drivers/aliyundrive_open.html