Drupal 7.23 Version Upgrade notes

Source: Internet
Author: User
Tags drupal mysql database

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/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.