Movable Type導入メモ
CPANインストール
さくらvpsの設定自分メモ - さくらVPSのCentOSにCpan入れる
CentOSで初めてのCPANモジュールインストール
Movable Typeインストールチェック
mt-config.cgiの設定
DB設定
Movable Typeインストール
ユーザ作成
imagemagickインストール
サイト、ブログ、エントリなどを作成
参考にしたページ CentOS6にMovableTypeを導入してみました
上記を参考にインストール yum install perl-CPAN
http://www.reverse-edge.com/cgi-bin/mt/mt-check.cgi の結果に基づいて、必要なモジュールをインストール install DBD::mysql mysql_configがないというエラーが出たので、mysql-develインストール yum install --enablerepo mysql56-community mysql-devel 再度DBD::mysqlをインストールしたら成功
mysql> create database mt; mysql> grant all on mt.* to mt@localhost identified by 'xxx';
以下にアクセスし、インストール http://www.reverse-edge.com/cgi-bin/mt/mt.cgi
yum install ImageMagick-perl
Enable SSI in MT (On going)
https://www.movabletype.jp/documentation/server-side-includes.html
- Enable SSI setting
Publishing Settings
Module Settings
Select "PHP Includes"
Create Template Modules.
(In my case , create PHP code)
Check "Process as PHP include"
- How to upload know-how contents
Login to admin page of MT
http://www.reverse-edge.com/cgi-bin/mt/mt.cgi
Goto "Know-how sharing"
Select menu "Asset" --> "New"
In Upload Asset UI,
Select menu "Entries" --> "New"
Select Format "None" .
Enter the following code.
-----
-----
The following codes don't work.(not resolved)
-----
-----
Memo:
During publish Entries contains SSI expression, error occured.
-------
error during save: Failed to execute INSERT INTO mt_entry_meta, .....
-------
To fix this error, The following setting is needed.
Unset above sql_mode setting in my.cnf:
#sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
sql_mode=''
http://www.kumecchi.net/weblog/2014/02/mysqlmycnfstrict-trans-tables.php