ETCDCTL_API=3现在是默认的。 etcdctl set foo bar Error: unknown command "set" for "etcdctl" 官网写了,因为新版不支持旧版API,建议换成3.3的etcd ...
分类:
其他好文 时间:
2020-06-19 23:17:03
阅读次数:
240
##命令模式: 命令模式(Command)(行动(Action)模式或交易(Transaction)模式。),是一种数据驱动的设计模式,它属于行为型模式,将一个请求封装成一个对象,从而使你可用不同的请求对客户进行参数化,对请求排队或者记录请求日志,以及支持可撤销的操作。 命令模式是对命令的封装。命令 ...
分类:
其他好文 时间:
2020-06-19 22:45:25
阅读次数:
55
1 问题 环境: CentOS7.8.2003 (x86 / 64bit) 版本: RabbitMQ 3.6.15 (Erlang 19.3) 安装方式: 二进制源码压缩安装 2 解决思路 2.1 思路1 关闭进程,并重启 step1 查询mq的进程 ps -ef | grep rabbitmq s ...
分类:
系统相关 时间:
2020-06-19 12:23:47
阅读次数:
130
python 在安装支付宝sdk前 ,需要安装加密模块 pycrypto 2.6.1 执行命令: pip install pycrypto 如果是Windows系统,到这里可能安装出错了,可能出现的错误如下: error: command ‘cl.exe’ failed: No such file ...
分类:
编程语言 时间:
2020-06-19 12:23:31
阅读次数:
130
<button id="button">按我</button> <script> var MacroCommand = function () { return { commandsList: [], add: function (command) { console.log(command); t ...
分类:
其他好文 时间:
2020-06-19 11:45:40
阅读次数:
61
nmcli [OPTIONS...] {help | general | networking | radio | connection | device | agent | monitor} [COMMAND] [ARGUMENTS...] 一:nmcli help 类似于ip,分成很多objec ...
分类:
Web程序 时间:
2020-06-19 00:37:37
阅读次数:
105
http://build.mindspore.cn/job/Check_Pylint/9293/pylint/ CI失败日志 http://build.mindspore.cn/view/MindSpore/job/MindSpore_Gitee_Gate/ https://gitee.com/mi ...
分类:
其他好文 时间:
2020-06-18 21:25:18
阅读次数:
59
启动报错如下 ./rabbitmq-server: line 47: erl: command not found 解决方案1 :在rabbitmq-server 中添加erlang的环境变量 # Lazy initialization of threed pool size - if it was ...
分类:
其他好文 时间:
2020-06-18 21:23:53
阅读次数:
78
docker-compose.yml文件样板: version: "3" services: message-service: image: message-service:latest user-service: image: user-service:latest command: - "--m ...
分类:
其他好文 时间:
2020-06-18 12:33:46
阅读次数:
149
出现这种情况主要是更改了maven的安装目录,报错如下: 解决方法如下: OK。问题解决。 ...
分类:
其他好文 时间:
2020-06-18 11:07:53
阅读次数:
234