安装Movable Type到Ubuntu 6.10 Server

| 2 Comments

MovableType 是我最喜欢用的Blog平台,也是最熟悉的。

原来一直用的是基于Windows的平台,加上MySQL Server来搭建,今天则是用自己的Ubuntu 6.10服务器来搭建。

1)首先介绍一下现有的服务器和有关的服务。
Ubuntu 6.10 Server
Apache 2
MySQL 5
Perl Module 5.8.8
在服务器上已经有了PHP 5的支持,还有就是安装了Webmin这个非常之棒的远程Web控制管理界面。

2)在Webmin的MySQL管理界面,Global options > User Permissions ,添加新用户mtuser,密码mtpass;再添加一个数据库mt-test;之后在Global options > Database Permissions 里建立新用户同该数据库的联系。

3)下载MovableType,并且解压到/usr/lib/cgi-bin/下,改名为mt
这样整个文件目录都在 /usr/lib/cgi-bin/mt/下。

4)在/var/www/下新建目录blog目录,权限777,将mt目录中的mt-static文件夹移动到/var/www/blog/目录下并给予777的权限;修改 /usr/lib/cgi-bin/mt/目录下的mt-config.cgi-original文件:
其一:修改CGIPath为
http://ubuntu.g2soft.net/cgi-bin/mt/
其二:修改StaticWebPath为
http://ubuntu.g2soft.net/blog/mt-static
其三:

##### MYSQL #####
ObjectDriver DBI::mysql
Database mt-test
DBUser mtuser
DBPassword mtpass
DBHost localhost

5)用http://ubuntu.g2soft.net/cgi-bin/mt/mt-check.cgi来检查配置有没有什么问题,当页面最下面出现“you are ready to go!"的时候,输入http://ubuntu.g2soft.net/cgi-bin/mt/mt.cgi来安装……

至此,MovableType在Ubuntu6.10服务器上的安装也就完成了。
那么这个安装的前台,给用户看的就是http://ubuntu.g2soft.net/blog
而所谓的编辑管理后台,就是http://ubuntu.g2soft.net/cgi-bin/mt/

本安装的过程参考了一切随风的Ubuntu Edgy下搭建本地Movable Type

blog comments powered by Disqus

关于作者

Archives

OpenID accepted here Learn more about OpenID
Powered by Movable Type 5.12

Tags

About this Entry

This page contains a single entry by David Yin published on April 9, 2007 11:15 AM.

Happy Easter was the previous entry in this blog.

八个Ubuntu参考网站 is the next entry in this blog.

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

Online Tools

Code Convertor
Add to Technorati Favorites