在 Debian(以及大多数 Linux 发行版)里,spool 本身不是一个“服务”,而是一类目录/机制的统称(比如打印 spool、邮件 spool、cron spool 等)。
所以“开启 spool”要看你具体指的是哪一种。
下面按常见情况说明。
如果你是问打印机 spool 怎么开启:
sudo apt update
sudo apt install cups
sudo systemctl start cups
sudo systemctl enable cups
ls /var/spool/cups
http://localhost:631
如果你是问邮件队列 spool:
sudo apt install postfix
sudo systemctl start postfix
sudo systemctl enable postfix
/var/spool/mail/
或
/var/mail/
如果你是问cron 的 spool:
sudo apt install cron
sudo systemctl start cron
sudo systemctl enable cron
/var/spool/cron/crontabs/
一般不需要“开启”,只要服务正常:
sudo systemctl status cups
sudo systemctl status cron
你可以告诉我:
systemctl status xxx 的输出?我可以更精确地帮你“开启”。