事先将MT及常用的Plugin上传到/home/duecare目录下。下面是一些操作命令记录:
修改mt-config.cgi文件内容如下:
登录phpMyAdmin配置如上内容的数据库,注意数据库名称和用户名,BlueHost上的数据库名和用户名缺省都在前面加上系统的帐号名作前缀。
配置完成后检查确认:http://domain-name/cgi-bin/mt/mt-check.cgi
如果检查通过即可进行初始化:http://domain-name/cgi-bin/mt/mt.cgi
剩下的是Step-by-Step了。
cp mt-3.33.tar.gz /var/www/cgi-bin
tar zxvf mt-3.33.tar.gz
mv MT-3.3 mt
mv mt/mt-static ../mt-static
cp mt/mt-config.cig-original mt/mt-config.cgi
修改mt-config.cgi文件内容如下:
## Movable Type configuration file ##
######## REQUIRED SETTINGS #############
# The CGIPath is the URL to your Movable Type directory
CGIPath http://domain-name/cgi-bin/mt/
# The StaticWebPath is the URL to your mt-static directory
StaticWebPath http://domain-name/mt-static
#=========== DATABASE SETTINGS =============
##### MYSQL #####
ObjectDriver DBI::mysql
Database blod_db_name
DBUser blog_db_user
DBPassword blog_db_pwd
DBHost localhost
登录phpMyAdmin配置如上内容的数据库,注意数据库名称和用户名,BlueHost上的数据库名和用户名缺省都在前面加上系统的帐号名作前缀。
配置完成后检查确认:http://domain-name/cgi-bin/mt/mt-check.cgi
如果检查通过即可进行初始化:http://domain-name/cgi-bin/mt/mt.cgi
剩下的是Step-by-Step了。
»» 继续阅读 安装配置Movable Type ...

