首页 > 其他 > 详细

infobright系列一:源码安装infobright

时间:2015-05-14 17:55:45      阅读:232      评论:0      收藏:0      [点我收藏+]

1:下载infobright

http://www.infobright.org/downloads/ice/infobright-4.0.7-0-src-ice.tar.gz

2:查看环境

rpm -q gcc
rpm -q autoconf  
rpm -q boost #要求1.42以上版本

 

3.如果有缺少则进行安装


autoconf
下载后解压
./configure --prefix=/usr
make
make install

 

4.编译 安装
groupadd mysql
useradd -g mysql mysql
cd infobright-version
make EDITION=community release
make EDITION=community install-release

5.配置环境
cp src/build/pkgmt/my-ib.cnf /etc/
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 .
安装启动脚本:
cp share/mysql/mysql.server /etc/init.d/mysqld-ib
vi /etc/init.d/mysqld-ib
找到以下两行:
conf=@BH_CONF@
user=@BH_USER@
修改为:
Shell代码
conf=/etc/my-ib.cnf
user=mysql
加入开机启动:
shell> chkconfig –add mysqld-ib

6.启动
/etc/init.d/mysqld-ib start

infobright系列一:源码安装infobright

原文:http://www.cnblogs.com/xiaoit/p/4503726.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!