摘要: 查看Centos版本 CentOS Linux release 7.7.1908 (Core) passwdyum update -yyum makecacheyum install fail2ban -yyum install epel-release -yyum makecacheyum upd 阅读全文
posted @ 2020-08-05 22:01 阿愿的笔记本 阅读(249) 评论(0) 推荐(0) 编辑
摘要: https://github.com/goproxy/goproxy 日志显示 goproxy.io: 0.046s 410 /github.com/go-redis/redis/@v/v6.15.3+incompatible.mod 网页显示 file does not exist not fou 阅读全文
posted @ 2020-08-05 21:59 阿愿的笔记本 阅读(511) 评论(0) 推荐(1) 编辑
摘要: redis 设置过期时间 -1的问题 阅读全文
posted @ 2020-08-05 21:56 阿愿的笔记本 阅读(84) 评论(1) 推荐(0) 编辑
摘要: 也是线上遇到的问题, 假设nginx配置为 upstream zed { server 192.168.0.1:3000 max_fails=3 fail_timeout=30s; server 192.168.0.2:3000 backup max_fails=3 fail_timeout=30s 阅读全文
posted @ 2020-06-09 13:54 阿愿的笔记本 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 线上调整了下nginx配置后,出现 400 Bad Request The plain HTTP request was sent to HTTPS port 参考链接 https://github.com/alibaba/tengine/issues/854 注意ssl on会将整个virtual 阅读全文
posted @ 2020-06-09 10:08 阿愿的笔记本 阅读(3459) 评论(0) 推荐(0) 编辑
摘要: 在 macOS Catalina 中, 先是 nginx 监听了4000端口, 后写程序监听4000端口竟然没有出错. 接着在 linux 中测试, 同样的程序同样的端口, linux 却报错 然后找到这个问题 https://stackoverflow.com/questions/13726975 阅读全文
posted @ 2020-05-26 14:35 阿愿的笔记本 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 环境 openshift 3.10 redis 5.0.1 理论上同样适用于K8S // 注意: Cluster并不能做到HA 参考链接 https://rancher.com/blog/2019/deploying-redis-cluster/ 实际步骤 oc create -f pv.yaml 阅读全文
posted @ 2020-05-08 22:16 阿愿的笔记本 阅读(444) 评论(0) 推荐(0) 编辑
摘要: import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext cont 阅读全文
posted @ 2020-04-06 20:33 阿愿的笔记本 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 参考地址: https://labs.consol.de/development/2018/01/19/openshift_application_monitoring.html 部署应用 只要代码如下 @Component @Path("/") public class Metrics { pri 阅读全文
posted @ 2020-01-08 11:28 阿愿的笔记本 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 集群模式: 三主三从 pv.yaml apiVersion: v1 kind: PersistentVolume metadata: name: cluster-redis-pv-0 labels: pvname: cluster-redis-pv-0 spec: capacity: storage 阅读全文
posted @ 2019-12-18 11:23 阿愿的笔记本 阅读(532) 评论(0) 推荐(0) 编辑