Redhat6 boost Installation

Source: Internet
Author: User

Compile and install infobright-㊣ inosin ℃-iteye Technology website in redhat6

Compile and install infobright in redhat6
      Blog type:
    • MySQL & percona
Install the mysqlredhat script cacheinfobright:
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
    1. CD boost_000045_0
    2. ./Bootstrap. Sh -- prefix =/usr/local/boost_1_45_0
    3. ./Bjam install
    4. Export boost_root =/usr/local/boost_1_45_0
    5. Echo"/Usr/local/boost_000045_0/lib">/Etc/lD. So. conf. d/boost-x86_64.conf
    6. Ldconfig
 
CD boost_000045_0. /Bootstrap. sh -- prefix =/usr/local/boost_1_45_0. /bjam installexport boost_root =/usr/local/boost_1_45_0echo "/usr/local/boost_1_45_0/lib">/etc/lD. so. conf. d/boost-x86_64.confldconfig

If there are no mysql users and groups, add the following shell code: 

    1. Shell> groupadd MySQL
    2. Shell> useradd-G MySQL
 
Shell> groupadd mysqlshell> useradd-G MySQL

# Compile and install MySQL and infobright server and client tools shell code 

  1. Shell> Cd infobright-version
  2. Shell> make edition = community release
  3. Shell> make edition = Community install-release
  4. # Setting config file and brighthouse. ini file.
  5. Shell> CP src/build/pkgreenwich/my-ib.cnf/etc/
  6. Shell> Cd/usr/local/infobright
  7. Shell> bin/mysql_install_db -- defaults-file =/etc/my-ib.cnf -- user = MySQL
  8. Shell> chown-r root.
  9. Shell> chown-r MySQL var Cache
  10. Shell> chgrp-r MySQL.
 
Shell> Cd infobright-versionshell> make edition = Community releaseshell> make edition = Community install-release # setting config file and brighthouse. INI file. shell> CP src/build/pkgmt/my-ib.cnf/etc/shell> Cd/usr/local/infobrightshell> bin/mysql_install_db -- defaults-file =/etc/my-ib.cnf -- user = mysqlshell> chown-r root. shell> chown-r MySQL var cacheshell> chgrp-r MySQL.

Install the Startup Script: shell code 

    1. Shell> CP share/MySQL. Server/etc/init. d/mysqld-IB
    2. Shell> VI/etc/init. d/mysqld-IB
 
Shell> CP share/MySQL. Server/etc/init. d/mysqld-ibshell> VI/etc/init. d/mysqld-IB

Find the following two lines: shell code 

    1. Conf = @ bh_conf @
    2. User = @ bh_user @
 
Conf = @ bh_conf @ user = @ bh_user @

Changed to: shell code 

    1. Conf =/etc/mysql-ib.cnf
    2. User = MySQL
 
Conf =/etc/mysql-ib.cnfuser = 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

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.