feicai1122 安装Alist3
关闭程序旧版程序:systemctl stop alist
禁用进程守护配置:systemctl disable alist
删除进程守护配置:rm /etc/systemd/system/alist.service
删除程序目录:rm -rf /opt/alist
打开:cd /root/alist3
创建目录 mkdir alist3 && cd alist3
下载程序包 wget https://github.com/alist-org/alist/releases/download/v3.15.0/alist-linux-arm-7.tar.gz
解压 tar -zxvf alist-linux-arm-7.tar.gz
授予执行权限 chmod +x alist
运行 ./alist server
创建文件 vi /usr/lib/systemd/system/alist3.service
[Unit]
Description=alist3
After=network.target
[Service]
Type=simple
WorkingDirectory=/root/alist3
ExecStart=/root/alist3/alist server Restart=on-failure
[Install]
WantedBy=multi-user.target
按键 [Esc] 输入 :wq 回车
重载配置 systemctl daemon-reload
启动程序 systemctl start alist3
设置自启 systemctl enable alist3
查看密码 ./alist admin