Movable Type安装笔记第一波
@倒腾了好几天了吧,一直没有做个总结。今天Looki说他也要安装个MT试试,虽然他不见得会遇上麻烦。不过我总得总结一下,或许有人能用得着。
MT所需的配置:
Requirements
A standard web browser (Microsoft Internet Explorer 5.x or higher, Apple Safari, Mozilla or Mozilla Firefox) is required, and an FTP utility may be required.Operating Systems:
Linux BSD Mac OS X Windows ServerWeb Servers:
Apache Microsoft IIS NetscapeDatabases:
MySQL Berkeley DB PostgreSQL SQLite
我的服务器配置:
操作系统(OS): MSWin32
Perl 版本: 5.8.6 Web
服务器: Microsoft-IIS/5.0
以下以我的安装为例说一下过程。
首先,下载Movable Type,我下载的是3.32版。
设置安装路径。在根目录下建立blog文件夹,在blog文件夹里建立cgi-bin文件夹..当然,你也可以直接在根目录建立cgi-bin文件夹。在cgi-bin文件夹内安装MT,为避免混淆以后可能装得其他CGI程序,建立mt文件夹,将下载来的程序解压后上传至此。
然后,配置mt-config.cgi文件。
下载来的程序文件中没有mt-config.cgi只有mt-config.cgi-original将文件名中的-original删掉即可。在文件中需要改的是cgipath,staticwebpath,还有数据库信息。
数据库信息不说了,文件中列了三种数据库,把不是你的种类的信息行前面加上#
CGIPath http://www.dimlau.com/blog/cgi-bin/mt/
StaticWebPath http://www.dimlau.com/blog/cgi-bin/mt/mt-static/
这时候,打开地址http://www.dimlau.com/blog/cgi-bin/mt/mt-check.cgi可以看到当前 CGI 程序目录: x:/xxx/blog,而MT 主目录: x:\xxx\blog\cgi-bin\
这个现象会导致安装失败,解决办法限于篇幅,下回再说.
fin.
页面会变得很长么?期待。