User Tools

Site Tools


bock_upgrade_debian_10_-_11

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bock_upgrade_debian_10_-_11 [2025/01/09 14:04]
SLUUG Administration [Step 2 - Clone Bock and Upgrade - Take #2]
bock_upgrade_debian_10_-_11 [2025/02/26 00:40] (current)
SLUUG Administration Add cloning steps
Line 249: Line 249:
  
 ===== Step 1 - Test upgrade - Bock2 Clone 0 ===== ===== Step 1 - Test upgrade - Bock2 Clone 0 =====
 +
 +=== Possible preparation steps if copying to a clone ===
 +
 +  * Update DNS
 +      * hostname to IP
 +      * reverse for IP
 +      * SPF TXT record
 +  * Warn admins to not make changes during the copying
 +  * Shut down e-mail during the copy
 +  * Make the copy
 +  * Restart e-mail
 +  * All further actions are on the clone
 +  * /etc/hosts
 +  * /​etc/​hostname
 +  * /etc/fstab
 +  * /etc/motd
 +  * /​boot/​grub/​grub.cfg ?
 +  * /​boot/​initrd.img* ?
 +  * Others changed that haven'​t been discovered?
 +  * Change /​etc/​postfix/​main.cf ​   myhostname,​mydomain,​mydestination
 +  * Disable production mailing lists:
 +      * Stop mailman processes
 +      * mkdir /​var/​lib/​mailman/​lists-disabled/​
 +      * mv /​var/​lib/​mailman/​lists/​[a-ln-su-z]* /​var/​lib/​mailman/​lists-disabled/​
 +      * Start mailman processes
 +      * Check logs, test
 +  * Separate Letsencrypt
 +  * Separate git
 +  * Change the recipient of debian-upgrade-reminder.sh
 +  * Inform admins of the status
  
 ==== Start with basic procedure ==== ==== Start with basic procedure ====
Line 334: Line 364:
 curl http://​bock2.sluug.org curl http://​bock2.sluug.org
 ===== Step 2 - Clone Bock and Upgrade - Take #2 ===== ===== Step 2 - Clone Bock and Upgrade - Take #2 =====
 +
 +=== Summary of steps ===
 +
 +  * Edit /​etc/​apt/​sources.list
 +  * apt-get update
 +  * apt-get install python-is-python2
 +  * apt-get upgrade --without-new-pkgs
 +      * See the wiki for responses to prompts
 +  * apt-get full-upgrade
 +      * Verify mailman hasn't been removed.
 +  * Check logs
 +  * Reboot, etc.
 +  * Check logs, test, document.
 +  * apt-get --purge autoremove # With cautions
 +  * Check logs, test, document.
 +  * apt-get upgrade
 +  * apt-get autoremove
  
 [[upgrade.log]] [[upgrade.log]]
bock_upgrade_debian_10_-_11.1736453054.txt.gz · Last modified: 2025/01/09 14:04 by SLUUG Administration