摘要: 1.大概思路,docker 新启一个mysql5.7 端口映射到3307 2. 导出5.5 的.sql文件,导入5.7中 3.测试通过后,可将5.5关闭。5.7端口改回3306 GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "**"; 坑 阅读全文
posted @ 2018-07-30 15:10 丨Mars 阅读(2125) 评论(0) 推荐(0) 编辑
摘要: 安装zookeeper 安装kafka插件 阅读全文
posted @ 2018-06-22 14:42 丨Mars 阅读(3885) 评论(3) 推荐(1) 编辑
摘要: 1.官方http://elastalert.readthedocs.io/en/latest/ 2.报警规则示例 http://elastalert.readthedocs.io/en/latest/elastalert.html#rule-types admin_asdsa.yaml: | nam 阅读全文
posted @ 2018-06-20 19:02 丨Mars 阅读(2451) 评论(0) 推荐(0) 编辑
摘要: 1.注册github账号 2.注册hub.docker.com账号 3.github新建仓库,并上传DockerFile(From 需要下载的国外镜像,其他的根据需求写就ok) 4. 5.关联github仓库,保证其中有写好的DockerFile 6. 选择你的dockerfile所在的库,然后cr 阅读全文
posted @ 2018-05-21 18:02 丨Mars 阅读(247) 评论(3) 推荐(0) 编辑
摘要: 1.获取client , api-server 加token 或in-cluster方式 2.所有对象均有list update get 等方法 3.对象属性源码追踪,yaml与源码一一对应 4.一些例子https://github.com/kubernetes/examples 5.最近研究clu 阅读全文
posted @ 2018-04-26 17:22 丨Mars 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1.开发文档 https://beego.me/docs/intro/ 2.bee run projectname demo controller 阅读全文
posted @ 2018-04-09 20:19 丨Mars 阅读(343) 评论(0) 推荐(0) 编辑
摘要: docker images 查看镜像 docker search 查找镜像 docker pull 拉取镜像 docker push 推送镜像 docker ps 查看正在运行的容器 docker ps -a 查看历史容器 docker logs -f [id] 查看日志 docker start 阅读全文
posted @ 2018-03-16 14:21 丨Mars 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 按年汇总,统计: select sum(mymoney) as totalmoney, count(*) as sheets from mytable group by date_format(col, '%Y'); 按月汇总,统计: select sum(mymoney) as totalmone 阅读全文
posted @ 2018-01-31 10:27 丨Mars 阅读(4896) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.cnblogs.com/mycifeng/p/6972446.html 本来今天正常往服务器上扔一个tomcat 部署一个项目的, 最后再启动tomcat 的时候 发现项目一直都访问不了,看了一下日志: 1 2 3 4 5 6 7 [root@iz8vbdzx7y7ow 阅读全文
posted @ 2018-01-30 15:07 丨Mars 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 方法二: 阅读全文
posted @ 2017-12-29 14:51 丨Mars 阅读(1553) 评论(0) 推荐(0) 编辑