升级 WordPress 到 2.8.1

Category:Wikipedians who use WordPress
Image via Wikipedia

升级的步骤非常简单:

  1. 从官方下载 latest.zip ,解压缩到 Web 服务器的根目录的上一层,我喜欢用软连接,因为这样随时可以 rollback。原来的 wordpress2.7.1 目录软连接到 blog 目录,新的解压后的目录修改为 wordpress2.8.1 , 然后重新软连接到 blog
  2. 拷贝2.7.1 目录下 wp-config.php 和 .htaccess 到新的目录下
  3. 拷贝原来的模板文件: cp -r ../wordpress-2.7.1/wp-content/themes/* wp-content/themes/
  4. 在浏览器上运行 /wp-admin/upgrade.php 升级数据库
  5. 删除或者重命名 wp-admin 目录下的 install.php 和 upgrade.php

Ctr-F5 刷新自己的网站即可看到系统已经升级成功。

Reblog this post [with Zemanta]

Post to Twitter

相关文章

You can leave a response, or trackback from your own site.

One Response to “升级 WordPress 到 2.8.1”

  1. [...] Bug 这么快就被发现,马上有新版本紧急需要更新了。根据前次的升级2.8.1 [...]

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word