The latest version of WordPress 2.6 has been released a few days, today have time to look to upgrade, Chang Changxian.

The virtual host does not support the operation of Shell's friend, to upgrade WordPress is a very troublesome thing, we generally choose to cover the installation of a direct, if, like me, are using the foreign host, the upload speed really make people a little anxious. If you support the hosting of the Shell (host most of the foreign support), then use SVN upgrade WordPress may be the simplest and quickest way of a svn update command to get all! You can also use svn update-r [version number] at any roll back to the original version.

SVN to be used to upgrade WordPress, first of all to have a store-to-date version of WordPress source documents. I was using WordPress official source SVN, but updated, found that from the SVN update documents and the actual release of documents, from SVN get down on all the latest version of the document, some documents have been upgraded Perhaps the next version will be released. Later that Google Code, is also used for SVN version management, so think of Google Code can be built on a project: wordpress-new-released, each time a new version of WordPress release, the first update to the document issued by the Google Code, Google Code re-use the source address of the updated space of WordPress, this can ensure the space of documents and official documents issued by the same, you can use at any time SVN roll back to the original version of a lot easier.

SVN use WordPress upgrade on the premise that your WordPress is installed SVN, is simple, Shell sign in your space, enter the following order:

svn checkout http://wordpress-new-released.googlecode.com/svn/trunk/ wordpress-folder

Here wordpress-folder of your WordPress install directory name, you can put it into the root directory of your Web site's name, so that other people will be able to directly access the domain name through your blog it. When you upgrade to WordPress, in the Shell location in your WordPress installation directory, the following order:

svn update

System from the server to download the latest files to your directory, it is easy to complete the update. In addition, wordpress-new-released records of the home page of each of WordPress release the corresponding SVN version, if you want to return to the previous version, the version of WordPress 2.5, for example, in Shell in the implementation of svn update-r3 can.

Related articles

Shell, SVN, update.