介绍
本篇文章为大家展示了怎么在MySQL中安装infobright,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。
1,使用“rpm -ivh 安装包“命令来安装一下rpm的包,如下:
[root@tk01-dba-mysql dba_mysql] #, rpm -ivh infobright-4.0.7-0-x86_64-ice.rpm ——prefix=/usr/当地 准备……,,,,,,,,,,,,,# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #,(100%) Installing infobright  4.0.7-0 (x86_64) 从而,installer will generate /tmp/ib4.0.7-0-install.log install trace 日志。 时间/Updating 安装… 1:才能infobright-4.0.7-0 ,,,,,,, # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #, (100%) 创建/Updating datadir 以及cachedir Creating user  mysql 以及group mysql Installing default 数据库 Installing MySQL  system 表… 好吧 Filling help 表…… 好吧 用start mysqld  at boot  time 你have 用副本 支持文件/mysql.server 用,right place for your 系统 PLEASE REMEMBER 用SET A  PASSWORD FOR 从而MySQL root USER ! 用do 所以,start 从而服务器,then issue 从而following 命令:/usr/local/infobright-4.0.7-x86_64/bin/mysqladmin -u root  password & # 39; new-password& # 39;/usr/local/infobright-4.0.7-x86_64/bin/mysqladmin -u root  -h tk01 - dba mysql - 7 - 197, password & # 39; new-password& # 39; Alternatively 你还要运行:/usr/local/infobright-4.0.7-x86_64/bin/mysql_secure_installation which will  also give 你,option of removing 从而测试 databases 以及anonymous user  created by 默认只却;能够 strongly recommended  for production 服务器。 阅读,manual for  more 指令。 你还要start 从而,MySQL daemon : cd /usr/地方/infobright-4.0.7-x86_64 ;,/usr/地方/infobright-4.0.7-x86_64/bin/mysqld_safe 及 你还要test 从而,MySQL daemon with mysql-test-run.pl cd /usr/地方/infobright-4.0.7-x86_64/mysql-test ; perl mysql-test-run.pl Please report  any problems  with 从而/usr/地方/infobright-4.0.7-x86_64/脚本/mysqlbug 脚本! 从而latest 方式;about MySQL  is available at http://www.mysql.com/Support MySQL  by buying 支持/licenses 得到http://shop.mysql.com/System Physical 内存:15866 (MB) Infobright optimal  ServerMainHeapSize is  set 用6000 (MB) Infobright optimal  LoaderMainHeapSize is  set 用800 (MB) Infobright server  installed into  folder /usr/地方/infobright Installation log  file /tmp/ib4.0.7-0-install.log -------------------------------------- 用activate infobright 服务器,please run 。/postconfig.sh script 得到/usr/地方/infobright-4.0.7-x86_64。 Example 命令:,cd /usr/地方/infobright-4.0.7-x86_64;。/postconfig。sh
我这里是将文件解压到了/usr/地方/目录下面,如果有其他目录,则可以使用其他目录进行解压,解压后的文件如下:
[root@tk01-dba-mysql 地方]#,你 total 54932 drwxr-xr-x又是;2,root ,, root ,,, 20, Oct 11, 11:45 本 drwxr-xr-x , 8, root ,, root ,, 297, Sep 27, 09:10 cma_tcollector drwxr-xr-x又是;2,root ,, root ,,, 6, Apr 11, 2018,等等 drwxr-xr-x又是;2,root ,, root ,,, 6, Apr 11, 2018,游戏 drwxr-xr-x又是;2,root ,, root ,,, 6, Apr 11, 2018,包括 lrwxrwxrwx , 1, root ,, root ,,, 34, Oct 15, 21:42 infobright →/usr/地方/infobright-4.0.7-x86_64 -rw-r - r -,, 1, root ,, root 56249223, Oct 15, 21:30 infobright-4.0.7-0-x86_64-ice.rpm drwxr-xr-x 11, root ,, root ,, 252, Oct 15, 21:42 infobright-4.0.7-x86_64
2,根据最后一行提示,激活infobright服务器,运行脚本。/postconfig。sh,如下:
[root@tk01-dba-mysql infobright] #,。/postconfig.sh Infobright post 配置 -------------------------------------- Infobright server 激活。 -------------------------------------- null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null怎么在MySQL中安装infobright