MovableType:クリーンインストール方法
MovableTypeをダウンロード
ダウンロードしてきた「MT7-R4601」フォルダをmtadminに名前変更
mtadminの中のmt-staticフォルダをコピーしてmtadminと同階層へペースト
(管理画面などでmt-staticフォルダがないと崩れるケースがあるため)
mtadmninの中のmt.cgiをadmin_xxx.cgiへ名前変更
mt-config.cgi-originalを複製し、mt-config.cgiと名前変更
中身を以下のように本番サーバーに合わせる
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.movabletype.org/documentation/appendices/config-directives/ ## ################################################################ ##################### REQUIRED SETTINGS ######################## ################################################################ # The CGIPath is the URL to your Movable Type directory CGIPath /mtadmin/ # 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 /mtadmin/mt-static/ StaticFilePath /virtual/xxx/home/mtadmin/mt-static AdminCGIPath /mtadmin/ AdminScript admin_xxx.cgi #================ DATABASE SETTINGS ================== # CHANGE setting below that refer to databases # you will be using. ##### MYSQL ##### ObjectDriver DBI::mysql Database データベース名 DBUser データベースのユーザー名 DBPassword パスワード DBHost localhost ## Change setting to language that you want to using. #DefaultLanguage en_US #DefaultLanguage de #DefaultLanguage es #DefaultLanguage fr DefaultLanguage ja #DefaultLanguage nl ImageDriver ImageMagick HTMLPerms 0644 AssetFileExtensions gif,jpe?g,png,pdf,mp3, docx?,xlsx CGIMaxUpload 70200000
そして、本番サイトへmtadmin、mt-staticをアップしディレクトリのパーミッションを子ディレクトリも含め755へ変更
.cgiファイルもパーミッションを755へ変更
そして、http://xxx.com/mtadmin/admin_xxx.cgiへアクセスしてクリーンインストール
ログインしてテーマ「rainer」を選択してサイトを1つ作ります。
これでクリーンインストールは完了となります。