Diferencia entre revisiones de «Upgrade Debian: Etch to Lenny»

De gacq wiki
Saltar a: navegación, buscar
(Notes for Xen users)
Línea 26: Línea 26:
 
My way:
 
My way:
 
== DomUs ==
 
== DomUs ==
#Upgrade all DomUs
+
foreach DomU in DomUs do {
#Install kernel modules
+
;Upgrade DomU
#Install udev
+
 
#Shutdown all DomUs
+
;Install kernel modules
 +
aptitude install linux-modules-2.6.26-2-xen-686
 +
 
 +
;Install udev
 +
aptitude install udev
 +
 
 +
;Shutdown
 +
init 0
 +
}
  
 
== Dom0 ==
 
== Dom0 ==
#Upgrade Dom0
+
;Upgrade Dom0
##Install xen kernel and hypervisor  
+
 
##Change kernel and initrd for all DomUs
+
;Install xen kernel and hypervisor  
#Reboot
+
 
 +
;Change kernel and initrd for all DomUs
 +
 
 +
;Reboot

Revisión del 22:30 17 jun 2009

Add new public key

gpg --keyserver wwwkeys.eu.pgp.net --recv-keys  9AA38DCD55BE302B
gpg --armor --export 9AA38DCD55BE302B | sudo apt-key add -

Update packages

1) Edit /etc/apt/sources.list and replace "etch" to "lenny"

2) Do the upgrade

aptitude update
aptitude install dpkg aptitude apt
aptitude full-upgrade

Configuration files:

  • Except special configurations overwrite /etc/securetty

Problems generated by the upgrade:

  • salsauth not staring because now require run directory
  • courier-imap-ssl does not work with fetchmail because of SSL version issue
  • MoinMoin stop working (http error 500)
  • Trac stop working
  • Mailman switch default language english
  • Xen kernel not upgraded / Hypervisor not upgraded too
  • udev

Notes for Xen users

My way:

DomUs

foreach DomU in DomUs do {

Upgrade DomU
Install kernel modules
aptitude install linux-modules-2.6.26-2-xen-686
Install udev
aptitude install udev
Shutdown
init 0

}

Dom0

Upgrade Dom0
Install xen kernel and hypervisor
Change kernel and initrd for all DomUs
Reboot