使用wget下载infobright的rpm包,我下载的是infobright-4.0.5-0-x86_64-ice.rpmadmin管理员组文章数量:1594720
#rpm -ivh /home/czp/infobright-4.0.5-0-x86_64-ice.rpm –prefix=/usr/local/
报错如下 15:22:03 Failed on infobright initialization. You can investigate /tmp/ib4.0.5-0-install.log and log files from /usr/local/infobrigh t-4.0.5-0-
x86_64/data. 15:22:03 At this stage the current installation may be broken. You need to uninstall it and 15:22:03 fix the cause before retrying the
installation. 15:22:03 Possible reasons for the failure are: LDAP service is running or 15:22:03 system has unsupported glibc but nscd service is not
running. 15:22:03 Possible work arounds are: If LDAP is running, you may stop LDAP service prior to the installation. 15:22:03 If you have unsupported glibc,
you need to start nscd service prior to the installation.
因为centos 6没有集成nscd这个包进去 glibc版本也过低 导致infobright初始化失败
首先卸载
# rpm -e infobright
# yum -y install nscd
# nscd
然后再安装
装完后在目标目录下会有两个新文件夹,
infobright-version-86_x64和其链接infobright
进入/usr/local/infobright/
运行
./postconfig.sh
这个脚本将拷贝配置文件my-ibf到/etc下
然后初始化mysql内部的数据
在/usr/local/infobright/scripts/下运行
./mysql_install_db --user=mysql --basedir=/usr/local/infobright --datadir=/usr/local/infobright/data
这里可能有个问题,就是/usr/local/infobright/data/brighthouse.ini文件的归属用户不是mysql
所以要通过chown修改该文件归属用户为mysql
然后启动infobright:/etc/init.d/mysqld-ib start
任意路径下运行mysql-ib -u root
登陆infobright后
创建新的远程用户newuser
GRANT ALL PRIVILEGES ON *.* TO newuser@"%" IDENTIFIED BY '123456' WITH GRANT OPTION;
下面就可以使用客户端在远程登陆登陆了
本文标签: InfoBright
版权声明:本文标题:InfoBright在centos6上的安装 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1728179933a1148293.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论