↑ | $Date:: 2007-03-24 #$ |
サイト: six apart/Movable Type
パス: /common/htdocs/data/MT-3.2-ja-2/
% ln -s MT-3.2-ja-2 mt
変更内容
% cp mt-config.cgi-original mt-config.cgi % vi mt-config.cgi
※1 utf-8だと文字化けしたので、euc-jpにした。
※2 アップロードサイズ制限を大きくした。
※3 上記変更内容のデータベース関連パラメータはダミー (実際にはちゃんとした値を設定する必要あり)
MySQLは、既にインストールされているもの(4.1.18)を利用
% mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 468 to server version: 4.1.18 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> create database movabletype; Query OK, 1 row affected (0.04 sec) mysql> show databases; +-------------+ | Database | +-------------+ | movabletype | | mysql | | nucleus | | test | | xoops | +-------------+ 5 rows in set (0.00 sec) mysql> grant all on movabletype.* to movabletype@localhost identified by 'ひみつ'; Query OK, 0 rows affected (0.07 sec) mysql> flush privileges; Query OK, 0 rows affected (0.00 sec) mysql> exit
# cd /common/htdocs/data # chown -R www:www MT-3.2-ja-2 # cd MT-3.2-ja-2 # chmod 755 *.cgi
portsのgraphics/ImageMagickをインストール
portsのsecurity/p5-Crypt-DSAをインストール
ブラウザから、「mt-check.cgi」にアクセスして、結果を確認
ブラウザから、「index.html」にアクセスして、セットアップを実行
ユーザ名: Melody パスワード: Nelson
Melody/Nelsonのままでは、危険なので、適切に変更する
# cd /common/htdocs/data # mkdir FirstWeblog # chown www:www FirstWeblog
上記のディレクトリを指定して、「サイトを再構築」