安裝InfoBright
需要boost 1.42 或更高版本,redhat自帶的boost是1.41版本,所以需要下載個新的編譯安裝一下:
下載安裝boost:http://www.boost.org/users/download/
如果沒有mysql使用者和組,需要加入:
# 編譯安裝 MySQL and Infobright server and client tools
安裝啟動指令碼:
找到以下兩行:
修改為:
啟動:
shell> /etc/init.d/mysql-ib start
客戶端連線:
shell> /usr/local/infobright/bin/mysql --default-file=/etc/my-ib.cnf -uroot
下載安裝boost:http://www.boost.org/users/download/
- cd boost_1_42_0
- ./bootstrap.sh --prefix=/usr/local/boost_1_42_0
- ./bjam install
- export BOOST_ROOT=/usr/local/boost_1_42_0
-
vim /etc/profile 新增 export LD_LIBRARY_PATH=/usr/local/boost_1_42_0/lib:$LD_LIBRARY_PATH source /etc/profile ldconfig 或者 /sbin/ldconfig -v
如果沒有mysql使用者和組,需要加入:
- shell> groupadd mysql
- shell> useradd -g mysql mysql
# 編譯安裝 MySQL and Infobright server and client tools
- shell> cd infobright-version
- shell> make EDITION=community release
- shell> make EDITION=community install-release
- # Setting config file and brighthouse.ini file.
- shell> cp src/build/pkgmt/my-ib.cnf /etc/
- shell> cd /usr/local/infobright
- shell> /usr/local/infobright/bin/mysql_install_db --basedir=/usr/local/infobright --datadir=/data/infobright/data --user=mysql --defaults-file=/etc/my-ib.cnf
- shell> chown -R root .
- shell> chown -R mysql var cache
- shell> chgrp -R mysql .
安裝啟動指令碼:
- shell> cp share/mysql/mysql.server /etc/init.d/mysqld-ib
- shell> vi /etc/init.d/mysqld-ib
找到以下兩行:
- conf=@BH_CONF@
- user=@BH_USER@
修改為:
- conf=/etc/mysql-ib.cnf
- user=mysql
啟動:
shell> /etc/init.d/mysql-ib start
客戶端連線:
shell> /usr/local/infobright/bin/mysql --default-file=/etc/my-ib.cnf -uroot
相關文章
- 安裝npm 解除安裝npm 安裝apidocNPMAPI
- BiocManager安裝,devtools安裝dev
- Linux安裝解除安裝MySQLLinuxMySql
- linux 安裝yum 安裝phpLinuxPHP
- Ubuntu解除安裝和安裝Ubuntu
- 02 安裝git、安裝TortoiseGitGit
- cocoapods安裝/解除安裝/使用
- JDK安裝和解除安裝JDK
- ffmpeg安裝之mac安裝Mac
- docker安裝及解除安裝Docker
- [ 安裝 ] Zeppelin安裝步驟!
- win10安裝版怎麼安裝_安裝版win10安裝教程Win10
- ElasticSearch的安裝和使用,Postman的安裝,Kibana的安裝,EShead外掛的安裝ElasticsearchPostman
- Mac Redis安裝與解除安裝MacRedis
- 安裝了IDLE後安裝tensorflow
- kratos安裝及依賴安裝
- Linux 解除安裝openjdk 安裝oraclejdkLinuxJDKOracle
- debian安裝和解除安裝vmware
- JDK的安裝與解除安裝JDK
- linux 解除安裝jdk和安裝LinuxJDK
- 【推薦 - glibc安裝】MySQL - 安裝MySql
- linux下安裝snap安裝工具Linux
- [雲原生]Docker - 安裝&解除安裝Docker
- Ubuntu安裝和解除安裝mongodbUbuntuMongoDB
- window下安裝並使用nvm(含解除安裝node、解除安裝nvm、全域性安裝npm)NPM
- 安裝
- air安裝win10怎麼解除安裝_air安裝win10如何解除安裝AIWin10
- Centos Docker安裝、升級、解除安裝CentOSDocker
- Webpack學習 – Webpack安裝及安裝Web
- Linux-Ubuntu-mysql-安裝&解除安裝LinuxUbuntuMySql
- Centos7.9安裝解除安裝DockerCentOSDocker
- Centos7安裝安裝部署dockerCentOSDocker
- Linux系統安裝——Centos 7.6安裝LinuxCentOS
- PostgreSQL 10.12 安裝系列 - 原始碼安裝SQL原始碼
- PostgreSQL 10.12 安裝系列 - 本地RPM安裝SQL
- 【 Linux 軟體安裝 】- 1 JDK安裝LinuxJDK
- Python pip的安裝及解除安裝Python
- CentOS7安裝php、安裝MySqlCentOSPHPMySql
- vs2015解除安裝和安裝