Infobright Source Installation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.