IEE数据库安装向导
RHEL 5用rpm包,直接安装后配置数据及缓存目录即可。
RHEL 6用tar包+配置文件,本文是在RHEL 6上安装IEE的向导。
①上传infobright-4.0.6-x86_64.tar包和配置文件my-ib.cnf,mysqld-ib到服务器任意目录
②解压tar包,移动到/usr/local/目录下,配置文件分别移动到/etc/目录,/etc/init.d/目录下
tar -xvf infobright-4.0.-x86_64.tar
mv infobright-4.0.-x86_64 /usr/local/
mv my-ib.cnf /etc/
mv mysqld-ib /etc/init.d/
chmod u+x /etc/init.d/mysqld-ib
③启动IEE服务,关闭IEE服务
--启动IEE服务
/etc/init.d/mysqld-ib start
--关闭IEE服务
/etc/init.d/mysqld-ib stop
④创建进入IEE数据库命令行界面的快捷方式mysql-ib
ln -s /usr/local/infobright-4.0.-x86_64/bin/mysql /usr/local/bin/mysql-ib
⑤配置更改IEE数据库的数据目录和缓存目录(IEE服务是关闭状态时操作)
/usr/local/infobright-4.0.-x86_64
Infobright post configuration
--------------------------------------
Using postconfig you can:
--------------------------------------
() Move existing data directory to other location,
() Move existing cache directory to other location,
() Configure server socket,
() Configure server port,
() Relocate datadir path to an existing data directory. Please type 'y' for option that you want or press ctrl+c for exit. Current configuration: --------------------------------------
Current config file: [/etc/my-ib.cnf]
Current brighthouse.ini file: [/usr/local/infobright-4.0.-x86_64/data/brighthouse.ini]
Current datadir: [/usr/local/infobright-4.0.-x86_64/data]
Current CacheFolder in brighthouse.ini file: [/usr/local/infobright-4.0.-x86_64/cache]
Current socket: [/tmp/mysql-ib.sock]
Current port: []
-------------------------------------- () Do you want to copy current datadir [/usr/local/infobright-4.0.-x86_64/data] to a new location? [y/n]:y
Give new datadir path (e.g. /opt/datadirnewpath/data):/ieedata/data
() Option to change CacheFolder is disabled when option is chosen!
() Do you want to change current socket [/tmp/mysql-ib.sock]? [y/n]:n
() Do you want to change current port []? [y/n]:n
() Relocation is disabled when options - are chosen! --------------------------------------
Datadir(/usr/local/infobright-4.0.-x86_64/data) is going to be copied to /ieedata/data
-------------------------------------- Please confirm to proceed? [y/n]:y
Copying /usr/local/infobright-4.0.-x86_64/data to /ieedata/data ...is done.
You can now remove/backup your old /usr/local/infobright-4.0.-x86_64/data ...
Done!
# ./postconfig.sh(第二次运行postconfig.sh,更改IEE数据库的cache目录)
Infobright post configuration
--------------------------------------
Using postconfig you can:
--------------------------------------
() Move existing data directory to other location,
() Move existing cache directory to other location,
() Configure server socket,
() Configure server port,
() Relocate datadir path to an existing data directory. Please type 'y' for option that you want or press ctrl+c for exit. Current configuration: --------------------------------------
Current config file: [/etc/my-ib.cnf]
Current brighthouse.ini file: [/ieedata/data/brighthouse.ini]
Current datadir: [/ieedata/data]
Current CacheFolder in brighthouse.ini file: [/usr/local/infobright-4.0.-x86_64/cache]
Current socket: [/tmp/mysql-ib.sock]
Current port: []
-------------------------------------- () Do you want to copy current datadir [/ieedata/data] to a new location? [y/n]:n
() Do you want to move current CacheFolder [/usr/local/infobright-4.0.-x86_64/cache] to a new location? [y/n]:y
Give new CacheFolder path:/ieedata/cache
() Do you want to change current socket [/tmp/mysql-ib.sock]? [y/n]:n
() Do you want to change current port []? [y/n]:n
() Relocation is disabled when options - are chosen! --------------------------------------
New CacheFolder is going to be /ieedata/cache
-------------------------------------- Please confirm to proceed? [y/n]:y
Creating new cachedir /ieedata/cache ...is done. Done!
⑥启动IEE服务,进入数据库命令行,赋予IEE数据库的root用户所有权限,密码初始化为123456
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is
Server version: 5.1. build number (revision)=IB_4..6_r16086_16275(iee - commercial) (static) Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> grant all privileges on *.* to 'root'@'%' identified by '' WITH GRANT OPTION;
Query OK, rows affected (0.00 sec) mysql> flush privileges;
Query OK, rows affected (0.00 sec) mysql>
⑦用户利用navicate工具连接到IEE数据库,进行建库建表,字符集的选择utf-8:
character set : utf8 -- UTF- Unicode
collation : utf8_bin
IEE数据库安装向导的更多相关文章
- MySQL数据库 安装图解
下面的是MySQL安装的图解,用的可执行文件:下载地址:http://www.jinhusns.com/Products/Download/?type=xcj相关下载 mysql安装向导启动,按“Ne ...
- Oracle 11g 发行版2的安装,PLSQL_Developer安装 , Oracle数据库安装失败,完全卸载,常用的命令
Oracle 11g 发行版2的安装 PLSQL_Developer安装 Oracle数据库安装失败,完全卸载oracle11g 常用的命令 Oracle 11g 发行版2的安装 1. 下载 下载地址 ...
- Django 2.0.1 官方文档翻译: 快速安装向导 (Page5)
快速安装向导 (Page 5) 在你使用 Django 前,你需要先安装它.我们有一个完整的安装向导,它包含所有涉及的内容,这个向导会指导你进行一个简单的.最小化的安装,当你通过浏览介绍内容的时候,这 ...
- Skype for Business server 数据库安装
之前安装了SFB 2015标准版,但是没有安装归档据库,现在打算重新安装.环境中安装的是默认自带的SQL EXPRESS. 继续安装向导,安装SQL数据库.但是在最后的时候遇到了问题. 安装向导报错 ...
- Oracle数据库安装图文操作步骤
一.Oracle 下载 注意Oracle分成两个文件,下载完后,将两个文件解压到同一目录下即可. 路径名称中,最好不要出现中文,也不要出现空格等不规则字符. 官方下地址: http://www.o ...
- 安装SQL SERVER 2005出现“sql2005 执行安装向导期间出错 ”
安装sql server 2005时出现“sql2005 执行安装向导期间出错”的提示,百度找了一下,发现原来是解压时候才安装了CD1的,还有CD2的没解压安装,解压CD2安装即可
- sqlite数据库安装配置
一.SQLite简介 SQLite,是一款轻型的数据库,是遵守ACID的关联式数据库管理系统,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中, ...
- Greenplum 数据库安装部署(生产环境)
Greenplum 数据库安装部署(生产环境) 硬件配置: 16 台 IBM X3650, 节点配置:CPU 2 * 8core,内存 128GB,硬盘 16 * 900GB,万兆网卡. 万兆交换机. ...
- 0001 Oracle数据库安装
从这个月初开始学习Oracle,因为完全是零起步,就从Oracle的下载安装开始一点一点学起,今天把系统重新做了,就再安装了一遍Oracle11gR2,把安装过程记录一下: 一.安装Oracle数据库 ...
随机推荐
- js基础知识:变量
一.什么是变量? 在JavaScript中,变量用来存放值的,存放任何数据类型的值都可以,它就是值的容器. 二.变量怎么用? (一)用var声明1个变量 在使用变量之前,需要var关键字来声明变量,变 ...
- hdoj 1022 Train Problem I
#include<stdio.h> int main() { int n,i,j,k; ],]; ]; while(scanf("%d %s %s",&n,in ...
- U8SDK——游戏接入SDK(只接入抽象框架)
上一篇文章我们说了整个U8 SDK抽象成的设计,那这篇文章,我们就来验证一下,他是否如我们期待的那样,简单灵活. 正如之前所说,对于每个游戏,只需要接入抽象层,而每个渠道SDK的接入,就是该抽象层的一 ...
- chardet坑——比蜗牛还慢
需求 最近在做一个功能,使用python爬取网页然后保存到本地.其中遇到的一个难题是判断页面的编码方式.有问题就百度喽,当时我没想到自己去解决.一百度就找到了一个叫chardet的插件.大喜过望,试了 ...
- shell 知识
解压 tar.bz2文件 bunzip2 linux-2.6.13.tar.bz2 | tar xvf -
- linux OS install oracle database
#!/bin/bash#Purpose:Create and config oracle install.#Usage:Log on as the superuser('root') #1.creat ...
- Golang通过Thrift框架完美实现跨语言调用
每种语言都有自己最擅长的领域,Golang 最适合的领域就是服务器端程序. 做为服务器端程序,需要考虑性能同时也要考虑与各种语言之间方便的通讯.采用http协议简单,但性能不高.采用TCP通讯,则需要 ...
- .net笔记
一.垃圾回收 1.运行.NET应用程序时,程序创建出来的对象都会被CLR跟踪, 2.哪些对象还会被用到(存在引用关系):哪些对象不会再被用到(不存在引用关系),CLR都是有记录的. 3.CLR会整理不 ...
- RCP:美化基于eclipse3.7.2的RCP界面
从e4开始,eclipse rcp界面具备了深度自定义的能力. 但是在eclipse3.7.2上,几乎没有提供能够用于修改界面的外部接口. 这里介绍一种方式来自定义你自己的eclipse rcp. 先 ...
- C#可扩展编程之MEF学习笔记(三):导出类的方法和属性
前面说完了导入和导出的几种方法,如果大家细心的话会注意到前面我们导出的都是类,那么方法和属性能不能导出呢???答案是肯定的,下面就来说下MEF是如何导出方法和属性的. 还是前面的代码,第二篇中已经提供 ...