我想在debian上裝Moveable Type,試了試、書籍文件看了看,還是找不出來問題出在那裡,請大家給我指導一下吧!
我在debian上以apt安裝了:apache、proftpd、ssh
=================================
blog:/usr/lib/cgi-bin# perl -v
This is perl, v5.6.1 built for i386-linux
Copyright 1987-2001, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
=======================================
下載MT-2.661-full-lib.tar.gz、MT-2.661-full-lib.new.tar.gz,把這兩MT-2.661-full-lib個壓縮檔解到MT-2.661-full-lib裡去,再把mt.diff也放進去。
#cd MT-2.661-full-lib
#patch -p1 < mt.diff
#whereis cgi-bin
cgi-bin: /usr/lib/cgi-bin
我用vi更改了http.conf,改了兩個東西,
--------------------------------------------
DocumentRoot /usr/lib/cgi-bin/
<IfModule mod_userdir.c>
UserDir www
</IfModule>
--------------------------------------------
#cd MT-2.661-full-lib
#ls
LICENSE index.html mt-comments.cgi mt-tb.cgi mt.diff tmpl
LICENSE-COMMERCIAL lib mt-db-pass.cgi mt-view.cgi plugins
docs mt-add-notify.cgi mt-load.cgi mt-xmlrpc.cgi schemas
extlib mt-blacklist.cgi mt-search.cgi mt.cfg search_templates
images mt-check.cgi mt-send-entry.cgi mt.cgi styles.css
#cp -rf * /usr/lib/cgi-bin/
#mkdir mt-static/
#cp -rf docs mt-static/
#cp -rf images mt-static/
#cp -rf styles.css mt-static/
#chmod 755 cgi-bin/mt*.cgi
#mkdir db
#cjmod 777 db
編輯mt.cfg
Path http://140.111.145.5/cgi-bin/
NoHTMLEntities 1
PublishCharset UTF-8
我想資料庫的部份應該沒問題吧!
我是下載full的版本,就用Berkeley DB就好了。
以瀏覽器開啟http://140.111.145.5/cgi-bin/mt-load.cgi成功,見抓圖http://140.111.145.5/~work/blog04.png
但是要進入設定畫面就有問題了,我就是卡在這裡:
http://140.111.145.5/cgi-bin/mt.cgi?use ... ord=Nelson
,見抓圖http://140.111.145.5/~work/blog05.png
請教大家我大概是卡在那裡?
我的mt.cfg檔在
http://140.111.145.5/~work/mt.cfg
http://140.111.145.5/~work/blog01.png
http://140.111.145.5/~work/blog03.png
http://140.111.145.5/~work/blog04.png
http://140.111.145.5/~work/blog05.png