#本ウェブサイトのMT(Movable Type)バージョンアップを行った手順についてここに記します。
#MTに限らず利用したサーバ(今回はXserver)、FTP接続ツール(今回はFFFTP)の環境設定を含む
#一連の流れを記載しておりますので皆さんがお使いの環境に合わせ必要箇所を参考下さい。
#また、各々詳細はシックス・アパート社マニュアルを参照下さい。
MT3.3インストール設定手順
【関連記事】
シックス・アパート社マニュアル:http://www.sixapart.jp/movabletype/manual/3.3/index.html
<作業の流れ>
■MTの設定前にブラウザからXserver上の設定を行う
↓
■sixapart社サイトからMTをダウンロードする
↓
■ダウンロードしたMTファイルを加工する
↓
続編をご覧下さい
<その他注意点>
※ドメイン登録がDNSサーバに反映される期間:1~3日前後
※ネームサーバの登録がDNSサーバに反映される期間:1~3日前後
#お使いのサーバ、取り巻く環境により1週間近くかかることもあります
■MTの設定前にブラウザからXserver上の設定を行う

サーバパネルにログオン

<サーバパネル>

「ドメイン設定」→「ドメインの追加」を押下し、追加するドメインを設定する

※設定後は「ドメインの一覧」で確認できる
サーバパネルに戻り、「MySQL設定」→「MySQLの追加」を押下し、登録する

「MySQLユーザの追加」を押下し、登録する

※設定後は「MySQLの一覧」や「MySQLユーザの一覧」で確認できる
「MySQLの一覧」を押下し、追加したMySQLユーザをプルダウンメニューで選択し、“アクセス権未所有ユーザ”の「追加」を押下

※“アクセス権所有ユーザ”に追加したMySQLユーザが加わっている事を確認
■sixapart社サイトからMTをダウンロードする

※MTライセンスを購入後ダウンロードを行う
■ダウンロードしたMTファイルを加工する
<ダウンロードしたファイルを解答した状態>

mt-config.cgi-originalファイルのコピーし、mt-config.cgi というファイル名で保存
mt-config.cgi を加工する
#オリジナルファイルをそのままリネームしても良いですが念の為、バックアップを取る事をお勧めします
#メモパッドではファイル加工しずらいのでテキストエディタ(今回はTeraPad)等使った方が良いでしょう
<加工前ファイル(mt-config.cgi の加工前、またはmt-config.cgi-originalファイル)>
## 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://www.example.com/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 http://www.example.com/mt-static
# REMOVE all sections below that refer to databases
# other than the one you will be using.
##### MYSQL #####
ObjectDriver DBI::mysql
Database DATABASE_NAME
DBUser DATABASE_USERNAME
DBPassword DATABASE_PASSWORD
DBHost localhost
##### POSTGRESQL #####
ObjectDriver DBI::postgres
Database DATABASE_NAME
DBUser DATABASE_USERNAME
DBPassword DATABASE_PASSWORD
DBHost localhost
##### SQLITE #####
ObjectDriver DBI::sqlite
Database /path/to/sqlite/database/file
##### BERKELEYDB #####
DataSource /path/to/database/directory
<加工後ファイル(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://www.********/
# 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 http://www.********
#================ DATABASE SETTINGS ==================
# REMOVE all sections below that refer to databases
# other than the one you will be using.
##### MYSQL #####
ObjectDriver DBI::mysql
Database ********_**
DBUser ********_****
DBPassword ********
DBHost localhost
続編へ続く
