WordPressのインストール

mysql4.0 Apache2 PHP4 でのインストール。自サーバ。

  • ソースを展開する。今回は(wordpress-me221.zip)
  • init.sqlによりデータベースを用意する。
  • .htaccessを用意してindex.phpがIndexされるようにする。
  • トップディレクトリとwp-contentを757にする。
  • http://example.jp/~foo/wordpress/ を実行する。

文字コードUTF-8
管理者ID / 初期パスワードは: admin / 乱数 を生成してくれる。

なお、init.sqlは以下のとおり。

CREATE DATABASE IF NOT EXISTS wordpress;
GRANT ALL PRIVILEGES ON wordpress.* TO wordpress@localhost
IDENTIFIED BY 'パスワード文字列' WITH GRANT OPTION;

.htaccessは以下のとおり。

DirectoryIndex index.php index.shtml index.html