본문 바로가기
OS/Linux

yum / update / 자동 업데이트

by 하하IT 2020. 4. 17.

yum -y install yum-cron

systemctl enable yum-cron

systemctl restart yum-cron

 

 

 

설정파일 

vi /etc/yum/yum-cron.conf

 

 

 

..

[email]

# The address to send email messages from.

# NOTE: 'localhost' will be replaced with the value of system_name.

email_from = root@localhost

 

# List of addresses to send messages to.

email_to = root

 

# Name of the host to connect to to send email messages.

email_host = localhost

 

..

 

'OS > Linux' 카테고리의 다른 글

linux / centos7 / hostname  (0) 2020.04.19
crontab / crond  (0) 2020.04.17
ssh / port 수정  (0) 2020.04.17
Centos 7 / network config CLI  (0) 2020.04.16
CentOS 설치 후 기본작업내용  (0) 2019.04.15