MovableType 2.661をAAA! Cafeにインストールする

MovableType 2.661をAAA! Cafeにインストールする

前準備とmt-check.cgi

MovableTypeをFTPでAAA! Cafeにアップロードし、mt-check.cgi、mt-load.cgi、mt.cgiの属性(パーミッション)を755にセットして、mt-check.cgiにアクセスすると内部サーバーエラーが出る。

これは、PerlモジュールのCwd.pmがAAA! Cafeにインストールされていないためである。そこで、AAA! CafeにインストールされているPerlのバージョンである5.005_03のtar.gzを取得し、この中にあるCwd.pmをMovableTypeのextlibディレクトリにインストールし、mt-check.cgiにアクセスすると、以下のメッセージが表示される。

Movable Type [mt-check.cgi]

SYSTEM INFORMATION:

Current working directory: /usr/home/free/home/????/public_html/mt
Operating system: freebsd
Perl version: 5.00503
(Probably) Running under cgiwrap or suexec

CHECKING FOR REQUIRED MODULES:

    Jcode...
	Your server does not have Jcode installed. Jcode is required
	for Movable Type in Japanese. Please consult the installation
	instructions for help in installing Jcode.

    HTML::Template (version >= 2)...
        Your server has HTML::Template installed (version 2.4).

    Image::Size...
        Your server has Image::Size installed (version 2.93).

    File::Spec (version >= 0.8)...
        Your server has File::Spec installed (version 0.82).

    CGI::Cookie...
        Your server has CGI::Cookie installed (version 1.20).


CHECKING FOR DATA STORAGE MODULES:

The following modules are used by the different data storage options in
Movable Type. In order run the system, your server needs to have at least
one of these modules installed.

    DB_File...
        Your server has DB_File installed (version 1.65).

    DBD::mysql...
	Your server does not have DBD::mysql installed. DBI and
	DBD::mysql are required if you want to use the MySQL database
	backend. Please consult the installation instructions for help
	in installing DBD::mysql.

    DBD::Pg...
	Your server does not have DBD::Pg installed. DBI and DBD::Pg
	are required if you want to use the PostgreSQL database
	backend. Please consult the installation instructions for help
	in installing DBD::Pg.

    DBD::SQLite...
	Your server does not have DBD::SQLite installed. DBI and
	DBD::SQLite are required if you want to use the SQLite database
	backend. Please consult the installation instructions for help
	in installing DBD::SQLite.


CHECKING FOR OPTIONAL MODULES:

The following modules are optional; if your server does not have these
modules installed, you only need to install them if you require the
functionality that the module provides.

    LWP::UserAgent...
        Your server has LWP::UserAgent installed (version 2.001).

    SOAP::Lite (version >= 0.5)...
        Your server has SOAP::Lite installed (version 0.52).

    File::Temp...
        Your server has File::Temp installed (version 0.12).

    Image::Magick...
	Your server does not have Image::Magick installed.
	Image::Magick is optional; it is needed if you would like to be
	able to create thumbnails of uploaded images. Please consult
	the installation instructions for help in installing
	Image::Magick.

これを見ると、以下のことが分かる。

  • Jcode.pmが足りないので、モジュールを取得して、extlibにインストールする。
  • データベースはDB_Fileを使う。

mt-load.cgiの実行

mt.cfgに、データベースをDB_Fileを使うように変更し、デーバーベース用のディレクトリを作成し、パーミッションを755にして、mt-load.cgiを実行する。

実行したら、セキュリティーのため、mt-load.cgiは削除しておく。

Loading initial data into system...
    Loading weblog...
    Loading author...
    Loading permissions...
    Loading templates...
    Mapping templates to blog archive types...
        Mapping template ID '12' to 'Daily'
        Mapping template ID '12' to 'Weekly'
        Mapping template ID '12' to 'Monthly'
        Mapping template ID '13' to 'Category'
        Mapping template ID '14' to 'Individual'

Done loading initial data! All went well.

VERY IMPORTANT NOTE:

Now that you have run mt-load.cgi, you will never need to run it
again. You should now delete mt-load.cgi from your webserver.

FAILURE TO DELETE mt-load.cgi INTRODUCES A MAJOR SECURITY RISK.

MovableTypeの初期設定

  • mt.cgiにアクセスすると、以下の画面になります。

    MovableType ログイン画面

  • 最初はここで、Usernameに「Melody」、Passwordに「Nelson」と入力し、ログインします。

    MovableType メニュー画面

  • ここで、「EDIT YOUR PROFILE」を選択し、次のことをする。

  1. メッセージを日本語にする
  2. ユーザー名を変更する
  3. パスワードを変更する

MovableType プロフィールの編集画面