Movable Type 2.65 インストール 初期化

| | コメント(0) | トラックバック(0)
http://search.cpan.org/で、最新のPerlモジュールをサーチしダウンロードします。ダウンロードするモジュールは、
   ◆HTML::Template
      HTML::Template - a Perl module to use HTML Templates
   ◆Image::Size
     Image::Size - Determine the size of images in several common formats
   ◆LWP::UserAgent
     a set of Perl modules which provides a simple and consistent application programming interface to the World-Wide Web
   ◆URI
     This package contains the URI.pm module with friends. 
   ◆DBD::MySQL
     DBD::mysql - A Perl5 Database Interface to the MySQL database
   ◆DBI
     DBI - The Perl Database Interface by Tim Bunce.


の6つです。このままキーワードをコピーしてサーチしてみてください。

[HTML::Template]
http://search.cpan.org/~samtregar/HTML-Template-2.6/からHTML-Template-2.6.tarをダウンロードすると、Template.pmファイルが入っているので、それをコピーします。

cp HTML-Template-2.6/Template.pm /Library/WebServer/CGI-Executables/extlib/HTML/


[Image::Size]
http://search.cpan.org/~rjray/Image-Size-2.992/からImage-Size-2.992.tarをダウンロードすると、Size.pmが入っているので、それをコピーします

cp Image-Size-2.992/Size.pm /Library/WebServer/CGI-Executables/mt/extlib/Image/


[LWP::UserAgent]
http://search.cpan.org/~gaas/libwww-perl-5.79/からlibwww-perl-5.79.tarをダウンロードすると複数のPerlモジュールが入っているので下記の通りコピーしてください。

cp libwww-perl-5.79/lib/HTTP /Library/WebServer/CGI-Executables/extlib/
cp libwww-perl-5.79/lib/LWP /Library/WebServer/CGI-Executables/extlib/
cp libwww-perl-5.79/lib/LWP.pm /Library/WebServer/CGI-Executables/extlib/
cp libwww-perl-5.79/lib/Net /Library/WebServer/CGI-Executables/extlib/
cp libwww-perl-5.79/lib/WWW /Library/WebServer/CGI-Executables/extlib/

[URI]
http://search.cpan.org/~gaas/URI-1.30/からURI-1.30.tarをダウンロードし、下記の通りファイルをコピーしてください。
cp URI-1.30/URI /Library/WebServer/CGI-Executables/extlib
cp URI-1.30/URI.pm /Library/WebServer/CGI-Executables/extlib

[DBD::MySQL]
http://search.cpan.org/~rudy/DBD-mysql-2.9003/
からDBD-mysql-2.90003.tarをダウンロードし、インストール作業を行います。

%su
#cd DBD-mysql-2.90003/
#perl Makefile.pl
#make
#make install

[DBI]
http://search.cpan.org/~timb/DBI-1.42//からDBI-1.42.tarをダウンロードし、同様にインストール作業を行います。
%su
#cd DBI-1.42/
#perl Makefile.pl
#make
#make install

ここまでの作業で、MySQLがApacheからPerlを使って操作できるようになったと思います。

トラックバック(0)

このブログ記事を参照しているブログ一覧: Movable Type 2.65 インストール 初期化

このブログ記事に対するトラックバックURL: http://blog.kitamura.fm/cgi-bin/mt/mt-tb.cgi/17

コメントする

このブログ記事について

このページは、chcolatが2005年7月 1日 21:59に書いたブログ記事です。

ひとつ前のブログ記事は「Movable Type 2.65 インストール CGI / Documents」です。

次のブログ記事は「Movable Type アーカイブの文字がすべて真っ白に!!!」です。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。

Powered by Apple Computer's
Macintosh with Darwin





Powered by MySQL that is the world's most popular open source database.



Powered by PHP that is a scripting language.



Powerd by Movable Type