Install

# AMD64 for Linux
wget https://github.com/alist-org/alist/releases/latest/download/alist-linux-amd64.tar.gz
tar -xf alist-linux-amd64.tar.gz
mv alist /usr/bin
mkdir /etc/alist

Configure systemd

vim /etc/systemd/system/alist.service
-----
[Unit]
Description=alist
After=network.target
 
[Service]
Type=simple
WorkingDirectory=/usr/bin
ExecStart=/usr/bin/alist server --data /etc/alist
Restart=on-failure
 
[Install]
WantedBy=multi-user.target
-----
 
systemctl daemon-reload
systemctl enable --now alist.service

Get admin password

systemctl status alist.service