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数据库 ...
随机推荐
- word-wrap&&word-break,奇偶行、列设置样式
1.word-wrap和word-break区分. 来源场景:机械租赁mvc驾驶员信息查看: 当备注的文字多的时候,第一列的值成这模样: 解决方案:设置table 的td可自动换行.首先table设置 ...
- 问题:无法获得锁 /var/lib/dpkg/lock - open (11: 资源临时不可用)
无法获得锁 /var/lib/dpkg/lock - open (11: 资源临时不可用) 问题: 运行程序更新时出现报错: 无法获得锁 /var/lib/dpkg/lock - open (11: ...
- cocos2d-x 2.2.2 android平台移植
1.完成以上工具的下载安装--cocos2d-x 2.2.2 --eclipse+adt+sdk --ndk 2.创建cocos2d-x工程 在"cocos2d-x-2.2.2\tools\ ...
- 给 admin 新建的 hdfs 文件的权限
su hdfs hdfs dfs -chown -R admin / org.apache.hadoop.security.AccessControlException: Permission d ...
- 使用OAuth打造webapi认证服务供自己的客户端使用(二)
在上一篇”使用OAuth打造webapi认证服务供自己的客户端使用“的文章中我们实现了一个采用了OAuth流程3-密码模式(resource owner password credentials)的W ...
- MySQL2:四种MySQL存储引擎
前言 数据库存储引擎是数据库底层软件组织,数据库管理系统(DBMS)使用数据引擎进行创建.查询.更新和删除数据.不同的存储引擎提供不同的存储机制.索引技巧.锁定水平等功能,使用不同的存储引擎,还可以 ...
- Guava - EventBus(事件总线)
Guava在guava-libraries中为我们提供了事件总线EventBus库,它是事件发布订阅模式的实现,让我们能在领域驱动设计(DDD)中以事件的弱引用本质对我们的模块和领域边界很好的解耦设计 ...
- Android setTag方法的key问题
android在设计View类时,为了能储存一些辅助信息,设计一个一个setTag/getTag的方法.这让我想起在Winform设计中每个Control同样存在一个Tag. 今天要说的是我最近学习a ...
- Nim编码风格
介绍 Nim语言不限制开发人员使用哪种具体的编码风格, 但为了社区的发展,在编写一些标准库的时候还是应该遵从统一的编码风格 这篇文章会列出一系列的编码风格准则,供大家参考. 但值得注意的是,有很多例外 ...
- Ember.js实现单页面应用程序
1.1.1 摘要 单页应用程序 (SPA) 是加载单个HTML 页面并在用户与应用程序交互时动态更新该页面的Web应用程序. SPA使用AJAX和HTML5创建流畅且响应迅速的Web应用程序,不会经常 ...