Updating drupal 7 core (local procedure)
Note: in instructions below, 7.ZZ is installed version of drupal 7.
- Switch site into maintenance mode
- Copy latest drupal-7.XX.tar.gz into /root/downloads
- cd /home/notes/untar_here
- tar zxvf /root/downloads/drupal-7.XX.tar.gz
- /root/fix_drupal_perms drupal-7.XX (old)
- cd drupal-7.XX (old)
- mv drupal-7.XX ..
- cd ../drupal-7.XX
- rm -fr sites
- rsync -vauH ../drupal/sites .
- cd ..
- service httpd stop
- rm drupal (softlink)
- ln -s drupal-7.XX drupal
- service httpd start
- Visit https://notes.bitfunnel.net/update.php
- Take site out of maintenance mode