6.0から 6.0.3へのアップグレード。
基本的に 5.2.7から 6.0へのアップグレードと同じ
4024-0.shunzip MT-6_0_3.zip
rsync -a MT-6.0/.htaccess MT-6.0.3/.htaccess
rsync -a MT-6.0/mt-config.cgi MT-6.0.3/mt-config.cgi
rsync -a MT-6.0/codes/ MT-6.0.3/codes/
rsync -a MT-6.0/plugins/macros.pl MT-6.0.3/plugins/macros.pl
rsync -a MT-6.0/plugins/diving/ MT-6.0.3/plugins/diving/
rsync -a MT-6.0/plugins/SyntaxColor/ MT-6.0.3/plugins/SyntaxColor/
rsync -a MT-6.0/plugins/footnote.pl MT-6.0.3/plugins/footnote.pl
rsync -a MT-6.0/extlib/bradchoate/ MT-6.0.3/extlib/bradchoate/
ln -sf MT-6.0.3 mt
後は再構築を。
別環境で新規インストールをしてみたメモ。
asahina@lachesis:~/web/lachesis/$ unzip MT-6_0_3.zip
asahina@lachesis:~/web/lachesis/$ ln -sf MT-6.0.3 mt
asahina@lachesis:~/web/lachesis/$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 5.0.87 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database mtdb character set utf8;
mysql> grant all on mtdb.* to mtuser@localhost identified by 'XXXXXX';
mysql> ^D
asahina@lachesis:~/web/lachesis/$ cat >mt/.htaccess
Options +ExecCGI
^D
asahina@lachesis:~/web/lachesis/$ cat >mt/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.jp/documentation/config
#======== REQUIRED SETTINGS ==========
CGIPath http://lachesis/mt/
StaticWebPath http://lachesis/mt/mt-static/
StaticFilePath /home/asahina/web/lachesis/mt/mt-static
#======== DATABASE SETTINGS ==========
ObjectDriver DBI::mysql
Database mtdb
DBUser mtuser
DBPassword XXXXXX
DBHost localhost
#DBSocket /tmp/mysql.sock
#======== MAIL =======================
MailTransfer sendmail
SendMailPath /usr/sbin/sendmail
MailEncoding ISO-2022-JP
^D
asahina@lachesis:~/web/lachesis/$ chmod 777 mt/mt-static/support/
asahina@lachesis:~/web/lachesis/$ chmod 777 mt/