CentOS Linux下Infobright的安装

Eave 2015.01.05 12:17

一、下载RPM包,笔者是在64位系统下安装,所以选择了64位的RPM包

$ wget "https://www.infobright.org/downloads/ice/infobright-4.0.7-0-x86_64-ice.rpm"

二、RPM包安装infobright

$ rpm -ivh infobright-4.0.7-0-x86_64-ice.rpm --prefix=/usr/local/

三、完成后续配置工作

$ cd /usr/local/infobright/postconfig.sh

下来会提示注册infobright,选择不注册即可

Infobright post configuration
--------------------------------------
Infobright server activated.
--------------------------------------
Register your copy of ICE and receive a free copy of the User Manual (a $50 value) as well as a copy of the Bloor Research Spotlight Report "What's Cool About Columns" which explains the differences and benefits of a columnar versus row database.
Registration will require opening an HTTP connection to Infobright, do you wish to register now? [Y/N]: n

四、初始化数据

$ cd /usr/local/infobright/scripts/
$ ./mysql_install_db --user=root --basedir=/usr/local/infobright --datadir=/usr/local/infobright/data --force
$ chown mysql.mysql -R /usr/local/infobright-4.0.7-x86_64/

五、启动infobright

$ /etc/init.d/mysqld-ib start

六、进入infobright

$ mysql-ib -u root