SystemUpdates » History » Version 1

Anonymous, 09/14/2007 09:29 AM

1 1 Anonymous
= System Updates =
2 1 Anonymous
The operating system of the master node and each slave node must be configured to be updated automatically with security relevant patches. 
3 1 Anonymous
4 1 Anonymous
 * Modify ''/etc/yum.conf'' in order to allow connections through the proxy server:
5 1 Anonymous
  {{{
6 1 Anonymous
  #The proxy server – proxy server:port
7 1 Anonymous
  proxy=http://wwwcache.cs.nott.ac.uk:3128
8 1 Anonymous
  }}}
9 1 Anonymous
10 1 Anonymous
 * Modify ''/etc/yum.repos.d/CenOS-Base.repo'' in order to allow a local mirror to be used for the updates:
11 1 Anonymous
  {{{
12 1 Anonymous
  baseurl=http://earth.cs.nott.ac.uk/ …
13 1 Anonymous
  }}}
14 1 Anonymous
15 1 Anonymous
 * For automatic nightly, install the ''yum-cron'' package. Enter at the command line of the master node and each slave node:
16 1 Anonymous
  {{{
17 1 Anonymous
  yum  install  yum-cron
18 1 Anonymous
  }}}
19 1 Anonymous
 
20 1 Anonymous
 * Make the ''yum'' daemon start at boot time. Enter at the command line of the master node and each slave node:
21 1 Anonymous
  {{{
22 1 Anonymous
  chkconfig  --add  yum 
23 1 Anonymous
  chkconfig  yum  on
24 1 Anonymous
  }}}
25 1 Anonymous
26 1 Anonymous
 * Start the ''yum'' daemon. Enter at the command line of the master node and each slave node:
27 1 Anonymous
  {{{
28 1 Anonymous
  /sbin/service  yum  start
29 1 Anonymous
  }}}
30 1 Anonymous
31 1 Anonymous
Note that ''yum-updatesd'' is the new daemon for nightly updates. 
32 1 Anonymous
33 1 Anonymous
 * Disable ''yum-updatesd'' to start up at boot time. Enter at the command line of the master node and each slave node:
34 1 Anonymous
  {{{
35 1 Anonymous
  chkconfig  yum-updatesd  off
36 1 Anonymous
  }}}
37 1 Anonymous
38 1 Anonymous
 * Stop the ''yum-updatesd'' daemon. Enter at the command line of the master node and each slave node:
39 1 Anonymous
  {{{
40 1 Anonymous
  /sbin/service  yum-updatesd  stop
41 1 Anonymous
  }}}