Projekt

Allgemein

Profil

Aktionen

Setup yum-cron » Historie » Revision 1

Revision 1/2 | Weiter »
Jeremias Keihsler, 13.01.2017 12:59


Install Procedure for yum-cron

Requirements

To install yum-cron you will need the following:
  • a installed and supported operating system (e.g. CentOS 6.x)
  • root-access
  • a fast internet connection

Preliminary Note

This procedure is based on a documentation supplied by [[http://www.gtkdb.de/index_7_1865.html]]

yum-cron allows for automated updates of CentOS.

Install yum-cron

yum install yum-cron

Configure yum-cron

the configuration of yum-cron happens by

vim /etc/sysconfig/yum-cron

most settings may be left with default values, maybe you want to send the output to someone else but yourself

MAILTO=user@example.com
DAYS_OF_WEEK="45" 
CLEANDAY="4" 

Automatic yum-cron

Manually start the service

/etc/init.d/yum-cron start

you can set the runlevels of yum-cron by
chkconfig yum-cron on

you can check the runlevels by
/sbin/chkconfig --list yum-cron

you should get an output like:
yum-cron     0:off   1:off   2:on   3:on   4:on   5:on   6:off

Von Jeremias Keihsler vor fast 8 Jahren aktualisiert · 1 Revisionen