升级到MovableType 4.2 Pro

| 3 Comments | 1 TrackBack

今天花了点时间把本Blog升级到MovableType 4.2 Pro。之前使用的是MovableType 4.14 Personal。

这个4.2 Pro版本是前几天发布的,今天才有时间做了升级。

下面简单介绍一下DavidYin升级系统的过程。
1)备份
最重要的准备工作就是备份,我的备份共有三部分。
备份数据库,是通过phpmyadmin来做的,把整个数据库给备份下来。
备份文章,是通过MovableType自己的Export功能来做的。
备份所有的文件,就是通过SSH登录主机,然后用tar命令把所有的静态文件,包括MT自身的系统文件全部打包压缩,备份下来。
做外这三步,基本上就不会担心之后的升级有错误了,一旦升级失败,可以恢复到原状。

2)升级
升级的方法我是在主机直接操作的。
SSH登录主机;

wget http://www.movabletype.com/downloads/blogger/MT-4.2-en.tar.gz

下载系统;
tar xzvf MT-4.2-en.tar.gz

解压缩;
cd MT-4.2-en
cp -f . ~/your site/mtcgi

覆盖原有的MT系统文件。

然后当登入MT系统时,会提示升级。
mt42-upgrade-1.png
点击"Begin Upgrade"后,会要求输入帐号密码,然后开始升级数据库。


mt42-upgrade-2.png
数据库的升级包括下面这些项目:

* Upgrading database from version 4.0036.
* Upgrading table for MT::Entry::Meta records...
* Upgrading metadata storage for Entries (100%)
* Upgrading table for MT::Asset::Meta records...
* Upgrading metadata storage for Assets (100%)
* Upgrading table for MT::Author::Meta records...
* Upgrading metadata storage for Users (100%)
* Upgrading table for MT::TBPing::Meta records...
* Upgrading table for MT::Category::Meta records...
* Upgrading table for MT::Template::Meta records...
* Upgrading metadata storage for Templates (100%)
* Upgrading table for touch records...
* Upgrading table for MT::Blog::Meta records...
* Upgrading metadata storage for Blogs (100%)
* Upgrading table for MT::Comment::Meta records...
* Upgrading table for Entry records...
* Upgrading table for Asset Placement records...
* Upgrading table for Archive Mapping records...
* Upgrading table for User records...
* Upgrading table for User records...
* Upgrading table for Field records...
* Upgrading table for Template records...
* Upgrading table for Entry records...
* Upgrading table for Category Placement records...
* Upgrading table for Asset records...
* Upgrading table for Asset Placement records...
* Upgrading table for User records...
* Upgrading table for Tag records...
* Upgrading table for TrackBack records...
* Upgrading table for Category records...
* Upgrading table for fileinfo records...
* Upgrading table for Object Score records...
* Upgrading table for Job Error records...
* Upgrading table for Job records...
* Upgrading table for Tag Placement records...
* Upgrading table for Comment records...
* Upgrading table for Contact records...
* Creating new template: 'Userpic'.
* Creating new template: 'Search'.
* Creating new template: 'New entry notification'.
* Creating new template: 'Registration Form'.
* Creating new template: 'Status Message'.
* Creating new template: 'GlobalJavaScript'.
* Creating new template: 'Footer'.
* Creating new template: 'Profile Error'.
* Creating new template: 'Registration Confirmation'.
* Creating new template: 'Login Form'.
* Creating new template: 'Simple Header'.
* Creating new template: 'Form Field'.
* Creating new template: 'Password Reset Form'.
* Creating new template: 'Profile Edit Form'.
* Creating new template: 'Registration notification'.
* Creating new template: 'Email verification'.
* Creating new template: 'Sign In'.
* Creating new template: 'Profile View'.
* Creating new template: 'Navigation'.
* Creating new template: 'Profile Feed'.
* Creating new template: 'Simple Footer'.
* Creating new template: 'Header'.
* Assigning junk status for TrackBacks... (100%)
* Assigning junk status for comments... (100%)
* Moving metadata storage for categories...
* Moving metadata storage for categories...
* Removing unnecessary indexes...
* Assigning embedded flag to asset placements... (100%)
* Assigning author basename... (100%)
* Replacing file formats to use CategoryLabel tag... (100%)
* Updating template build types... (100%)
* Assigning entry comment and TrackBack counts... (100%)
* Assigning all permissions to blog administrator... (100%)
* Recover permissions of system administrators... (100%)
* Database has been upgraded to version 4.0067.
* Plugin 'Professional Pack' upgraded successfully to version 1.2 (schema version 1.2).
* Plugin 'Community Pack' installed successfully.

点击"Return to Movable Type",进入MovableType系统主界面。
mt42-upgrade-3.png

至此,系统升级完成了。

3)重建模板
我是首先应用系统自身的模板,以替换原有的模板,同时备份原来的模板。
之后再一点点的修改,做到同原来的样子一样。目前还没有计划重做模板。

其实最先的第一第二步,我只花了大约15分钟,可是之后的重建模板却用了约1个小时。

最后重建所有的单页归档文件,用时13分10秒。


作者: David Yin
原载: SEO 网站优化推广
版权所有。转载时必须以链接形式注明作者和及本声明。

请点击鲜果推荐,让更多的读者受益:

相关的文章

1 TrackBack

TrackBack URL: http://seo.g2soft.net/mt-cgi/mt-t-1102.cgi/2191

系统升级 from FreeThinking on August 18, 2008 3:24 PM

本Blog也乘着MovableType发布4.2版的东风,于昨天升级了系统,今天进一步改进了设置,换了一个同原先的模板相似的模板,粉色的。 这里对于MovableType 4.2 的重建效率,再次有了认识。 在升级后,重建的时间花了很久都没有好,一直挂在那里。 原先以为是Dreamhost的系统对于资源的限制,后来才发觉是没有打开模板缓存,造成不断的调用数据库,甚至有几次都出现超时错误。 现在我设置为,Widget模板中的,最近帖子,最近留言,和tag cloud都有缓存,重建本Blog,也只用了1... Read More

3 Replies

| Add a Reply

Leave a comment

关于

David Yin
研究(SEO)搜索引擎优化排名和(PPC)竞价排名技术,总结搜索营销学的各种方法和趋势。
– David Yin
Email:seo[AT]g2soft.net

About this Entry

This page contains a single entry by David Yin published on August 17, 2008 4:46 PM.

我在海内干了什么 was the previous entry in this blog.

网站优化推广评论 Batch 7 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.21-en

订阅SEO 网站优化推广