the installation environment isRedHat Enterprise Linux Server release 5.2 (Tikanga)
First, installationBoost
in the installationInfobrightbefore you install a higher version of theBoost, you need to1.42above, otherwise Maketime will be error
Boost in thehttp://sourceforge.net/projects/boost/files/boost/
i downloaded it.1.43version
Tar zxvf boost_1_43_0.tar.gz
CD Boost_1_43_0
./bootstrap.sh--prefix=/usr/local/boost_1_43_0
./bjam Install
we need to set up a bitBoost_root, orInfobrightin the Makewill also be an error when
Export BOOST_ROOT=/USR/LOCAL/BOOST_1_45_0
finally need to letBoost_1_43_0of theLibdirectories can be found by the system
echo "/usr/local/boost_1_43_0/lib" >/etc/ld.so.conf.d/boost.conf orecho "/usr/local/boost_1_43_0/lib" >>/etc/ld.so.conf
after adding a new dynamic link library to play, you also need to performLdconfigThe order will take effect .
after executing the availableldconfig-v| grep boostto detect if the load was successful
Second, installationInfobright
First AddMySQLthe users and Groups
Groupadd MySQL
useradd-g MySQL MySQL
DownloadInfobrightthe source code, inhttp://www.infobright.org/Download/ICE/
SelectSource Codeof that file
I'm using it.4.0.5
Tar zxvf infobright-4.0.5-0-src-ice.tar.gz
CD infobright-4.0.5
Make edition=community Release
Make Edition=community Install-release
Copy the configuration file toetcunder
CP src/build/pkgmt/my-ib.cnf/etc/
Install the base library
Cd/usr/local/infobright
bin/mysql_install_db--defaults-file=/etc/my-ib.cnf--user=mysql
Chown-r Root.
Chown-r mysql var cache
Chgrp-r MySQL.
infobright Startup Scripts
CP Share/mysql/mysql.server/etc/init.d/mysqld-ib
thenVim/etc/init.d/mysqld-ib
will be
[Email protected] [Email protected]
[Email protected] [Email protected]
modified to
Conf=/etc/my-ib.cnf
User=mysql
and then save the exit
Start
/etc/init.d/mysqld-ib start
connect a database with a client
/usr/local/infobright/bin/mysql
ExecutionShowengines;Command View engine
BrightHouse | DEFAULT | BrightHouse Storageengine
this isInfobrightengine, the default table is the engine.
Installation Successful
This article is from the "Zhangdh Open Space" blog, so be sure to keep this source http://linuxblind.blog.51cto.com/7616603/1709764
Infobright Source Installation