AB Lab

abgata20000 blog.

Mysqlサーバーの設定(mroonga)

参考URL:

1
2
3
4
5
6
7
8
9
rpm -ivh http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm
# --sorceで強制的に上書き
yum makecache
yum -y update

yum -y install mysql-server
# version5.1.67を指定しないとだめかも

yum install -y groonga groonga-devel groonga-tokenizer-mecab mecab-ipadic mecab-jumandic

MySQLの設定

1
2
cp /etc/my.cnf /etc/my.cnf.org
vim /etc/my.cnf

MySQLの初期設定

1
mysql_secure_installation

MySQLを起動

1
2
3
4
5
service mysqld start
yum -y install mysql-groonga
service mysqld restart
chkconfig mysqld on
mysql -u root -p

利用可能なストレージエンジンを確認

1
mysql> SHOW ENGINES \G