Results tagged “EnjoyYourPosting” from Due Care, Due Diligence

January 17, 2007

事先将MT及常用的Plugin上传到/home/duecare目录下。下面是一些操作命令记录:
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了。

查看首页最近的更新,或在所有归档中查看所有文章。

站点信息|SiteInfo

文章数:136 | 评论数:5

总访问量:

Creative Commons License
This weblog is licensed under a Creative Commons License.

站点链接|Blogroll

Powered by Movable Type 4.1