12 2021 档案
大数据笔记(更新)
摘要:1 虚拟机配置 如果选择最小安装,会没有ifconfig和vim,需要安装 # ifconfig yum provides ifconfig yum install net-tools ​ # vim yum -y install vim* # wget yum -y install wget #  阅读全文
posted @ 2021-12-14 19:36 看见小行星 阅读(94) 评论(0) 推荐(0)
flume连接kafka
摘要:flume配置 Flume source 的四种type # 1. spooldir a1.sources.r1.type = spooldir al.sources.r1.spoolDir = PATH #d:/home/soft # 2. NetCat Source a1.sources.r1. 阅读全文
posted @ 2021-12-14 19:22 看见小行星 阅读(185) 评论(0) 推荐(0)
安装笔记
摘要:基本准备 关闭防火墙 systemctl stop firewalld.service systemctl disable firewalld.service 关闭selinux vim /etc/selinux/config # SELIUNX改为 disabled SELIUNX=disable 阅读全文
posted @ 2021-12-14 19:17 看见小行星 阅读(97) 评论(0) 推荐(0)
虚拟机安装ubuntu的基本配置
摘要:ubuntu 1.配置vmware tools 下载vmware tools 进入/media目录下 有一个你的用户目录, 下载好的vmwaretools 就在里面 解压目录下的tar.gz文件 (如果不是root用户 要用 sudo tar zxvf 给权限) 解压成功后进入你解压的目录,我这里是 阅读全文
posted @ 2021-12-09 19:22 看见小行星 阅读(326) 评论(0) 推荐(0)
mysql 设置数据库的utf-8 编码
摘要:今天用mysql时出现中文乱码, 想起来没有用utf8编码,命令如下: CREATE DATABASE `数据库名` character set utf8 collate utf8_general_ci; 设置utf8编码后,不会出现中文乱码 阅读全文
posted @ 2021-12-04 10:31 看见小行星 阅读(306) 评论(0) 推荐(0)
mysql报错汇总(部分)
摘要:ERROR 1241 (21000): Operand should contain 1 column(s) 这个语句的出现多是因为将select 的结果集用()包住了。使用()将select 括注是正常的,但是可能是字段使用不当 解决:根据情况修改 Unknown column 'XXX' in 阅读全文
posted @ 2021-12-03 19:42 看见小行星 阅读(538) 评论(0) 推荐(0)