转发:https://www.cnblogs.com/therunningfish/p/6106553.html 命令行报bash:.....:command not found的解决办法(几乎所有命令) 命令行输入命令执行后报“bash:....:command not found”这是由于系统P ...
分类:
其他好文 时间:
2020-07-21 00:56:18
阅读次数:
107
手撸k8s遇到这个问题多半是kubernetes-dashboard还没有装好 输入命令 kubectl get pods --all-namespaces 看到 READY 1/1 说明就装好了 ,如果是0/1 那是还没有装好,国内网速原因,我是10分钟左右就装好了 开启 keberctl pro ...
分类:
Web程序 时间:
2020-07-19 23:55:10
阅读次数:
111
升级系统,安装常用的rpm yum -y update yum -y install wget net-tools nfs-utils lrzsz gcc gcc-c++ make cmake\ libxml2-devel openssl-devel curl curl-devel unzip su ...
分类:
其他好文 时间:
2020-07-19 23:07:25
阅读次数:
97
一、Reading Last weekend, my classmates and I went camping. We found a grassy spot beside a river. We put up our tents and made a campfire. Then, we fis ...
分类:
其他好文 时间:
2020-07-17 14:00:24
阅读次数:
60
安装 vs2015 编译 google protobuf 3.5.1 下载: protobuf 3.5.1 cmake 编译 使用 VS2015开发人员命令提示 进入 protobuf 的 cmake 目录: mkdir building && mkdir debug && mkdir releas ...
分类:
其他好文 时间:
2020-07-17 13:54:58
阅读次数:
77
springcloud 使用eureka无法注入DiscoveryClient,可能因为是导包错误 导包情况 导入正确的DiscoveryClient即可自动注入 参考帖子:Could not autowire. No beans of 'DiscoveryClient' type found. ...
分类:
编程语言 时间:
2020-07-15 15:18:46
阅读次数:
79
问题是什么? 在flask中,使用多线程操作数据库,报错:RuntimeError: No application found . Either work inside a view function or push an application context 报错原因:线程是独立的,相对于fla ...
分类:
移动开发 时间:
2020-07-15 15:04:39
阅读次数:
143
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or ...
分类:
其他好文 时间:
2020-07-14 21:56:23
阅读次数:
98
Found class xxx.xxx.xxx, but interface was expected 项目中日志进行升级,原来的日志是自己封装的,分为 Log - 接口 LogImpl - Log接口的实现 LogFactory - Log的工厂类 升级后同事嫌麻烦,直接将Log改成实现类。变成: ...
分类:
其他好文 时间:
2020-07-14 18:01:35
阅读次数:
121
线上某服务时不时报出如下异常(大约一天二十多次):“Deadlock found when trying to get lock;”。 Oh, My God! 是死锁问题。尽管报错不多,对性能目前看来也无太大影响,但还是需要解决,保不齐哪天成为性能瓶颈。 为了更系统的分析问题,本文将从死锁检测、索引 ...
分类:
数据库 时间:
2020-07-14 16:49:46
阅读次数:
86