上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: 一、问题浮现 二、问题定位 在初始化Hive元数据时,已经指定了连接mysql的字符集为UTF8,但还是出现了乱码问题。 jdbc:mysql://127.0.0.1:3306/hive_metastore?createDatabaseIfNotExist=true&useUnicode=t 阅读全文
posted @ 2023-02-10 10:50 宜家数据小哥 阅读(561) 评论(0) 推荐(0) 编辑
摘要: 一、Linux系统时区设置 1、查看Linux系统时区 timedatectl | grep "Time zone" 2、设置时区为Asia/Shanghai timedatectl set-timezone Asia/Shanghai 3、修改配置文件 cp -f /usr/share/zonei 阅读全文
posted @ 2023-02-07 16:36 宜家数据小哥 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 1、依赖安装 yum install dh-autoreconf curl-devel expat-devel gettext-devel openssl-devel perl-devel zlib-devel nss -y 2、移除默认的git yum remove git -y 3、下载git安 阅读全文
posted @ 2023-01-17 11:37 宜家数据小哥 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 一、配置免密互通 参考地址:https://www.cnblogs.com/qq1035807396/p/16998602.html 二、开始安装Ansible 1、添加repo yum install -y https://dl.fedoraproject.org/pub/epel/epel-re 阅读全文
posted @ 2023-01-05 09:34 宜家数据小哥 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 一、查看每个物理CPU的核数 cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l 二、查看物理CPU核数 cat /proc/cpuinfo| grep "cpu cores"| uniq 三、查看逻辑CUP核数 cat /pro 阅读全文
posted @ 2023-01-03 11:02 宜家数据小哥 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: 1、更新yum yum -y update 2、安装依赖 yum install -y gcc 3、下载安装包至/opt/soft cd /opt/soft wget http://www.rinetd.com/download/rinetd.tar.gz 若官网下载方式被拦截,则也可以在我的百度网 阅读全文
posted @ 2022-12-22 15:45 宜家数据小哥 阅读(660) 评论(0) 推荐(0) 编辑
摘要: 一、elasticsearch(仅用于测试环境) 1、拉取镜像(docker版本19.03.9) docker pull elastic/elasticsearch:7.10.2 2、创建挂载目录 mkdir -p /data/elk/es/{config,data,logs} 3、赋予权限 chm 阅读全文
posted @ 2022-12-22 15:28 宜家数据小哥 阅读(696) 评论(0) 推荐(0) 编辑
摘要: 1、下载安装包 http://archive.apache.org/dist/zeppelin/zeppelin-0.9.0/ 2、上传zeppelin-0.9.0-bin-all.tgz至/opt/soft 3、解压 tar -zxvf /opt/soft/zeppelin-0.9.0-bin-a 阅读全文
posted @ 2022-12-22 14:53 宜家数据小哥 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 一、Master节点 1、关闭ntp服务和自启动(必须root用户) yum install -y ntp sudo systemctl stop ntpd sudo systemctl disable ntpd 2、修改ntp配置文件 vi /etc/ntp.conf 修改内容如下: (1)修改1 阅读全文
posted @ 2022-12-22 14:33 宜家数据小哥 阅读(1718) 评论(0) 推荐(0) 编辑
摘要: 1、进入ssh目录 cd ~/.ssh 2、若不存在则创建该目录 mkdir -p ~/.ssh 3、查看是否有公钥 cd ~/.ssh ll | grep id_rsa.pub 4、若没有,则公钥和私钥(然后敲(三个回车),就会生成两个文件id_rsa(私钥)、id_rsa.pub(公钥)) ss 阅读全文
posted @ 2022-12-22 14:22 宜家数据小哥 阅读(827) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页