Install infobright:
Boost 1.42 or a later version is required, and boost of RedHat is 1.41, so you need to download a new compilation and installation:
Download and install boost: http://www.boost.org/users/download/
Shell Code
- CD boost_000045_0
- ./Bootstrap. Sh -- prefix =/usr/local/boost_1_45_0
- ./Bjam install
- Export boost_root =/usr/local/boost_1_45_0
- Echo"/Usr/local/boost_000045_0/lib">/Etc/lD. So. conf. d/boost-x86_64.conf
- Ldconfig
If you do not have mysql users and groups, you must add them:
Shell code
- Shell> groupadd MySQL
- Shell> useradd-G MySQL
# Compile and install MySQL and infobright server and client tools
Shell code
-
- Shell> Cd infobright-version
-
- Shell> make edition = community release
-
- Shell> make edition = Community install-release
-
-
- # Setting config file and brighthouse. ini file.
-
- Shell> CP src/build/pkgreenwich/my-ib.cnf/etc/
-
-
- Shell> Cd/usr/local/infobright
-
- Shell> bin/mysql_install_db -- defaults-file =/etc/my-ib.cnf -- user = MySQL
-
- Shell> chown-r root.
- Shell> chown-r MySQL var Cache
-
- Shell> chgrp-r MySQL.
Install the startup script:
Shell code
- Shell> CP share/MySQL. Server/etc/init. d/mysqld-IB
- Shell> VI/etc/init. d/mysqld-IB
Find the following two rows:
Shell code
- Conf = @ bh_conf @
- User = @ bh_user @
To:
Shell code
- Conf =/etc/mysql-ib.cnf
- User = MySQL
Start:
Shell>/etc/init. d/MySQL-Ib start
Client connection:
Shell>/usr/local/infobright/bin/MySQL-default-file =/etc/my-ib.cnf-uroot
Add boot start:
Shell> chkconfig -- add mysqld-IB