infobright系列一:源码安装infobright
1:下载infobright
http://www.infobright.org/downloads/ice/infobright-4.0.7-0-src-ice.tar.gz
2:查看环境
rpm -q gccrpm -q autoconf rpm -q boost #要求1.42以上版本
3.如果有缺少则进行安装
autoconf下载后解压./configure --prefix=/usrmakemake install
4.编译 安装groupadd mysqluseradd -g mysql mysqlcd infobright-versionmake EDITION=community releasemake EDITION=community install-release
5.配置环境cp src/build/pkgmt/my-ib.cnf /etc/cd /usr/local/infobrightbin/mysql_install_db –defaults-file=/etc/my-ib.cnf –user=mysqlchown -R root .chown -R mysql var cachechgrp -R mysql .安装启动脚本:cp share/mysql/mysql.server /etc/init.d/mysqld-ibvi /etc/init.d/mysqld-ib找到以下两行:conf=@BH_CONF@user=@BH_USER@修改为:Shell代码conf=/etc/my-ib.cnfuser=mysql加入开机启动:shell> chkconfig –add mysqld-ib
6.启动/etc/init.d/mysqld-ib start
相关文章