HOMEインデックス

自宅サーバー構築記


32.Movable type 3.35 導入メモ

a. はじめに

  • Movable type 3.35をインストールしたので導入メモを残すことにした。前バージョンは2.661。

b. プログラムをインストールする。

  • バージョン3.2からフルパッケージとアップグレードパッケージの区別がなくなったらしく3.35のパッケージをシックスアパートのサイトからダウンロード。解凍しo-hat.net/cgi-bin/mtに全てアップロ−ド。パーミッション755に修正
  • 今回修正する必要があるのは「mt-config.cgi-original」をコピーして「mt-config.cgi」を作成。以下のように修正

## Movable Type configuration file ##
          ## ##
## This file defines system-wide settings for Movable Type ##
## In total, there are over a hundred options, but only those ##
## critical for everyone are listed below. ##
## ##
## Information on all others can be found at: ##
## http://www.sixapart.jp/movabletype/manual/3.3/config
################################################################
##################### REQUIRED SETTINGS ########################
################################################################
# The CGIPath is the URL to your Movable Type directory
CGIPath http://o-hat.net/cgi-bin/mt/
# The StaticWebPath is the URL to your mt-static directory
# Note: Check the installation documentation to find out
# whether this is required for your environment. If it is not,
# simply remove it or comment out the line by prepending a "#".
StaticWebPath /movable-static/
#================ DATABASE SETTINGS ==================
# REMOVE all sections below that refer to databases
# other than the one you will be using.
##### PostgreSql #####
ObjectDriver DBI::postgres
Database mt
DBUser xxx
DBPassword xxx
DBHost localhost

  • movable-staticの前の内容は全て削除してmt-staticの内容をすべてにコピー。
  • cgi-bin/mt/mt-check.cgiを呼び出して必要なモジュールのチェック。
  • DBD::Pg(Version >= 1.32)のエラーがでたので、最新版のDBD-pg-1.49,DBI-1.45をインストール

# tar zxvf DBD-Pg-1.49.tar.gz
# cd DBD-Pg-1.49
# perl Makefile.PL
# make install
# tar zxvf DBI-1.45.tar.gz
# cd DBI-1.45
# perl Makefile.PL
# make install

  • 再び/cgi-bin/mt/mt-check.cgiを呼び出して確認。OKなので/cgi-bin/mt/mt.cgiを呼び出す。ログインID、パスワードは従来のものでログオン。
  • データベースのアップグレードを行いインストール完了。

HOMEインデックス