OSSミドルな戯れ
# wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
# wget http://rpms.famillecollet.com/el5.i386/remi-release-5-6.el5.remi.noarch.rpm
# http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
# rpm -Uvh epel-release-5* remi-release-5*
# wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
# rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
# yum -y --enablerepo=remi,epel,rpmforge update php* mysql*
# yum -y --enablerepo=remi,epel,rpmforge install php-gd php-mbstring php-mysql php-odbc php-pdo php-pear mysql-server mysql-bench
[root@capri pgdg]# php -v
PHP 5.2.9 (cli) (built: Feb 27 2009 14:42:58)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
# yum -y --enablerepo=remi,epel,rpmforge install phpMyAdmin
[mysqld]
default-character-set=utf8
skip-character-set-client-handshake
[mysql]
default-character-set = utf8
[root@capri php-mysql]# /etc/init.d/mysqld start
MySQL データベースを初期化中: Installing MySQL system tables...
090609 23:48:52 [Warning] Forcing shutdown of 3 plugins
OK
Filling help tables...
090609 23:48:53 [Warning] Forcing shutdown of 3 plugins
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h capri.linet.gr.jp password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available at http://www.mysql.com/
Support MySQL by buying support/licenses from http://shop.mysql.com/
[ OK ]
MySQL を起動中: [ OK ]
[root@capri php-mysql]#
[root@capri php-mysql]# /usr/bin/mysqladmin -u root password 'xxxxxxxxxx'
[root@capri php-mysql]# mysql -V
mysql Ver 14.14 Distrib 5.1.35, for redhat-linux-gnu (i686) using readline 5.1
ここでは、日本語全文検索を可能にするために、PostgreSQLのTSearch2エンジンを日本語で使うためのラッパモジュールtextsearch_jaを利用して、mecabを利用した形態素解析にもとずくインデクスをできるようにインストールする際の注意点をまとめてみる。 すでに、rpmfor
PHPの5.2を導入するすべは以前触れたと思いますが、 Remiというレポジトリも使いでがありそうです。 こちらを 拝見しました。 php-5.2.9, mysql-5.1....
comments