如何设置centos 和 ubuntu 系统自动更新

手册/FAQ (580) 2016-05-05 09:01:53
RAKsmart国外服务器
Megalayer美国服务器

 

centos:

yum list updates

yum -y update

yum clean

reboot

 

 

ubuntu:

apt-get update

apt-get -y dist-upgrade

apt-get clean

reboot

 

 

可加到crontab里自动执行

 

THE END
RAKsmart大带宽服务器