SystemUpdates » History » Version 2

Anonymous, 09/14/2007 09:29 AM

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