Movable Type 2.65 インストール 初期化

Movable Typeを初期化するために、phpMyAdminをダウンロードします。
ダウンロードしたファイルを下記の通りコピー(名前も変更)します。

cp phpMyAdmin-2.5.6 /Library/WebServer/Documents/phpMyAdmin

emacs等のエディタで、phpMyAdminのconfig.inc.phpを修正します。
#emacs /Library/WebServer/Documents/phpMyAdmin/config.inc.php

   1. $cfg['PmaAbsoluteUri'] を下記の通り変更。
     $cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin';

   2.$cfg['Servers'][$i]['user']にMySqlの管理者IDをセット。
   3.$cfg['Servers'][$i]['password']にMySqlの管理者のパスワードをセット。

http://localhost/phpMyAdmin/index.phpを実行し、ユーザを追加します。

Movable Typeのコンフィグレーションファイルをemacs等のエディタで編集します。
#emacs /Library/WebServer/CGI-Executables/mt.cfg
   1.CGIPath http://XXXX/cgi-bin/ ・・・CGIのURLの設定
   2.ObjectDriver DBI::mysql    ・・・データベースの指定
   3.Database mt          ・・・データベース名
   4.DBUser XXXX         ・・・先ほど設定したユーザ名
   5.DBSocket /tmp/mysql.sock   ・・・ソケットファイルの格納場所
   6.StaticWebPath         ・・・URLの設定
   7.NoHTMLEntities 1       ・・・コメントアウトを外す
   8.PublishCharset UTF-8     ・・・ UTF-8に変更

最後に、データベースのパスワード保存用ファイルにパスワードを書き込みます。
#emacs /Library/WebServer/CGI-Executables/mt-db-pass.cgi

これで終わり
http://localhost/cgi-bin/mt/mt.cgiで、初期画面を立ち上げます。


-----
Webサイト人気blogこちら

Posted by chocolat at 2004年01月23日 17:11
Apple Storeへようこそ
トラックバック

このエントリーのトラックバックURL:
http://blog.kitamura.fm/cgi-bin/mt/mt-tb.cgi/286

コメント
コメントする









名前、アドレスを登録しますか?






おすすめ
shuffle04_125_125
リンク
blog.kitamura.fm/mt/server/
Syndicate this site (XML)


Ads
Powered by
Powered by Apple Computer's
Macintosh with Darwin





Powered by MySQL that is the world's most popular open source database.



Powered by PHP that is a scripting language.



Powerd by Movable Type
with MT-Blacklist