pwblogのインストールスクリプトを実行
まず、pwblog用のデータベースを準備します。PostgreSQLが起動している状態で、
sudo -u postgres createdb -E EUC_JP pwblog -U postgres
そして、「やっと」という感覚ですが、
%cd ~/unix/sites/pwblog/ (←pwblog.tar.gzを展開したものの中) %./install.pl
途中でいろいろ訊かれますが、トップのURLとデータベースユーザ(postgres)以外はそのままの設定を使いました。うまく完了すると下記のメッセージが出て終了。
############################################################# # # All set ups were done successfully. # # Administrater login url is # http://PowerMacG5-Dual2-0GHz.local/pwblog/cgi-bin/admin/login.cgi # Log in with the ID[admin] and the Password[----] # The first thing you SHOULD DO is CHANGE Administrater PASSWORD. # # User login url is # http://PowerMacG5-Dual2-0GHz.local/pwblog/cgi-bin/user/login.cgi # Registration url is # http://PowerMacG5-Dual2-0GHz.local/pwblog/cgi-bin/register/register.cgi # # #================================================== # PwBlog----Power Blog Management # Copyright 2004 CATWALK,Inc. All rights reserved. # http://www.web-kyoto.com # http://www.pwblog.com #================================================== # #############################################################
インストールに失敗したら、必ず一度データベースを削除しないとインストールは成功しません。
sudo -u postgres dropdb pwblog sudo -u postgres createdb -E EUC_JP pwblog -U postgres
ここから設定はまだ続くのですが、山はを超えました。あとはApacheの設定かな。