摘要: ElasticSearch You know, for search 安装redis [root@liang filebeat]# yum install redis -y yum安装Elasticsearch 安装jdk Elasticsearch requires Java 8 or later 阅读全文
posted @ 2018-12-21 18:05 梁伟雄的博客 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 前期准备 [root@Aaron ~]# uname -r 3.10.0-327.el7.x86_64 [root@Aaron ~]# uname -a Linux Aaron 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86 阅读全文
posted @ 2018-11-06 23:38 梁伟雄的博客 阅读(2922) 评论(0) 推荐(0) 编辑
摘要: 下载系统各种依赖 nano /etc/apt/sources.list 在Debian中使用apt-get安装软件包时经常会提示让你插入netinst的光盘: Media change: please insert the disc labeled 把下面这一行注释掉 deb cdrom:[Debi 阅读全文
posted @ 2017-11-07 11:15 梁伟雄的博客 阅读(604) 评论(1) 推荐(0) 编辑
摘要: [root@hadoop004 ~]# curl --silent --location https://rpm.nodesource.com/setup_11.x | bash - [root@hadoop004 aa]# yum install -y nodejs [root@hadoop004 阅读全文
posted @ 2019-12-31 19:35 梁伟雄的博客 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Hive部署 mysql> set global validate_password_policy=0;Query OK, 0 rows affected (0.00 sec) mysql> set global validate_password_mixed_case_count=0;Query 阅读全文
posted @ 2019-12-02 20:20 梁伟雄的博客 阅读(491) 评论(0) 推荐(0) 编辑
摘要: 转载自https://blog.csdn.net/qq_24073707/article/details/80292481 MySQL的基本概念:database db :数据库table : 表db1:t1, t2, t3db2:t2, t3, t4字段类型:http://www.runoob.c 阅读全文
posted @ 2019-03-02 18:16 梁伟雄的博客 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 转载自https://blog.csdn.net/qq_24073707/article/details/80223757 Linux基本命令:查看IP:ifconfig 或者 hostname -i(需要配置文件之后才可以使用)ipconfig(Windows)关闭防火墙:Service ipta 阅读全文
posted @ 2019-03-02 18:04 梁伟雄的博客 阅读(162) 评论(0) 推荐(0) 编辑
摘要: [root@xiong ~]# hostnamectl set-hostname hadoop001 [root@xiong ~]# vim /etc/hostnamehadoop001 vim /etc/sysconfig/network# Created by anacondaNETWORKIN 阅读全文
posted @ 2019-02-23 19:21 梁伟雄的博客 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 数据库:postgresql9.4 原因:这是因为数据库的字段原来可以为null,现在改变该字段为not null,而你的数据库有数据,而这些数据该字段已经为null 阅读全文
posted @ 2019-01-24 10:48 梁伟雄的博客 阅读(378) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" ) func test(a int) { a++ fmt.Println(a) } func test2() func() int{ var a int return func() int { a++ return a } } func main() { //a := 0 //for i := 0... 阅读全文
posted @ 2018-10-22 09:59 梁伟雄的博客 阅读(166) 评论(0) 推荐(0) 编辑
摘要: package mainimport ( "fmt" "time")func test() { time.Sleep(time.Millisecond * 100)}func main() { now := time.Now() fmt.Println(now.Format("2006/01/02 阅读全文
posted @ 2018-03-23 10:54 梁伟雄的博客 阅读(221) 评论(0) 推荐(0) 编辑