Reprint Please specify source: http://blog.csdn.net/panjunbiao/article/details/9860849
Today will try to upgrade the Drupal website from 7.22 to 7.23, below is the upgrade note.
1. Set the site to Maintenance mode (in configuration-development)
2. Back up the MySQL database
Mysqldump-uroot-p drupaldb > Drupaldb-20130809-1450.sql
3. Download the new Drupal kernel and unzip it
CD ~ wget http://ftp.drupal.org/files/projects/drupal-7.23.tar.gz
Tar-xvzf drupal-7.23.tar.gz
4. Move the original 7.22 version out of the/var/www/html, assuming move to ~/drupal-7.22
mkdir drupal-7.22
mv/var/www/html/* drupal-7.22/
And these two hidden files are also removed:
Mv/var/www/html/.gitignore drupal-7.22/
Mv/var/www/html/.htaccess drupal-7.22/
5. Move the new version to/var/www/html/
MV drupal-7.23/*/var/www/html/
MV drupal-7.23/.gitignore/var/www/html/
MV drupal-7.23/.htaccess/var/www/html/
6. Because you need to keep the old version of the Sites folder, you need to move the new version of the Sites folder away.
Mv/var/www/html/sites drupal-7.23/
7. Move the old version of the Sites folder back to/var/www/html/
MV drupal-7.22/sites/var/www/html/
8. Since 7.23 notes say no changes have been made to the settings.php, the original file is retained
Reference: Https://drupal.org/drupal-7.23-release-notes
9. Start the update via the webpage:
http://ipaddress/update.php
10. When the update is complete, turn off maintenance mode.
Reference Documentation:
https://drupal.org/node/1494290 Https://drupal.org/upgrade http://www.thegeekstuff.com/2008/09/ backup-and-restore-mysql-database-using-mysqldump/