摘要: http://rocketmq.apache.org/docs/quick-start/ 解压后添加启动脚本 nohup sh bin/mqnamesrv >> logs/namesrv.log 2>&1 & nohup sh bin/mqbroker -n localhost:9876 >> lo 阅读全文
posted @ 2018-12-04 17:32 uptothesky 阅读(647) 评论(0) 推荐(0) 编辑
摘要: 官方文档:Setup java agent Backend and UI 下载地址:http://skywalking.apache.org/downloads/ 解压后目录 部署UI和收集器 进入webapp,编辑webapp.yml,这里可以编辑登录用户名和密码 进入config,编辑appli 阅读全文
posted @ 2018-10-24 10:23 uptothesky 阅读(6765) 评论(1) 推荐(0) 编辑
摘要: Spring Boot中使用Swagger2构建强大的RESTful API文档 http://blog.didispace.com/swagger2markup-asciidoc/ 添加插件 <pluginRepositories> <pluginRepository> <id>jcenter-s 阅读全文
posted @ 2018-09-07 09:35 uptothesky 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 文档:https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html 客户端:https://www.elastic.co/guide/en/elasticsearch/client/index.html API: 阅读全文
posted @ 2018-05-22 12:07 uptothesky 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 参考教程:https://www.kubernetes.org.cn/3808.html 先删除旧版本docker Get Docker CE for CentOS 创建mysql-rc.yaml apiVersion: v1 kind: ReplicationController metadata 阅读全文
posted @ 2018-05-21 22:04 uptothesky 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 1.停止MySQL服务 2.移动数据到新位置 3.修改/etc/my.cnf 4.创建软连接 5.重启MySQL服务 阅读全文
posted @ 2018-05-21 15:27 uptothesky 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 查询表信息 性能剖析 比如先执行一条语句select * from user; 再执行show profiles; 可以看到结果中有语句的执行时间 接下来执行 可以看到具体的执行步骤占用时间 不过这里是按照顺序排序的,要想按耗时排序,可以使用以下语句 show CREATE table + 表名 查 阅读全文
posted @ 2018-04-20 14:11 uptothesky 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 安装elasticsearch 下载:http://www.elastic.co/downloads/elasticsearch 下载后解压 修改配置文件,xxx是自定义目录 在bin目录下执行./elasticsearch ,会报错,提示不能使用root用户启动 所以新增一个用户,用户名密码都是e 阅读全文
posted @ 2018-04-18 15:00 uptothesky 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 首先确保JDK已正确安装并设置好环境变量 安装Zookeeper 到官网下载: https://mirrors.tuna.tsinghua.edu.cn/apache/zookeeper/ zookeeper-3.4.11.tar.gz 这里下载到/usr/local/software 下载后解压 阅读全文
posted @ 2018-04-06 09:10 uptothesky 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 永久添加环境变量(影响所有用户) vi /etc/profile 在文件末尾添加即可 export JAVA_HOME=/opt/jdk1.8.0_161/ export JRE_HOME=/opt/jdk1.8.0_161/jre export ZOOKEEPER_HOME=/usr/local/ 阅读全文
posted @ 2018-04-05 20:03 uptothesky 阅读(236) 评论(0) 推荐(0) 编辑