bannerAds
Global
language language

Product

Doc

Support

Menu 

SiliCloud Help Document Center

search

Popular search terms

关闭Ubuntu 自动更新

Update time 2023-03-08 23:20  Version v1.2
I want feedback 
Collect My collection

Ubuntu 自动更新是默认开启的。
但是服务器的自动更新,有时会导致一些软件被强制重启或初始化。

如果您希望关闭Ubuntu的自动更新,请执行以下命令:

systemctl stop apt-daily.timer apt-daily.service apt-daily-upgrade.timer apt-daily-upgrade.service
systemctl mask apt-daily.service apt-daily-upgrade.service
systemctl disable apt-daily.service apt-daily-upgrade.service
systemctl disable apt-daily.timer apt-daily-upgrade.timer
systemctl daemon-reload

systemctl mask unattended-upgrades.service
systemctl stop unattended-upgrades.service

以上命令,在Ubuntu 20中,测试工作正常,其他版本有待检测。

Do you have any suggestions for this document?

Your rating for this document
You can earn up to 7% from Cloud server new purchase -renewal (3%)-upgrade (3%) ,simply click on the affiliate application to become a partner.
AboutWorry-free refund guarantee.

Become a Partner vServer Affiliate marketing

All Rights Reserved ©2024. SICloud® IT (HK) LIMITED | Silicon Cloud™ (Tokyo) LLC (電気通信事業者番号 A-05-20586) |