jq可以给shell提供json解析功能,但托管在epel仓库 yum -y install epel-release yum clean all yum makecache yum -y install jq 若安装过程遇到如下问题: yum Cannot retrieve metalink fo ...
分类:
其他好文 时间:
2020-07-24 19:06:44
阅读次数:
97
在Zabbix Server服务器上安装oracle-instantclient11.2后,结果使用sqlplus命令时遇到“sqlplus: error while loading shared libraries: libnsl.so.1: cannot open shared object f... ...
分类:
数据库 时间:
2020-07-23 23:19:25
阅读次数:
107
一、报错原因:mysql 8.0 默认使用 caching_sha2_password 身份验证机制:从原来的 mysql_native_password 更改为 caching_sha2_password,但是第三方客户端(如Navicat)暂不支持新的加密方式,故而报错。 二、解决方案:双击打开 ...
分类:
数据库 时间:
2020-07-23 22:14:14
阅读次数:
90
session.auto_start=0 修改为 session.auto_start=1;
output_buffering = Off 修改为 output_buffering = On; ...
分类:
数据库 时间:
2020-07-23 18:56:25
阅读次数:
86
##定义 object.assign用于对象的合并,将源对象(source)的所有可枚举属性复制到目标对象(target)中 let targetObj = { a: 1 }; let sourceObj1 = { b: 2 }; let sourceObj2 = { c: 3 }; Object. ...
分类:
Web程序 时间:
2020-07-23 16:20:10
阅读次数:
79
解决redis启动时的三个警告 第一个警告:The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 第二个警告:o ...
分类:
其他好文 时间:
2020-07-22 16:25:57
阅读次数:
104
有时我们删除容器时,会报如下错误, Error response from daemon: You cannot remove a running container 明明停止的容器,为啥还报错不能删除运行中的容器 此时我们可以用强制删除容器命令。 docker rm -f container_na ...
分类:
其他好文 时间:
2020-07-22 15:58:07
阅读次数:
224
##Cannot convert undefined or null to object 无法将undefined或者null转换为对象 ###错误代码 arr1 = [1, 2, 3]; arr1.push.apply(null, arr2); console.log(arr1); ###控制台报 ...
分类:
其他好文 时间:
2020-07-21 22:47:04
阅读次数:
70
import { createMachine, assign, interpret } from "xstate"; const elBox = document.querySelector("#box"); const elBody = document.body; const assignPoi ...
分类:
Web程序 时间:
2020-07-21 22:21:20
阅读次数:
88