WordPress 中文资料较多,相比而言 WordPress MU 的中文资料较少,无奈自己翻译些急用的,因水平很差,很多地方自己也没真懂,故将原文并录,以免误人。
2.6升级到2.7
You should read through the comprehensive Upgrading_WordPress WP upgrade documentation site before attempting to upgrade WPMU. In summary, we recommend you:
在升级WPMU 之前你应当会面阅读理解 WordPress 升级文档,我们建议你:
1. Backup WPMU 备份WPMU
2. use the ABC tool to back up as per WP 用 ABC 工具按照 WP 备份
3. upload fresh copies of the new files 上传最新版本的文件
4. click the upgrade button in the backend 在后台按升级按钮
Remember to backup your database and files. The link above has instructions to help you do this. 记得备份 数据库 和 文件,上面的说明可帮助你做这些。
If these instructions are out of date please update them. That’s much better than just complaining on the forums. 假如这份说明已过期请更新它,这强于只在论坛抱怨。
Check your Version. You can find the version of WPMU by looking at the page source of any page. If you are viewing the site you should see <meta name=”generator” content=”WordPress 2.5.1″ />, keep in mind the WPMU version was deprecated by 1 (prior to WordPressMU 2.6–see below), so 2.5.1 was really 1.5.1. 检查你的版本,你可在任何页面的源码中找到WPMU 的版本信息,你在检视时会看到 <meta name=”generator” content=”WordPress 2.5.1″ /> ,紧记WPMU 版本是忽略1的(在WordPressMU 2.6以前,看下面),所以 2.5.1 实际上是 1.5.1 。
After 1.5.1, the version number jumped to 2.6 to sync with regular WordPress and avoid confusion. It will use letters to represent minor versions. 1.5.1 之后版本号跳到 2.6和WordPress 的规则同步以避免混淆,并用字母表示次级版本号。
Under the Site Admin menu, there is a tab or sub-menu item called Upgrade. This does not change any files. If you have not upgraded any files, clicking this will do nothing. 在网站的管理菜单下,有一个叫做升级表或者二级菜单,它不改变任何文件,假如你没有任何升级文件,点击它将什么也不会做。
This is the last step in the upgrade process. When you click it, it compares the version stored in the database with the version number in the files. If they are different, it runs any needed checks against the database and makes adjustments accordingly. It will step through every blog on your system in batches of ten and display a list as it does so. 这一步是升级过程的最后一步,当你点击它,它将存于数据库里的版本和存于文件中的版本比较,如果有不同,它将针对数据库做必要的检查,并相应做出调整。它将遍历你系统中每一 blog 并十个一批列表显示它的工作。
If for some reason you can’t make it all the way through, the same upgrade process will run in the background automatically as soon as someone signs in to the admin area of their blog. 假如某种原因你没能让它从头做到尾,只要有人登陆他们的 blog 管理区,则这一升级过程就会在幕后自动进行。
Copied from the instructions for 1.5 to 2.6, cleaned up a bit, and adjusted for the changes in 2.7. 仿照 1.5 到 2.6 的说明,整理一下并调整了 2.7 中的变化。
1. Backup WPMU 备份WPMU
2. Download WPMU and unpack it into a scratch directory: 下载WPMU 并解压到草稿目录:
e.g. ~/wordpress-mu/
3. Move your wp-config.php and .htaccess files to a temporary directory: 将wp-config.php 和 .htaccess 文件移到临时目录:
e.g. mkdir ~/temp ; mv ~/www/.htaccess ~/www/wp-config.php ~/temp
4. Remove all the files in your www directory: 移除 www 目录下的所有文件:
e.g., rm ~/www/* ~/www/.htaccess
5. Copy the new files from your scratch wordpress-mu directory into your www directory: 从草稿目录 wordpress-mu 中拷贝新文件到 www 目录:
e.g., cp ~/wordpress-mu/* ~/www
6. Remove the wp-admin and wp-includes directories: 移除wp-admin 和 wp-includes 目录:
e.g., rm -rf ~/www/wp-admin ; rm -rf ~/www/wp-includes
Note: Be careful when using the rm command with the -rf flag!
注意:当用 rm 命令时务必带上 –rf 标识!
7. Copy the directories from your scratch wordpress-mu directory into your www directory: 从草稿目录 wordpress-mu 中拷贝新目录到 www 目录:
e.g. cp -R ~/wordpress-mu/wp-admin ~/www ; cp -R ~/wordpress-mu/wp-includes ~/www
8. Copy the files wp-content/index.php and wp-content/blogs.php from your scratch wordpress-mu directory into your www directory: 从草稿目录 wordpress-mu 中拷贝文件wp-content/index.php 和 wp-content/blogs.php到 www (下相应)目录:
e.g. cp ~/wordpress-mu/wp-content/index.php ~/www/wp-content ; cp ~/wordpress-mu/wp-content/blogs.php ~/www/wp-content
9. Copy your wp-config.php and .htaccess files back from your temporary directory into your www directory: 从临时目录中拷回你的wp-config.php 和 .htaccess文件到 www 目录:
e.g. cp ~/temp/.htaccess ~/temp/wp-config.php ~/www
10. Add the following lines to your ~/www/wp-config.php file: 将以下内容行加到你的~/www/wp-config.php 文件中:
1. After “$base = ‘/’;” add: 在 “$base = ‘/’;” 后面加:
1. define(’DOMAIN_CURRENT_SITE’, ‘yourdomain.tld’); // don’t include “http://www.” at the beginning 你的域名前不要加“http://www.”
2. define(’PATH_CURRENT_SITE’, ‘/’); // this should be the path relative to your domain. For instance, if your WPMU installation is located at ‘http://www.example.com/blogs/’, then the value of this constant should be set to ‘/blogs/’ instead of just ‘/’ 这里应当是相对于域的路径。假设你的 WPMU 安装位置是‘http://www.example.com/blogs/’ 则这里的内容就应当用 ‘/blogs/’ 代替原先的 ‘/’
3. define(’BLOGID_CURRENT_SITE’, ‘1′);
2. After “define(’SECURE_AUTH_SAULT’ …”: 在“define(’SECURE_AUTH_SAULT’ …” 后面加:
1. define(’NONCE_KEY’, ”); // replace ” with value from http://api.wordpress.org/secret-key/1.1/从该地址取得值替换掉 ”
2. define(’AUTH_SALT’, ”); // replace ” with value from http://api.wordpress.org/secret-key/1.1/ 从该地址取得值替换掉 ”
11. Login, run site wide blog upgrades by visiting the Site Admin -> Upgrade tab. If you have a lot of blogs, it may take a while. 登录,通过访问网站管理进行网站的远程 blog 升级 –> 升级列表。假如你有很多 blog,这可能要花一些时间。
12. Check your file ownership, and permissions if you have image issues, or upload problems. Also check any login issues. 如果有图像结果检查你的文件所有者和操作权限,或者上报问题。也检查一下每个登录结果。
中文语言包安装:
Copy them to your WPMU’s wp-contents/languages folder. And you can select Chinese in backend. 拷贝它们到你WPMU 的wp-contents/languages 文件夹,然后在后台选择中文。
WordPress 中文文档:


