ITPub博客

首页 > 数据库 > > infobright系列一:源码安装infobright

infobright系列一:源码安装infobright

作者:飘絮絮絮丶 时间:2022-04-28 15:32:42 0 删除 编辑

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

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69946831/viewspace-3168271/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-09-09

  • 博文量
    2646
  • 访问量
    42274