一鍵安裝腳本教程鏈接: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