ローカルといってもVMWare上にLinuxをインストールし、Movable Typeが動作する環境をローカルPC上に作る。
1. VWWare上にLinuxをインストール
Debian Linuxをインストールした。Perlはすでに入っていた。
2.関係ありそうなデータベース関連をインストール
必要なセクションは、"apt-get install <セクション名> "でインストールできる。
(アンインストールは"apt-get remove <セクション名> ")
http://packages.debian.org/etch/でインストールしたいセクション名を探した。
1. VWWare上にLinuxをインストール
Debian Linuxをインストールした。Perlはすでに入っていた。
2.関係ありそうなデータベース関連をインストール
必要なセクションは、"apt-get install <セクション名> "でインストールできる。
(アンインストールは"apt-get remove <セクション名> ")
http://packages.debian.org/etch/でインストールしたいセクション名を探した。
インストールしたセクションは、
libapache-dbi-perl
libclass-dbi-mysql-perl
libclass-dbi-sqlite-perl
libdbd-pg-perl
ibdbd-sqlite2-perl
libdbd-mysql-perl
libdbd-anydata-perl
* MySQL関連だけでよかった気がする。
3. Webサーバー(Apache)のインストール
apt-get install apache2
4. Webサーバーの設定(apache2.conf)
(1)AddDefaultCharset off追加
(2)AddHander cgi-script .cgiのコメントをはずす
(3)これを追加
<Directory /var/www/mt>
Oprions +ExecCGI
</Directory>
libapache-dbi-perl
libclass-dbi-mysql-perl
libclass-dbi-sqlite-perl
libdbd-pg-perl
ibdbd-sqlite2-perl
libdbd-mysql-perl
libdbd-anydata-perl
* MySQL関連だけでよかった気がする。
3. Webサーバー(Apache)のインストール
apt-get install apache2
4. Webサーバーの設定(apache2.conf)
(1)AddDefaultCharset off追加
(2)AddHander cgi-script .cgiのコメントをはずす
(3)これを追加
<Directory /var/www/mt>
Oprions +ExecCGI
</Directory>
コメントする