WordPress 3.0.1

http://ja.wordpress.org/

動作確認機種 PowerEdge SC440 + CentOS 5.1

MySQLインストール

yum -y install mysql-server

設定ファイル
/etc/my.cnf
[mysqld]
default-character-set = utf8
[mysql]
default-character-set = utf8

起動

/etc/rc.d/init.d/mysqld start
chkconfig mysqld on
chkconfig --list mysqld

データベース初期設定

mysql -u root
set password for root@localhost=password('@@@@');
exit

新規ユーザ登録

mysql -u root -p
grant all privileges on LoveCute.* to LoveCute@localhost identified by '@@@@';
select user from mysql.user where user='LoveCute';
exit

データベース作成

mysql -u LoveCute -p@@@@
CREATE DATABASE LoveCute;
use LoveCute
exit

PHP拡張

yum install php-mysql

設定ファイル
/etc/php.ini
; Dynamic Extensions ;
extension=mysql.so
httpd再起動
/etc/rc.d/init.d/httpd restart

wp-config.php

define('DB_NAME', 'LoveCute');
define('DB_USER', 'LoveCute');
define('DB_PASSWORD', '@@@@');
define('DB_HOST', 'localhost');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
September 8, 2010
The following clause.
サーバー構築部門