摘要: 1、安装前准备: 1)必备的包和工具 gcc/g++ :MySQL 5.6开始,需要使用g++进行编译。 cmake :MySQL 5.5开始,使用cmake进行工程管理,cmake需要2.8以上版本。 bison :MySQL语法解析器需要使用bison进行编译。 ncurses-devel :用 阅读全文
posted @ 2017-04-01 11:32 ChavinKing 阅读(711) 评论(0) 推荐(0)
摘要: 1、在目标服务器上安装新版本的mysql数据库。 1)解压缩新版mysql数据库压缩包并cp到指定目录: [root@faspdev mnt]# tar -zxvf mysql-5.6.24-linux-glibc2.5-x86_64.tar.gz [root@faspdev local]# mv 阅读全文
posted @ 2017-04-01 11:31 ChavinKing 阅读(592) 评论(0) 推荐(0)
摘要: 脚本安装#!/bin/bashecho " start install mysql "#安装必要的包yum -y install gcc gcc-c++ ncurses openssl openssl-devel make kernel-devel m4 ncurses-devel libtool* 阅读全文
posted @ 2017-04-01 11:29 ChavinKing 阅读(1292) 评论(0) 推荐(0)
摘要: ########################################################################################################################################################################################################... 阅读全文
posted @ 2017-03-31 16:40 ChavinKing 阅读(394) 评论(0) 推荐(0)
摘要: ########################################################################################################################################################################################################... 阅读全文
posted @ 2017-03-31 16:40 ChavinKing 阅读(243) 评论(0) 推荐(0)
摘要: ########################################################################################################################################################################################################... 阅读全文
posted @ 2017-03-31 16:39 ChavinKing 阅读(181) 评论(0) 推荐(0)
摘要: --step 1:查看被阻塞会话等待事件 select sid, event, username, lockwait, sql.sql_text from v$session s, v$sql sql where s.sql_id = sql.sql_id and sql.sql_text like 阅读全文
posted @ 2017-03-31 16:38 ChavinKing 阅读(1684) 评论(0) 推荐(0)
摘要: ********************单节点安装zk*************************上传zk安装包到服务器/mnt目录下: [root@chavin ~]$ ll /mnt/zookeeper-3.4.5.tar.gz -rw-r--r--. 1 root root 16402010 Mar 11 15:33 /mnt/zookeeper-3.4.5.tar.gz 解压安装文件... 阅读全文
posted @ 2017-03-31 16:37 ChavinKing 阅读(1109) 评论(0) 推荐(0)
摘要: ###################HDFS High Availability Using the Quorum Journal Manager################################ 规划集群 db01 db02 db03 db04 db05 namenode name 阅读全文
posted @ 2017-03-31 16:36 ChavinKing 阅读(539) 评论(0) 推荐(0)
摘要: 一、hadoop安装(本地模式及伪分布式安装) hadoop历史版本下载网站:http://archive.apache.org/dist/运行模式: 本地模式 yarn模式 hadoop组成: common:基本组件、命令 hdfs:分布式文件系统,安全(默认副本集) yarn:数据操作系统(性质 阅读全文
posted @ 2017-03-31 16:35 ChavinKing 阅读(1024) 评论(0) 推荐(0)
摘要: 规划: [hadoop@db01 ~]$ cat /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain loc 阅读全文
posted @ 2017-03-31 16:33 ChavinKing 阅读(198) 评论(0) 推荐(0)
摘要: 测试数据: ---------------------------------------------MySQL--------------------------------------------------- create table dept( deptno int not null, dname varchar(14), loc varchar(13)) insert in... 阅读全文
posted @ 2017-03-31 16:31 ChavinKing 阅读(1146) 评论(0) 推荐(0)
摘要: #########################################################################################################hue安装: 操作系统 安装以下软件:CentOS/RHEL: Oracle's JDK (read more here)antasciidoccyrus-sasl-develcyrus-s... 阅读全文
posted @ 2017-03-31 16:26 ChavinKing 阅读(912) 评论(0) 推荐(0)
摘要: ------------------------------本案例hive和mysql安装在同一台服务器上----------------------------------------- 1、上传hive、mysql、mysql driver到服务器/mnt目录下: [root@chavin mnt]# ll mysql-5.6.24-linux-glibc2.5-x86_64.tar.gz a... 阅读全文
posted @ 2017-03-31 16:24 ChavinKing 阅读(185) 评论(0) 推荐(0)
摘要: Build instructions for Hadoop (Hadoop 编译安装,参考hadoop源码包中BUILDING.txt文档) Requirements(编译需求,需要满足以下条件才能编译成功): * Unix System* JDK 1.6+* Maven 3.0 or later* 阅读全文
posted @ 2017-03-31 16:22 ChavinKing 阅读(446) 评论(0) 推荐(0)