2017年3月22日
摘要: 主要是修改server.properties的advertised.listeners 阅读全文
posted @ 2017-03-22 23:08 肖建锋 阅读(1237) 评论(0) 推荐(0) 编辑
摘要: 删除kafka各个节点log目录 删除zookeeper上kafka相关的目录 阅读全文
posted @ 2017-03-22 22:15 肖建锋 阅读(765) 评论(0) 推荐(0) 编辑
  2017年3月21日
摘要: # Licensed to the Apache Software Foundation (ASF) under one or more# contributor license agreements. See the NOTICE file distributed with# this work 阅读全文
posted @ 2017-03-21 22:25 肖建锋 阅读(2179) 评论(0) 推荐(0) 编辑
  2017年3月18日
摘要: 创建目录 关闭防火墙 复制文件到其他机器 分别创建对应服务id的myid文件 分别设置环境变量 启动 查看集群状态 完成 阅读全文
posted @ 2017-03-18 11:18 肖建锋 阅读(587) 评论(0) 推荐(0) 编辑
  2017年3月17日
摘要: export SCALA_HOME=/usr/local/soft/scala-2.11.8export PATH=$PATH:$SCALA_HOME/bin 阅读全文
posted @ 2017-03-17 21:28 肖建锋 阅读(470) 评论(0) 推荐(0) 编辑
摘要: export JAVA_HOME=/usr/local/soft/jdkexport PATH=$JAVA_HOME/bin:$PATH export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar 阅读全文
posted @ 2017-03-17 21:26 肖建锋 阅读(2035) 评论(0) 推荐(0) 编辑
摘要: [root@m1 ~]# vi /etc/hosts 阅读全文
posted @ 2017-03-17 21:15 肖建锋 阅读(906) 评论(0) 推荐(0) 编辑
摘要: 重启服务器 阅读全文
posted @ 2017-03-17 21:14 肖建锋 阅读(131) 评论(0) 推荐(0) 编辑
摘要: ssh-keygen -t rsa ssh-copy-id -i ~/.ssh/id_rsa.pub hadoop1 阅读全文
posted @ 2017-03-17 21:08 肖建锋 阅读(172) 评论(0) 推荐(0) 编辑
  2017年3月16日
摘要: 在使用spring boot做负载均衡的时候,多个app之间的session要保持一致,这样负载到不同的app时候,在一个app登录之后,而打到另外一台服务器的时候,session丢失。 常规的解决方案都是使用:如apache使用mod_jk.conf。 在开发spring boot app的时候可 阅读全文
posted @ 2017-03-16 20:03 肖建锋 阅读(492) 评论(0) 推荐(0) 编辑